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() |
|
<E1 extends E> NetworkBuilder<N,E1> |
NetworkBuilder.edgeOrder(ElementOrder<E1> edgeOrder) |
|
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<N1,E> |
NetworkBuilder.nodeOrder(ElementOrder<N1> nodeOrder) |
|
static NetworkBuilder<Object,Object> |
NetworkBuilder.undirected() |
|