/external/guava/android/guava-tests/test/com/google/common/graph/ |
D | StandardImmutableUndirectedGraphTest.java | 36 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()
|
D | StandardImmutableDirectedGraphTest.java | 35 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()
|
D | StandardMutableDirectedGraphTest.java | 41 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()
|
D | StandardMutableUndirectedGraphTest.java | 41 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()
|
D | StandardMutableDirectedNetworkTest.java | 44 private final boolean allowsSelfLoops; field in StandardMutableDirectedNetworkTest 50 boolean allowsSelfLoops, in StandardMutableDirectedNetworkTest() argument 54 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableDirectedNetworkTest() 63 .allowsSelfLoops(allowsSelfLoops) in createGraph()
|
D | StandardMutableUndirectedNetworkTest.java | 45 private final boolean allowsSelfLoops; field in StandardMutableUndirectedNetworkTest 51 boolean allowsSelfLoops, in StandardMutableUndirectedNetworkTest() argument 55 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableUndirectedNetworkTest() 64 .allowsSelfLoops(allowsSelfLoops) in createGraph()
|
D | StandardImmutableDirectedNetworkTest.java | 44 private final boolean allowsSelfLoops; field in StandardImmutableDirectedNetworkTest 52 boolean allowsSelfLoops, in StandardImmutableDirectedNetworkTest() argument 56 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableDirectedNetworkTest() 66 .allowsSelfLoops(allowsSelfLoops) in createGraph()
|
D | TestUtil.java | 53 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()
|
D | GraphsTest.java | 67 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 …]
|
D | ImmutableNetworkTest.java | 55 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/ |
D | StandardImmutableDirectedGraphTest.java | 35 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()
|
D | StandardImmutableUndirectedGraphTest.java | 36 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()
|
D | StandardMutableDirectedGraphTest.java | 41 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()
|
D | StandardMutableUndirectedGraphTest.java | 41 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()
|
D | StandardMutableUndirectedNetworkTest.java | 45 private final boolean allowsSelfLoops; field in StandardMutableUndirectedNetworkTest 51 boolean allowsSelfLoops, in StandardMutableUndirectedNetworkTest() argument 55 this.allowsSelfLoops = allowsSelfLoops; in StandardMutableUndirectedNetworkTest() 64 .allowsSelfLoops(allowsSelfLoops) in createGraph()
|
D | StandardImmutableDirectedNetworkTest.java | 44 private final boolean allowsSelfLoops; field in StandardImmutableDirectedNetworkTest 52 boolean allowsSelfLoops, in StandardImmutableDirectedNetworkTest() argument 56 this.allowsSelfLoops = allowsSelfLoops; in StandardImmutableDirectedNetworkTest() 66 .allowsSelfLoops(allowsSelfLoops) in createGraph()
|
D | TestUtil.java | 53 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()
|
D | GraphsTest.java | 67 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 …]
|
D | ImmutableNetworkTest.java | 55 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/ |
D | GraphBuilder.java | 93 .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()
|
D | ValueGraphBuilder.java | 96 .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()
|
D | NetworkBuilder.java | 101 .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/ |
D | GraphBuilder.java | 93 .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()
|
D | ValueGraphBuilder.java | 96 .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()
|
D | NetworkBuilder.java | 101 .allowsSelfLoops(network.allowsSelfLoops()) in from() 136 public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() method in NetworkBuilder 137 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
|