Home
last modified time | relevance | path

Searched refs:allowsParallelEdges (Results 1 – 25 of 50) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/graph/
DStandardMutableDirectedNetworkTest.java45 private final boolean allowsParallelEdges; field in StandardMutableDirectedNetworkTest
51 boolean allowsParallelEdges, in StandardMutableDirectedNetworkTest() argument
55 this.allowsParallelEdges = allowsParallelEdges; in StandardMutableDirectedNetworkTest()
64 .allowsParallelEdges(allowsParallelEdges) in createGraph()
DStandardMutableUndirectedNetworkTest.java46 private final boolean allowsParallelEdges; field in StandardMutableUndirectedNetworkTest
52 boolean allowsParallelEdges, in StandardMutableUndirectedNetworkTest() argument
56 this.allowsParallelEdges = allowsParallelEdges; in StandardMutableUndirectedNetworkTest()
65 .allowsParallelEdges(allowsParallelEdges) in createGraph()
DStandardImmutableDirectedNetworkTest.java45 private final boolean allowsParallelEdges; field in StandardImmutableDirectedNetworkTest
53 boolean allowsParallelEdges, in StandardImmutableDirectedNetworkTest() argument
57 this.allowsParallelEdges = allowsParallelEdges; in StandardImmutableDirectedNetworkTest()
67 .allowsParallelEdges(allowsParallelEdges) in createGraph()
DNetworkEquivalenceTest.java145 .allowsParallelEdges(!network.allowsParallelEdges()) in equivalent_propertiesDiffer()
158 NetworkBuilder.from(network).allowsParallelEdges(true); in equivalent_edgeAddOrdersDiffer()
DTestUtil.java69 assertThat(networkA.allowsParallelEdges()).isEqualTo(networkB.allowsParallelEdges()); in assertStronglyEquivalent()
DAbstractNetworkTest.java148 assertThat(networkString).contains("allowsParallelEdges: " + network.allowsParallelEdges()); in validateNetwork()
243 if (!network.allowsParallelEdges()) { in validateNetwork()
493 assume().that(network.allowsParallelEdges()).isTrue(); in adjacentEdges_parallelEdges()
536 assume().that(network.allowsParallelEdges()).isTrue(); in edgesConnecting_parallelEdges_directed()
550 assume().that(network.allowsParallelEdges()).isTrue(); in edgesConnecting_parallelEdges_undirected()
563 assume().that(network.allowsParallelEdges()).isTrue(); in edgesConnecting_parallelSelfLoopEdges()
763 assume().that(network.allowsParallelEdges()).isTrue(); in removeEdge_parallelEdge()
774 assume().that(network.allowsParallelEdges()).isTrue(); in removeEdge_parallelSelfLoopEdge()
DDefaultNetworkImplementationsTest.java77 network = builder.allowsSelfLoops(true).allowsParallelEdges(true).build(); in setUp()
194 public boolean allowsParallelEdges() { in allowsParallelEdges() method in DefaultNetworkImplementationsTest.NetworkForTest
195 return network.allowsParallelEdges(); in allowsParallelEdges()
DGraphPropertiesTest.java51 NetworkBuilder.directed().allowsParallelEdges(true).allowsSelfLoops(true).build(); in init()
53 NetworkBuilder.undirected().allowsParallelEdges(true).allowsSelfLoops(true).build(); in init()
/external/guava/guava-tests/test/com/google/common/graph/
DStandardMutableUndirectedNetworkTest.java46 private final boolean allowsParallelEdges; field in StandardMutableUndirectedNetworkTest
52 boolean allowsParallelEdges, in StandardMutableUndirectedNetworkTest() argument
56 this.allowsParallelEdges = allowsParallelEdges; in StandardMutableUndirectedNetworkTest()
65 .allowsParallelEdges(allowsParallelEdges) in createGraph()
DStandardImmutableDirectedNetworkTest.java45 private final boolean allowsParallelEdges; field in StandardImmutableDirectedNetworkTest
53 boolean allowsParallelEdges, in StandardImmutableDirectedNetworkTest() argument
57 this.allowsParallelEdges = allowsParallelEdges; in StandardImmutableDirectedNetworkTest()
67 .allowsParallelEdges(allowsParallelEdges) in createGraph()
DNetworkEquivalenceTest.java145 .allowsParallelEdges(!network.allowsParallelEdges()) in equivalent_propertiesDiffer()
158 NetworkBuilder.from(network).allowsParallelEdges(true); in equivalent_edgeAddOrdersDiffer()
DTestUtil.java69 assertThat(networkA.allowsParallelEdges()).isEqualTo(networkB.allowsParallelEdges()); in assertStronglyEquivalent()
DAbstractNetworkTest.java148 assertThat(networkString).contains("allowsParallelEdges: " + network.allowsParallelEdges()); in validateNetwork()
250 if (!network.allowsParallelEdges()) { in validateNetwork()
500 assume().that(network.allowsParallelEdges()).isTrue(); in adjacentEdges_parallelEdges()
543 assume().that(network.allowsParallelEdges()).isTrue(); in edgesConnecting_parallelEdges_directed()
557 assume().that(network.allowsParallelEdges()).isTrue(); in edgesConnecting_parallelEdges_undirected()
570 assume().that(network.allowsParallelEdges()).isTrue(); in edgesConnecting_parallelSelfLoopEdges()
770 assume().that(network.allowsParallelEdges()).isTrue(); in removeEdge_parallelEdge()
781 assume().that(network.allowsParallelEdges()).isTrue(); in removeEdge_parallelSelfLoopEdge()
DDefaultNetworkImplementationsTest.java77 network = builder.allowsSelfLoops(true).allowsParallelEdges(true).build(); in setUp()
194 public boolean allowsParallelEdges() { in allowsParallelEdges() method in DefaultNetworkImplementationsTest.NetworkForTest
195 return network.allowsParallelEdges(); in allowsParallelEdges()
DGraphPropertiesTest.java51 NetworkBuilder.directed().allowsParallelEdges(true).allowsSelfLoops(true).build(); in init()
53 NetworkBuilder.undirected().allowsParallelEdges(true).allowsSelfLoops(true).build(); in init()
/external/guava/guava/src/com/google/common/graph/
DNetworkBuilder.java71 boolean allowsParallelEdges = false; field in NetworkBuilder
100 .allowsParallelEdges(network.allowsParallelEdges()) in from()
124 public NetworkBuilder<N, E> allowsParallelEdges(boolean allowsParallelEdges) { in allowsParallelEdges() method in NetworkBuilder
125 this.allowsParallelEdges = allowsParallelEdges; in allowsParallelEdges()
DStandardNetwork.java53 private final boolean allowsParallelEdges; field in StandardNetwork
82 this.allowsParallelEdges = builder.allowsParallelEdges; in StandardNetwork()
111 public boolean allowsParallelEdges() { in allowsParallelEdges() method in StandardNetwork
112 return allowsParallelEdges; in allowsParallelEdges()
DStandardMutableNetwork.java94 if (!allowsParallelEdges()) { in addEdge()
166 ? allowsParallelEdges() in newConnections()
169 : allowsParallelEdges() in newConnections()
DForwardingNetwork.java49 public boolean allowsParallelEdges() { in allowsParallelEdges() method in ForwardingNetwork
50 return delegate().allowsParallelEdges(); in allowsParallelEdges()
DImmutableNetwork.java105 return network.allowsParallelEdges() in connectionsOf()
111 return network.allowsParallelEdges() in connectionsOf()
/external/guava/android/guava/src/com/google/common/graph/
DNetworkBuilder.java71 boolean allowsParallelEdges = false; field in NetworkBuilder
100 .allowsParallelEdges(network.allowsParallelEdges()) in from()
124 public NetworkBuilder<N, E> allowsParallelEdges(boolean allowsParallelEdges) { in allowsParallelEdges() method in NetworkBuilder
125 this.allowsParallelEdges = allowsParallelEdges; in allowsParallelEdges()
DStandardNetwork.java53 private final boolean allowsParallelEdges; field in StandardNetwork
82 this.allowsParallelEdges = builder.allowsParallelEdges; in StandardNetwork()
111 public boolean allowsParallelEdges() { in allowsParallelEdges() method in StandardNetwork
112 return allowsParallelEdges; in allowsParallelEdges()
DStandardMutableNetwork.java94 if (!allowsParallelEdges()) { in addEdge()
166 ? allowsParallelEdges() in newConnections()
169 : allowsParallelEdges() in newConnections()
DForwardingNetwork.java48 public boolean allowsParallelEdges() { in allowsParallelEdges() method in ForwardingNetwork
49 return delegate().allowsParallelEdges(); in allowsParallelEdges()
DImmutableNetwork.java105 return network.allowsParallelEdges() in connectionsOf()
111 return network.allowsParallelEdges() in connectionsOf()

12