Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Method and Description |
---|---|
NetworkBuilder<N,E> |
NetworkBuilder.allowsParallelEdges(boolean allowsParallelEdges)
Specifies whether the network will allow parallel edges.
|
NetworkBuilder<N,E> |
NetworkBuilder.allowsSelfLoops(boolean allowsSelfLoops)
Specifies whether the network will allow self-loops (edges that connect a node to itself).
|
static NetworkBuilder<Object,Object> |
NetworkBuilder.directed()
Returns a
NetworkBuilder for building directed networks. |
<E1 extends E> |
NetworkBuilder.edgeOrder(ElementOrder<E1> edgeOrder)
Specifies the order of iteration for the elements of
Network.edges() . |
NetworkBuilder<N,E> |
NetworkBuilder.expectedEdgeCount(int expectedEdgeCount)
Specifies the expected number of edges in the network.
|
NetworkBuilder<N,E> |
NetworkBuilder.expectedNodeCount(int expectedNodeCount)
Specifies the expected number of nodes in the network.
|
static <N,E> NetworkBuilder<N,E> |
NetworkBuilder.from(Network<N,E> network)
Returns a
NetworkBuilder initialized with all properties queryable from network . |
<N1 extends N> |
NetworkBuilder.nodeOrder(ElementOrder<N1> nodeOrder)
Specifies the order of iteration for the elements of
Network.nodes() . |
static NetworkBuilder<Object,Object> |
NetworkBuilder.undirected()
Returns a
NetworkBuilder for building undirected networks. |
Copyright © 2010–2019. All rights reserved.