Home
last modified time | relevance | path

Searched refs:asGraph (Results 1 – 25 of 34) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/graph/
DValueGraphTest.java49 Graph<Integer> asGraph = graph.asGraph(); in validateGraphState() local
50 AbstractGraphTest.validateGraph(asGraph); in validateGraphState()
51 assertThat(graph.nodes()).isEqualTo(asGraph.nodes()); in validateGraphState()
52 assertThat(graph.edges()).isEqualTo(asGraph.edges()); in validateGraphState()
53 assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateGraphState()
54 assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder()); in validateGraphState()
55 assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected()); in validateGraphState()
56 assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateGraphState()
59 assertThat(graph.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateGraphState()
60 assertThat(graph.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateGraphState()
[all …]
DAbstractNetworkTest.java156 Graph<N> asGraph = network.asGraph(); in validateNetwork() local
157 AbstractGraphTest.validateGraph(asGraph); in validateNetwork()
158 assertThat(network.nodes()).isEqualTo(asGraph.nodes()); in validateNetwork()
159 assertThat(network.edges().size()).isAtLeast(asGraph.edges().size()); in validateNetwork()
160 assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateNetwork()
161 assertThat(network.isDirected()).isEqualTo(asGraph.isDirected()); in validateNetwork()
162 assertThat(network.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateNetwork()
171 assertThat(asGraph.edges()).contains(EndpointPair.of(network, nodeU, nodeV)); in validateNetwork()
194 assertThat(network.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateNetwork()
195 assertThat(network.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateNetwork()
[all …]
DEndpointPairTest.java160 directedNetwork.asGraph().edges(), in endpointPair_directedNetwork()
177 undirectedNetwork.asGraph().edges(), in endpointPair_undirectedNetwork()
DImmutableNetworkTest.java35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
DImmutableValueGraphTest.java36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
/external/guava/guava-tests/test/com/google/common/graph/
DValueGraphTest.java51 Graph<Integer> asGraph = graph.asGraph(); in validateGraphState() local
52 AbstractGraphTest.validateGraph(asGraph); in validateGraphState()
53 assertThat(graph.nodes()).isEqualTo(asGraph.nodes()); in validateGraphState()
54 assertThat(graph.edges()).isEqualTo(asGraph.edges()); in validateGraphState()
55 assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateGraphState()
56 assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder()); in validateGraphState()
57 assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected()); in validateGraphState()
58 assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateGraphState()
61 assertThat(graph.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateGraphState()
62 assertThat(graph.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateGraphState()
[all …]
DAbstractNetworkTest.java156 Graph<N> asGraph = network.asGraph(); in validateNetwork() local
157 AbstractGraphTest.validateGraph(asGraph); in validateNetwork()
158 assertThat(network.nodes()).isEqualTo(asGraph.nodes()); in validateNetwork()
159 assertThat(network.edges().size()).isAtLeast(asGraph.edges().size()); in validateNetwork()
160 assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateNetwork()
161 assertThat(network.isDirected()).isEqualTo(asGraph.isDirected()); in validateNetwork()
162 assertThat(network.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateNetwork()
171 assertThat(asGraph.edges()).contains(EndpointPair.of(network, nodeU, nodeV)); in validateNetwork()
194 assertThat(network.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateNetwork()
195 assertThat(network.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateNetwork()
[all …]
DEndpointPairTest.java160 directedNetwork.asGraph().edges(), in endpointPair_directedNetwork()
177 undirectedNetwork.asGraph().edges(), in endpointPair_undirectedNetwork()
DImmutableNetworkTest.java35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
DImmutableValueGraphTest.java36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
/external/guava/android/guava/src/com/google/common/graph/
DImmutableNetwork.java74 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableNetwork
75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
DValueGraph.java127 Graph<N> asGraph(); in asGraph() method
DNetwork.java125 Graph<N> asGraph(); in asGraph() method
DAbstractValueGraph.java43 public Graph<N> asGraph() { in asGraph() method in AbstractValueGraph
DImmutableValueGraph.java75 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableValueGraph
DGraphs.java89 && network.edges().size() > network.asGraph().edges().size()) { in hasCycle()
92 return hasCycle(network.asGraph()); in hasCycle()
DAbstractNetwork.java55 public Graph<N> asGraph() { in asGraph() method in AbstractNetwork
/external/guava/guava/src/com/google/common/graph/
DImmutableNetwork.java74 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableNetwork
75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
DValueGraph.java128 Graph<N> asGraph(); in asGraph() method
DNetwork.java126 Graph<N> asGraph(); in asGraph() method
DAbstractValueGraph.java44 public Graph<N> asGraph() { in asGraph() method in AbstractValueGraph
DImmutableValueGraph.java75 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableValueGraph
DGraphs.java90 && network.edges().size() > network.asGraph().edges().size()) { in hasCycle()
93 return hasCycle(network.asGraph()); in hasCycle()
DAbstractNetwork.java56 public Graph<N> asGraph() { in asGraph() method in AbstractNetwork
/external/dagger2/java/dagger/model/
DBindingGraph.java239 dependencyGraph, reachableNodes(transpose(dependencyGraph).asGraph(), binding)); in entryPointEdgesDependingOnBinding()

12