Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/graph/
DEndpointPairTest.java152 MutableNetwork<Integer, String> directedNetwork = in endpointPair_directedNetwork() local
154 directedNetwork.addNode(N0); in endpointPair_directedNetwork()
155 directedNetwork.addEdge(N1, N2, E12); in endpointPair_directedNetwork()
156 directedNetwork.addEdge(N2, N1, E21); in endpointPair_directedNetwork()
157 directedNetwork.addEdge(N1, N3, E13); in endpointPair_directedNetwork()
158 directedNetwork.addEdge(N4, N4, E44); in endpointPair_directedNetwork()
160 directedNetwork.asGraph().edges(), in endpointPair_directedNetwork()
DGraphPropertiesTest.java37 Network<Integer, String> directedNetwork; field in GraphPropertiesTest
55 directedNetwork = mutableDirectedNetwork; in init()
164 assertThat(hasCycle(directedNetwork)).isFalse(); in hasCycle_twoParallelEdges()
176 assertThat(hasCycle(directedNetwork)).isTrue(); in hasCycle_cyclicMultigraph()
DNetworkMutationTest.java40 public void directedNetwork() { in directedNetwork() method in NetworkMutationTest
/external/guava/guava-tests/test/com/google/common/graph/
DEndpointPairTest.java152 MutableNetwork<Integer, String> directedNetwork = in endpointPair_directedNetwork() local
154 directedNetwork.addNode(N0); in endpointPair_directedNetwork()
155 directedNetwork.addEdge(N1, N2, E12); in endpointPair_directedNetwork()
156 directedNetwork.addEdge(N2, N1, E21); in endpointPair_directedNetwork()
157 directedNetwork.addEdge(N1, N3, E13); in endpointPair_directedNetwork()
158 directedNetwork.addEdge(N4, N4, E44); in endpointPair_directedNetwork()
160 directedNetwork.asGraph().edges(), in endpointPair_directedNetwork()
DGraphPropertiesTest.java37 Network<Integer, String> directedNetwork; field in GraphPropertiesTest
55 directedNetwork = mutableDirectedNetwork; in init()
164 assertThat(hasCycle(directedNetwork)).isFalse(); in hasCycle_twoParallelEdges()
176 assertThat(hasCycle(directedNetwork)).isTrue(); in hasCycle_cyclicMultigraph()
DNetworkMutationTest.java40 public void directedNetwork() { in directedNetwork() method in NetworkMutationTest