Uses of Class
com.google.common.graph.ValueGraphBuilder
-
Uses of ValueGraphBuilder in com.google.common.graph
Modifier and TypeMethodDescriptionValueGraphBuilder.allowsSelfLoops
(boolean allowsSelfLoops) Specifies whether the graph will allow self-loops (edges that connect a node to itself).static ValueGraphBuilder
<Object, Object> ValueGraphBuilder.directed()
Returns aValueGraphBuilder
for building directed graphs.ValueGraphBuilder.expectedNodeCount
(int expectedNodeCount) Specifies the expected number of nodes in the graph.static <N,
V> ValueGraphBuilder <N, V> ValueGraphBuilder.from
(ValueGraph<N, V> graph) Returns aValueGraphBuilder
initialized with all properties queryable fromgraph
.<N1 extends N>
ValueGraphBuilder<N1, V> ValueGraphBuilder.incidentEdgeOrder
(ElementOrder<N1> incidentEdgeOrder) Specifies the order of iteration for the elements ofValueGraph.edges()
,ValueGraph.adjacentNodes(Object)
,ValueGraph.predecessors(Object)
,ValueGraph.successors(Object)
andValueGraph.incidentEdges(Object)
.<N1 extends N>
ValueGraphBuilder<N1, V> ValueGraphBuilder.nodeOrder
(ElementOrder<N1> nodeOrder) Specifies the order of iteration for the elements ofGraph.nodes()
.static ValueGraphBuilder
<Object, Object> ValueGraphBuilder.undirected()
Returns aValueGraphBuilder
for building undirected graphs.