/external/guava/android/guava-tests/test/com/google/common/graph/ |
D | ValueGraphTest.java | 49 Graph<Integer> asGraph = graph.asGraph(); in validateGraphState() local 50 AbstractGraphTest.validateGraph(asGraph); in validateGraphState() 51 assertThat(graph.nodes()).isEqualTo(asGraph.nodes()); in validateGraphState() 52 assertThat(graph.edges()).isEqualTo(asGraph.edges()); in validateGraphState() 53 assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateGraphState() 54 assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder()); in validateGraphState() 55 assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected()); in validateGraphState() 56 assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateGraphState() 59 assertThat(graph.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateGraphState() 60 assertThat(graph.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateGraphState() [all …]
|
D | AbstractNetworkTest.java | 156 Graph<N> asGraph = network.asGraph(); in validateNetwork() local 157 AbstractGraphTest.validateGraph(asGraph); in validateNetwork() 158 assertThat(network.nodes()).isEqualTo(asGraph.nodes()); in validateNetwork() 159 assertThat(network.edges().size()).isAtLeast(asGraph.edges().size()); in validateNetwork() 160 assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateNetwork() 161 assertThat(network.isDirected()).isEqualTo(asGraph.isDirected()); in validateNetwork() 162 assertThat(network.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateNetwork() 171 assertThat(asGraph.edges()).contains(EndpointPair.of(network, nodeU, nodeV)); in validateNetwork() 194 assertThat(network.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateNetwork() 195 assertThat(network.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateNetwork() [all …]
|
D | EndpointPairTest.java | 160 directedNetwork.asGraph().edges(), in endpointPair_directedNetwork() 177 undirectedNetwork.asGraph().edges(), in endpointPair_undirectedNetwork()
|
D | ImmutableNetworkTest.java | 35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
|
D | ImmutableValueGraphTest.java | 36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
|
/external/guava/guava-tests/test/com/google/common/graph/ |
D | ValueGraphTest.java | 51 Graph<Integer> asGraph = graph.asGraph(); in validateGraphState() local 52 AbstractGraphTest.validateGraph(asGraph); in validateGraphState() 53 assertThat(graph.nodes()).isEqualTo(asGraph.nodes()); in validateGraphState() 54 assertThat(graph.edges()).isEqualTo(asGraph.edges()); in validateGraphState() 55 assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateGraphState() 56 assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder()); in validateGraphState() 57 assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected()); in validateGraphState() 58 assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateGraphState() 61 assertThat(graph.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateGraphState() 62 assertThat(graph.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateGraphState() [all …]
|
D | AbstractNetworkTest.java | 156 Graph<N> asGraph = network.asGraph(); in validateNetwork() local 157 AbstractGraphTest.validateGraph(asGraph); in validateNetwork() 158 assertThat(network.nodes()).isEqualTo(asGraph.nodes()); in validateNetwork() 159 assertThat(network.edges().size()).isAtLeast(asGraph.edges().size()); in validateNetwork() 160 assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder()); in validateNetwork() 161 assertThat(network.isDirected()).isEqualTo(asGraph.isDirected()); in validateNetwork() 162 assertThat(network.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); in validateNetwork() 171 assertThat(asGraph.edges()).contains(EndpointPair.of(network, nodeU, nodeV)); in validateNetwork() 194 assertThat(network.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node)); in validateNetwork() 195 assertThat(network.predecessors(node)).isEqualTo(asGraph.predecessors(node)); in validateNetwork() [all …]
|
D | EndpointPairTest.java | 160 directedNetwork.asGraph().edges(), in endpointPair_directedNetwork() 177 undirectedNetwork.asGraph().edges(), in endpointPair_undirectedNetwork()
|
D | ImmutableNetworkTest.java | 35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
|
D | ImmutableValueGraphTest.java | 36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
|
/external/guava/android/guava/src/com/google/common/graph/ |
D | ImmutableNetwork.java | 74 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableNetwork 75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
|
D | ValueGraph.java | 127 Graph<N> asGraph(); in asGraph() method
|
D | Network.java | 125 Graph<N> asGraph(); in asGraph() method
|
D | AbstractValueGraph.java | 43 public Graph<N> asGraph() { in asGraph() method in AbstractValueGraph
|
D | ImmutableValueGraph.java | 75 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableValueGraph
|
D | Graphs.java | 89 && network.edges().size() > network.asGraph().edges().size()) { in hasCycle() 92 return hasCycle(network.asGraph()); in hasCycle()
|
D | AbstractNetwork.java | 55 public Graph<N> asGraph() { in asGraph() method in AbstractNetwork
|
/external/guava/guava/src/com/google/common/graph/ |
D | ImmutableNetwork.java | 74 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableNetwork 75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
|
D | ValueGraph.java | 128 Graph<N> asGraph(); in asGraph() method
|
D | Network.java | 126 Graph<N> asGraph(); in asGraph() method
|
D | AbstractValueGraph.java | 44 public Graph<N> asGraph() { in asGraph() method in AbstractValueGraph
|
D | ImmutableValueGraph.java | 75 public ImmutableGraph<N> asGraph() { in asGraph() method in ImmutableValueGraph
|
D | Graphs.java | 90 && network.edges().size() > network.asGraph().edges().size()) { in hasCycle() 93 return hasCycle(network.asGraph()); in hasCycle()
|
D | AbstractNetwork.java | 56 public Graph<N> asGraph() { in asGraph() method in AbstractNetwork
|
/external/dagger2/java/dagger/model/ |
D | BindingGraph.java | 239 dependencyGraph, reachableNodes(transpose(dependencyGraph).asGraph(), binding)); in entryPointEdgesDependingOnBinding()
|