Home
last modified time | relevance | path

Searched refs:undirectedNetwork (Results 1 – 6 of 6) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/graph/
DEndpointPairTest.java169 MutableNetwork<Integer, String> undirectedNetwork = in endpointPair_undirectedNetwork() local
171 undirectedNetwork.addNode(N0); in endpointPair_undirectedNetwork()
172 undirectedNetwork.addEdge(N1, N2, E12); in endpointPair_undirectedNetwork()
173 undirectedNetwork.addEdge(N2, N1, E12_A); // adds parallel edge, won't be in Graph edges in endpointPair_undirectedNetwork()
174 undirectedNetwork.addEdge(N1, N3, E13); in endpointPair_undirectedNetwork()
175 undirectedNetwork.addEdge(N4, N4, E44); in endpointPair_undirectedNetwork()
177 undirectedNetwork.asGraph().edges(), in endpointPair_undirectedNetwork()
DGraphPropertiesTest.java38 Network<Integer, String> undirectedNetwork; field in GraphPropertiesTest
56 undirectedNetwork = mutableUndirectedNetwork; in init()
165 assertThat(hasCycle(undirectedNetwork)).isTrue(); // cyclic in undirected case in hasCycle_twoParallelEdges()
177 assertThat(hasCycle(undirectedNetwork)).isTrue(); in hasCycle_cyclicMultigraph()
DNetworkMutationTest.java45 public void undirectedNetwork() { in undirectedNetwork() method in NetworkMutationTest
/external/guava/guava-tests/test/com/google/common/graph/
DEndpointPairTest.java169 MutableNetwork<Integer, String> undirectedNetwork = in endpointPair_undirectedNetwork() local
171 undirectedNetwork.addNode(N0); in endpointPair_undirectedNetwork()
172 undirectedNetwork.addEdge(N1, N2, E12); in endpointPair_undirectedNetwork()
173 undirectedNetwork.addEdge(N2, N1, E12_A); // adds parallel edge, won't be in Graph edges in endpointPair_undirectedNetwork()
174 undirectedNetwork.addEdge(N1, N3, E13); in endpointPair_undirectedNetwork()
175 undirectedNetwork.addEdge(N4, N4, E44); in endpointPair_undirectedNetwork()
177 undirectedNetwork.asGraph().edges(), in endpointPair_undirectedNetwork()
DGraphPropertiesTest.java38 Network<Integer, String> undirectedNetwork; field in GraphPropertiesTest
56 undirectedNetwork = mutableUndirectedNetwork; in init()
165 assertThat(hasCycle(undirectedNetwork)).isTrue(); // cyclic in undirected case in hasCycle_twoParallelEdges()
177 assertThat(hasCycle(undirectedNetwork)).isTrue(); in hasCycle_cyclicMultigraph()
DNetworkMutationTest.java45 public void undirectedNetwork() { in undirectedNetwork() method in NetworkMutationTest