Home
last modified time | relevance | path

Searched refs:allowsSelfLoops (Results 1 – 25 of 101) sorted by relevance

12345

/external/guava/android/guava-tests/test/com/google/common/graph/
DStandardImmutableUndirectedGraphTest.java36 private final boolean allowsSelfLoops; field in StandardImmutableUndirectedGraphTest
39 public StandardImmutableUndirectedGraphTest(boolean allowsSelfLoops) { in StandardImmutableUndirectedGraphTest() argument
40 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableUndirectedGraphTest()
45 graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
DStandardImmutableDirectedGraphTest.java35 private final boolean allowsSelfLoops; field in StandardImmutableDirectedGraphTest
38 public StandardImmutableDirectedGraphTest(boolean allowsSelfLoops) { in StandardImmutableDirectedGraphTest() argument
39 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableDirectedGraphTest()
44 graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
DStandardMutableDirectedGraphTest.java41 private final boolean allowsSelfLoops; field in StandardMutableDirectedGraphTest
45 boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { in StandardMutableDirectedGraphTest() argument
46 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableDirectedGraphTest()
53 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DStandardMutableUndirectedGraphTest.java41 private final boolean allowsSelfLoops; field in StandardMutableUndirectedGraphTest
45 boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { in StandardMutableUndirectedGraphTest() argument
46 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableUndirectedGraphTest()
53 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DStandardMutableDirectedNetworkTest.java44 private final boolean allowsSelfLoops; field in StandardMutableDirectedNetworkTest
50 boolean allowsSelfLoops, in StandardMutableDirectedNetworkTest() argument
54 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableDirectedNetworkTest()
63 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DStandardMutableUndirectedNetworkTest.java45 private final boolean allowsSelfLoops; field in StandardMutableUndirectedNetworkTest
51 boolean allowsSelfLoops, in StandardMutableUndirectedNetworkTest() argument
55 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableUndirectedNetworkTest()
64 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DStandardImmutableDirectedNetworkTest.java44 private final boolean allowsSelfLoops; field in StandardImmutableDirectedNetworkTest
52 boolean allowsSelfLoops, in StandardImmutableDirectedNetworkTest() argument
56 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableDirectedNetworkTest()
66 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DTestUtil.java53 assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops()); in assertStronglyEquivalent()
61 assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops()); in assertStronglyEquivalent()
70 assertThat(networkA.allowsSelfLoops()).isEqualTo(networkB.allowsSelfLoops()); in assertStronglyEquivalent()
DGraphsTest.java67 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedGraph()
73 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedGraph()
88 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedGraph()
94 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedGraph()
108 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedPathGraph()
113 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedPathGraph()
131 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedPathGraph()
136 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedPathGraph()
153 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedCycleGraph()
159 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedCycleGraph()
[all …]
DImmutableNetworkTest.java55 NetworkBuilder.directed().allowsSelfLoops(true).build(); in edgesConnecting_directed()
68 NetworkBuilder.undirected().allowsSelfLoops(true).build(); in edgesConnecting_undirected()
82 .allowsSelfLoops(true) in immutableNetworkBuilder_appliesNetworkBuilderConfig()
88 assertThat(emptyNetwork.allowsSelfLoops()).isTrue(); in immutableNetworkBuilder_appliesNetworkBuilderConfig()
101 .allowsSelfLoops(true) in immutableNetworkBuilder_copiesNetworkBuilder()
107 networkBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableNetworkBuilder_copiesNetworkBuilder()
112 assertThat(emptyNetwork.allowsSelfLoops()).isTrue(); in immutableNetworkBuilder_copiesNetworkBuilder()
/external/guava/guava-tests/test/com/google/common/graph/
DStandardImmutableDirectedGraphTest.java35 private final boolean allowsSelfLoops; field in StandardImmutableDirectedGraphTest
38 public StandardImmutableDirectedGraphTest(boolean allowsSelfLoops) { in StandardImmutableDirectedGraphTest() argument
39 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableDirectedGraphTest()
44 graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
DStandardImmutableUndirectedGraphTest.java36 private final boolean allowsSelfLoops; field in StandardImmutableUndirectedGraphTest
39 public StandardImmutableUndirectedGraphTest(boolean allowsSelfLoops) { in StandardImmutableUndirectedGraphTest() argument
40 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableUndirectedGraphTest()
45 graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
DStandardMutableDirectedGraphTest.java41 private final boolean allowsSelfLoops; field in StandardMutableDirectedGraphTest
45 boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { in StandardMutableDirectedGraphTest() argument
46 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableDirectedGraphTest()
53 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DStandardMutableUndirectedGraphTest.java41 private final boolean allowsSelfLoops; field in StandardMutableUndirectedGraphTest
45 boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { in StandardMutableUndirectedGraphTest() argument
46 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableUndirectedGraphTest()
53 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DStandardMutableUndirectedNetworkTest.java45 private final boolean allowsSelfLoops; field in StandardMutableUndirectedNetworkTest
51 boolean allowsSelfLoops, in StandardMutableUndirectedNetworkTest() argument
55 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableUndirectedNetworkTest()
64 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DStandardImmutableDirectedNetworkTest.java44 private final boolean allowsSelfLoops; field in StandardImmutableDirectedNetworkTest
52 boolean allowsSelfLoops, in StandardImmutableDirectedNetworkTest() argument
56 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableDirectedNetworkTest()
66 .allowsSelfLoops(allowsSelfLoops) in createGraph()
DTestUtil.java53 assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops()); in assertStronglyEquivalent()
61 assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops()); in assertStronglyEquivalent()
70 assertThat(networkA.allowsSelfLoops()).isEqualTo(networkB.allowsSelfLoops()); in assertStronglyEquivalent()
DGraphsTest.java67 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedGraph()
73 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedGraph()
88 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedGraph()
94 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedGraph()
108 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedPathGraph()
113 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedPathGraph()
131 GraphBuilder.undirected().allowsSelfLoops(false).build(); in transitiveClosure_undirectedPathGraph()
136 MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build(); in transitiveClosure_undirectedPathGraph()
153 MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build(); in transitiveClosure_directedCycleGraph()
159 MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); in transitiveClosure_directedCycleGraph()
[all …]
DImmutableNetworkTest.java55 NetworkBuilder.directed().allowsSelfLoops(true).build(); in edgesConnecting_directed()
68 NetworkBuilder.undirected().allowsSelfLoops(true).build(); in edgesConnecting_undirected()
82 .allowsSelfLoops(true) in immutableNetworkBuilder_appliesNetworkBuilderConfig()
88 assertThat(emptyNetwork.allowsSelfLoops()).isTrue(); in immutableNetworkBuilder_appliesNetworkBuilderConfig()
101 .allowsSelfLoops(true) in immutableNetworkBuilder_copiesNetworkBuilder()
107 networkBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableNetworkBuilder_copiesNetworkBuilder()
112 assertThat(emptyNetwork.allowsSelfLoops()).isTrue(); in immutableNetworkBuilder_copiesNetworkBuilder()
/external/guava/guava/src/com/google/common/graph/
DGraphBuilder.java93 .allowsSelfLoops(graph.allowsSelfLoops()) in from()
120 public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() argument
121 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
178 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
DValueGraphBuilder.java96 .allowsSelfLoops(graph.allowsSelfLoops()) in from()
124 public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() method in ValueGraphBuilder
125 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
185 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
DNetworkBuilder.java101 .allowsSelfLoops(network.allowsSelfLoops()) in from()
136 public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() method in NetworkBuilder
137 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
/external/guava/android/guava/src/com/google/common/graph/
DGraphBuilder.java93 .allowsSelfLoops(graph.allowsSelfLoops()) in from()
120 public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() method in GraphBuilder
121 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
178 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
DValueGraphBuilder.java96 .allowsSelfLoops(graph.allowsSelfLoops()) in from()
124 public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() argument
125 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
185 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
DNetworkBuilder.java101 .allowsSelfLoops(network.allowsSelfLoops()) in from()
136 public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() method in NetworkBuilder
137 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()

12345