Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Method and 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 a
ValueGraphBuilder for building directed graphs. |
ValueGraphBuilder<N,V> |
ValueGraphBuilder.expectedNodeCount(int expectedNodeCount)
Specifies the expected number of nodes in the graph.
|
static <N> ValueGraphBuilder<N,Object> |
ValueGraphBuilder.from(ValueGraph<N,?> graph)
Returns a
ValueGraphBuilder initialized with all properties queryable from graph . |
<N1 extends N> |
ValueGraphBuilder.nodeOrder(ElementOrder<N1> nodeOrder)
Specifies the order of iteration for the elements of
Graph.nodes() . |
static ValueGraphBuilder<Object,Object> |
ValueGraphBuilder.undirected()
Returns a
ValueGraphBuilder for building undirected graphs. |
Copyright © 2010-2017. All Rights Reserved.