Uses of Class
com.google.common.graph.ValueGraphBuilder
-
Packages that use ValueGraphBuilder Package Description com.google.common.graph An API for representing graph (node and edge) data. -
-
Uses of ValueGraphBuilder in com.google.common.graph
Methods in com.google.common.graph that return ValueGraphBuilder Modifier and Type Method Description ValueGraphBuilder<N,V>ValueGraphBuilder. 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 aValueGraphBuilderfor building directed graphs.ValueGraphBuilder<N,V>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 aValueGraphBuilderinitialized 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 aValueGraphBuilderfor building undirected graphs.
-