Home
last modified time | relevance | path

Searched refs:incidentNodes (Results 1 – 25 of 41) sorted by relevance

12

/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java260 EndpointPair<Node> incidentNodes = bindingGraph.network().incidentNodes(edge); in dotEdge() local
261 DotEdge dotEdge = new DotEdge(nodeId(incidentNodes.source()), nodeId(incidentNodes.target())); in dotEdge()
268 dotEdge.addAttribute("lhead", clusterName(incidentNodes.target().componentPath())); in dotEdge()
269 dotEdge.addAttribute("ltail", clusterName(incidentNodes.source().componentPath())); in dotEdge()
273 dotEdge.addAttribute("lhead", clusterName(incidentNodes.target().componentPath())); in dotEdge()
/external/guava/android/guava-tests/test/com/google/common/graph/
DAbstractStandardDirectedNetworkTest.java41 EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge); in validateSourceAndTarget()
47 EndpointPair<Integer> endpointPair = network.incidentNodes(outEdge); in validateSourceAndTarget()
254 assertThat(network.incidentNodes(E12).source()).isEqualTo(N1); in incidentNodes_oneEdge()
255 assertThat(network.incidentNodes(E12).target()).isEqualTo(N2); in incidentNodes_oneEdge()
302 assertThat(network.incidentNodes(E12).source()).isEqualTo(N1); in source_oneEdge()
308 network.incidentNodes(EDGE_NOT_IN_GRAPH).source(); in source_edgeNotInGraph()
318 assertThat(network.incidentNodes(E12).target()).isEqualTo(N2); in target_oneEdge()
324 network.incidentNodes(EDGE_NOT_IN_GRAPH).target(); in target_edgeNotInGraph()
368 assertThat(network.incidentNodes(E11).source()).isEqualTo(N1); in incidentNodes_selfLoop()
369 assertThat(network.incidentNodes(E11).target()).isEqualTo(N1); in incidentNodes_selfLoop()
[all …]
DAbstractNetworkTest.java168 EndpointPair<N> endpointPair = network.incidentNodes(edge); in validateNetwork()
182 for (N incidentNode : network.incidentNodes(edge)) { in validateNetwork()
253 assertThat(network.incidentNodes(edge)) in validateNetwork()
284 assertThat(network.incidentNodes(incidentEdge)).contains(node); in validateNetwork()
289 assertThat(network.outEdges(network.incidentNodes(inEdge).adjacentNode(node))) in validateNetwork()
292 assertThat(network.incidentNodes(inEdge).target()).isEqualTo(node); in validateNetwork()
298 assertThat(network.inEdges(network.incidentNodes(outEdge).adjacentNode(node))) in validateNetwork()
301 assertThat(network.incidentNodes(outEdge).source()).isEqualTo(node); in validateNetwork()
429 assertThat(network.incidentNodes(E12)).containsExactly(N1, N2); in incidentNodes_oneEdge()
435 network.incidentNodes(EDGE_NOT_IN_GRAPH); in incidentNodes_edgeNotInGraph()
[all …]
DImmutableNetworkTest.java132 assertThat(network.incidentNodes(10)).isEqualTo(EndpointPair.ordered("A", "B")); in immutableNetworkBuilder_putEdgeFromNodes()
145 assertThat(network.incidentNodes(10)).isEqualTo(EndpointPair.ordered("A", "B")); in immutableNetworkBuilder_putEdgeFromEndpointPair()
DDefaultNetworkImplementationsTest.java244 public EndpointPair<N> incidentNodes(E edge) { in incidentNodes() method in DefaultNetworkImplementationsTest.NetworkForTest
245 return network.incidentNodes(edge); in incidentNodes()
/external/guava/guava-tests/test/com/google/common/graph/
DAbstractStandardDirectedNetworkTest.java42 EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge); in validateSourceAndTarget()
48 EndpointPair<Integer> endpointPair = network.incidentNodes(outEdge); in validateSourceAndTarget()
266 assertThat(network.incidentNodes(E12).source()).isEqualTo(N1); in incidentNodes_oneEdge()
267 assertThat(network.incidentNodes(E12).target()).isEqualTo(N2); in incidentNodes_oneEdge()
314 assertThat(network.incidentNodes(E12).source()).isEqualTo(N1); in source_oneEdge()
320 network.incidentNodes(EDGE_NOT_IN_GRAPH).source(); in source_edgeNotInGraph()
330 assertThat(network.incidentNodes(E12).target()).isEqualTo(N2); in target_oneEdge()
336 network.incidentNodes(EDGE_NOT_IN_GRAPH).target(); in target_edgeNotInGraph()
380 assertThat(network.incidentNodes(E11).source()).isEqualTo(N1); in incidentNodes_selfLoop()
381 assertThat(network.incidentNodes(E11).target()).isEqualTo(N1); in incidentNodes_selfLoop()
[all …]
DAbstractNetworkTest.java168 EndpointPair<N> endpointPair = network.incidentNodes(edge); in validateNetwork()
182 for (N incidentNode : network.incidentNodes(edge)) { in validateNetwork()
260 assertThat(network.incidentNodes(edge)) in validateNetwork()
291 assertThat(network.incidentNodes(incidentEdge)).contains(node); in validateNetwork()
296 assertThat(network.outEdges(network.incidentNodes(inEdge).adjacentNode(node))) in validateNetwork()
299 assertThat(network.incidentNodes(inEdge).target()).isEqualTo(node); in validateNetwork()
305 assertThat(network.inEdges(network.incidentNodes(outEdge).adjacentNode(node))) in validateNetwork()
308 assertThat(network.incidentNodes(outEdge).source()).isEqualTo(node); in validateNetwork()
436 assertThat(network.incidentNodes(E12)).containsExactly(N1, N2); in incidentNodes_oneEdge()
442 network.incidentNodes(EDGE_NOT_IN_GRAPH); in incidentNodes_edgeNotInGraph()
[all …]
DImmutableNetworkTest.java132 assertThat(network.incidentNodes(10)).isEqualTo(EndpointPair.ordered("A", "B")); in immutableNetworkBuilder_putEdgeFromNodes()
145 assertThat(network.incidentNodes(10)).isEqualTo(EndpointPair.ordered("A", "B")); in immutableNetworkBuilder_putEdgeFromEndpointPair()
DDefaultNetworkImplementationsTest.java244 public EndpointPair<N> incidentNodes(E edge) { in incidentNodes() method in DefaultNetworkImplementationsTest.NetworkForTest
245 return network.incidentNodes(edge); in incidentNodes()
/external/guava/android/guava/src/com/google/common/graph/
DImmutableNetwork.java95 edgeToReferenceNode.put(edge, network.incidentNodes(edge).nodeU()); in getEdgeToReferenceNode()
121 return network.incidentNodes(edge).source(); in sourceNodeFn()
130 return network.incidentNodes(edge).target();
139 return network.incidentNodes(edge).adjacentNode(node);
DAbstractNetwork.java77 return incidentNodes(edge); in asGraph()
166 EndpointPair<N> endpointPair = incidentNodes(edge); // Verifies that edge is in this network.
191 return incidentNodes(edge).adjacentNode(nodePresent).equals(nodeToCheck);
286 return network.incidentNodes(edge);
DForwardingNetwork.java98 public EndpointPair<N> incidentNodes(E edge) { in incidentNodes() method in ForwardingNetwork
99 return delegate().incidentNodes(edge); in incidentNodes()
DGraphs.java420 public EndpointPair<N> incidentNodes(E edge) {
421 EndpointPair<N> endpointPair = delegate().incidentNodes(edge);
530 N successorNode = network.incidentNodes(edge).adjacentNode(node);
576 EndpointPair<N> endpointPair = network.incidentNodes(edge);
DNetwork.java269 EndpointPair<N> incidentNodes(E edge); in incidentNodes() method
/external/guava/guava/src/com/google/common/graph/
DImmutableNetwork.java95 edgeToReferenceNode.put(edge, network.incidentNodes(edge).nodeU()); in getEdgeToReferenceNode()
121 return network.incidentNodes(edge).source(); in sourceNodeFn()
130 return network.incidentNodes(edge).target();
139 return network.incidentNodes(edge).adjacentNode(node);
DAbstractNetwork.java78 return incidentNodes(edge); in asGraph()
167 EndpointPair<N> endpointPair = incidentNodes(edge); // Verifies that edge is in this network.
192 return incidentNodes(edge).adjacentNode(nodePresent).equals(nodeToCheck);
296 return network.incidentNodes(edge);
DForwardingNetwork.java99 public EndpointPair<N> incidentNodes(E edge) { in incidentNodes() method in ForwardingNetwork
100 return delegate().incidentNodes(edge); in incidentNodes()
DGraphs.java426 public EndpointPair<N> incidentNodes(E edge) {
427 EndpointPair<N> endpointPair = delegate().incidentNodes(edge);
546 N successorNode = network.incidentNodes(edge).adjacentNode(node);
592 EndpointPair<N> endpointPair = network.incidentNodes(edge);
DNetwork.java270 EndpointPair<N> incidentNodes(E edge); in incidentNodes() method
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DSubcomponentFactoryMethodValidator.java92 ComponentNode child = (ComponentNode) graph.network().incidentNodes(edge).target(); in findMissingModules()
112 ComponentNode parent = (ComponentNode) bindingGraph.network().incidentNodes(edge).source(); in subgraphFactoryMethodParameters()
152 .incidentNodes(edge) in reportMissingModuleParameters()
DProvisionDependencyOnProducerBindingValidator.java94 Node source = bindingGraph.network().incidentNodes(dependency).source(); in bindingRequestingDependency()
DDependencyCycleValidator.java209 Node target = graph.network().incidentNodes(edge).target(); in breaksCycle()
261 EndpointPair<Node> endpoints = bindingGraph.network().incidentNodes(edge); in nonCycleBreakingDependencyGraph()
/external/dagger2/java/dagger/model/
DBindingGraph.java226 .map(edge -> (MaybeBinding) network().incidentNodes(edge).target()) in entryPointBindings()
286 EndpointPair<Node> endpoints = network().incidentNodes(edge); in dependencyGraph()
/external/dagger2/java/dagger/internal/codegen/kythe/
DDaggerKythePlugin.java91 Node node = graph.network().incidentNodes(dependencyEdge).target(); in addDependencyEdges()
116 Node outNode = graph.network().incidentNodes(outEdge).target(); in addEdgesForDependencyRequest()
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelValidationPlugin.kt50 val pair: EndpointPair<Node> = network.incidentNodes(edge) in <lambda>()

12