/external/guava/guava/src/com/google/common/graph/ |
D | GraphBuilder.java | 94 .allowsSelfLoops(graph.allowsSelfLoops()) in from() 121 public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() method in GraphBuilder 122 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops() 179 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
|
D | ValueGraphBuilder.java | 97 .allowsSelfLoops(graph.allowsSelfLoops()) in from() 125 public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() method in ValueGraphBuilder 126 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops() 186 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
|
D | NetworkBuilder.java | 102 .allowsSelfLoops(network.allowsSelfLoops()) in from() 137 public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() argument 138 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
|
/external/guava/android/guava/src/com/google/common/graph/ |
D | GraphBuilder.java | 94 .allowsSelfLoops(graph.allowsSelfLoops()) in from() 121 public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() argument 122 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops() 179 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
|
D | ValueGraphBuilder.java | 97 .allowsSelfLoops(graph.allowsSelfLoops()) in from() 125 public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() argument 126 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops() 186 newBuilder.allowsSelfLoops = allowsSelfLoops; in copy()
|
D | NetworkBuilder.java | 102 .allowsSelfLoops(network.allowsSelfLoops()) in from() 137 public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { in allowsSelfLoops() argument 138 this.allowsSelfLoops = allowsSelfLoops; in allowsSelfLoops()
|
/external/guava/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 | 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 | 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 | 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 | 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 | 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()
|
/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 | 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 | 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 | 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 | 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 | 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 | AbstractStandardUndirectedNetworkTest.java | 260 assume().that(network.allowsSelfLoops()).isTrue(); in edges_selfLoop() 268 assume().that(network.allowsSelfLoops()).isTrue(); in incidentEdges_selfLoop() 276 assume().that(network.allowsSelfLoops()).isTrue(); in incidentNodes_selfLoop() 285 assume().that(network.allowsSelfLoops()).isTrue(); in adjacentNodes_selfLoop() 294 assume().that(network.allowsSelfLoops()).isTrue(); in adjacentEdges_selfLoop() 303 assume().that(network.allowsSelfLoops()).isTrue(); in edgesConnecting_selfLoop() 315 assume().that(network.allowsSelfLoops()).isTrue(); in inEdges_selfLoop() 325 assume().that(network.allowsSelfLoops()).isTrue(); in outEdges_selfLoop() 335 assume().that(network.allowsSelfLoops()).isTrue(); in predecessors_selfLoop() 345 assume().that(network.allowsSelfLoops()).isTrue(); in successors_selfLoop() [all …]
|