Home
last modified time | relevance | path

Searched refs:graphBuilder (Results 1 – 14 of 14) sorted by relevance

/external/guava/guava-tests/test/com/google/common/graph/
DStandardImmutableDirectedGraphTest.java36 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableDirectedGraphTest
44 graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
45 return graphBuilder.build(); in createGraph()
50 graphBuilder.addNode(n); in addNode()
51 graph = graphBuilder.build(); in addNode()
56 graphBuilder.putEdge(n1, n2); in putEdge()
57 graph = graphBuilder.build(); in putEdge()
DStandardImmutableUndirectedGraphTest.java37 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableUndirectedGraphTest
45 graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
46 return graphBuilder.build(); in createGraph()
51 graphBuilder.addNode(n); in addNode()
52 graph = graphBuilder.build(); in addNode()
57 graphBuilder.putEdge(n1, n2); in putEdge()
58 graph = graphBuilder.build(); in putEdge()
DStandardImmutableGraphAdditionalTest.java73 GraphBuilder<String> graphBuilder = in immutableGraphBuilder_copiesGraphBuilder() local
77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder()
80 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableGraphBuilder_copiesGraphBuilder()
DImmutableValueGraphTest.java93 ValueGraphBuilder<String, Object> graphBuilder = in immutableValueGraphBuilder_copiesGraphBuilder() local
98 graphBuilder.<String, Integer>immutable(); in immutableValueGraphBuilder_copiesGraphBuilder()
101 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableValueGraphBuilder_copiesGraphBuilder()
DGraphMutationTest.java49 private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { in testGraphMutation() argument
53 MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); in testGraphMutation()
/external/guava/android/guava-tests/test/com/google/common/graph/
DStandardImmutableUndirectedGraphTest.java37 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableUndirectedGraphTest
45 graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
46 return graphBuilder.build(); in createGraph()
51 graphBuilder.addNode(n); in addNode()
52 graph = graphBuilder.build(); in addNode()
57 graphBuilder.putEdge(n1, n2); in putEdge()
58 graph = graphBuilder.build(); in putEdge()
DStandardImmutableDirectedGraphTest.java36 private ImmutableGraph.Builder<Integer> graphBuilder; field in StandardImmutableDirectedGraphTest
44 graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable(); in createGraph()
45 return graphBuilder.build(); in createGraph()
50 graphBuilder.addNode(n); in addNode()
51 graph = graphBuilder.build(); in addNode()
56 graphBuilder.putEdge(n1, n2); in putEdge()
57 graph = graphBuilder.build(); in putEdge()
DStandardImmutableGraphAdditionalTest.java73 GraphBuilder<String> graphBuilder = in immutableGraphBuilder_copiesGraphBuilder() local
77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder()
80 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableGraphBuilder_copiesGraphBuilder()
DImmutableValueGraphTest.java93 ValueGraphBuilder<String, Object> graphBuilder = in immutableValueGraphBuilder_copiesGraphBuilder() local
98 graphBuilder.<String, Integer>immutable(); in immutableValueGraphBuilder_copiesGraphBuilder()
101 graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); in immutableValueGraphBuilder_copiesGraphBuilder()
DGraphMutationTest.java49 private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { in testGraphMutation() argument
53 MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); in testGraphMutation()
/external/guava/guava/src/com/google/common/graph/
DImmutableGraph.java132 Builder(GraphBuilder<N> graphBuilder) { in Builder() argument
135 this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()
DImmutableValueGraph.java132 Builder(ValueGraphBuilder<N, V> graphBuilder) { in Builder() argument
136 graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()
/external/guava/android/guava/src/com/google/common/graph/
DImmutableGraph.java132 Builder(GraphBuilder<N> graphBuilder) { in Builder() argument
135 this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()
DImmutableValueGraph.java132 Builder(ValueGraphBuilder<N, V> graphBuilder) { in Builder() argument
136 graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); in Builder()