Uses of Class
org.jgrapht.generate.netgen.NetworkGenerator.Node
-
Packages that use NetworkGenerator.Node Package Description org.jgrapht.generate.netgen Network generator components -
-
Uses of NetworkGenerator.Node in org.jgrapht.generate.netgen
Fields in org.jgrapht.generate.netgen with type parameters of type NetworkGenerator.Node Modifier and Type Field Description (package private) java.util.List<NetworkGenerator.Node>
NetworkGenerator.Node. chainNodes
List of chain nodes.private java.util.Map<V,NetworkGenerator.Node>
NetworkGenerator. graphVertexMapping
Mapping for converting graph vertices to their internal representation as nodes.private java.util.List<NetworkGenerator.Node>
NetworkGenerator. nodes
Network nodes stored in a list.Methods in org.jgrapht.generate.netgen that return NetworkGenerator.Node Modifier and Type Method Description (package private) NetworkGenerator.Node
NetworkGenerator.Node. getLastInChain()
Returns the last node of this node's chain.Methods in org.jgrapht.generate.netgen that return types with arguments of type NetworkGenerator.Node Modifier and Type Method Description private java.util.List<NetworkGenerator.Node>
NetworkGenerator. getSinks()
Returns a list containing generated sinks (pure sinks + t-sinks).private java.util.List<NetworkGenerator.Node>
NetworkGenerator. getSources()
Returns a list containing generated source (pure sources + t-sources).private java.util.List<NetworkGenerator.Node>
NetworkGenerator. getTransshipNodes()
Returns a list containing generated t-nodes.private java.util.List<NetworkGenerator.Node>
NetworkGenerator. getTransshipSinks()
Returns a list containing generated transshipment sinks.private java.util.List<NetworkGenerator.Node>
NetworkGenerator. getTransshipSources()
Returns a list containing generated transshipment sources.Methods in org.jgrapht.generate.netgen with parameters of type NetworkGenerator.Node Modifier and Type Method Description private void
NetworkGenerator. addArc(NetworkGenerator.Node tail, NetworkGenerator.Node head)
Adds a simple arc to the network.private void
NetworkGenerator. addSkeletonArc(NetworkGenerator.Node chainSource, NetworkGenerator.Node tail, NetworkGenerator.Node head)
Adds an arc between thetail
andhead
.private int
NetworkGenerator. getPossibleArcNum(NetworkGenerator.Node node, java.util.Set<NetworkGenerator.Node> nodes)
Returns the number of arcs it is possible to generate fromnode
to thenodes
set.private boolean
NetworkGenerator. isValidArc(NetworkGenerator.Node tail, NetworkGenerator.Node head)
Checks if it is possible to add an arc betweentail
andhead
to the network.private void
NetworkGenerator. registerSkeletonArc(NetworkGenerator.Node tail, NetworkGenerator.Node head)
Registers an arc betweentail
andhead
by decreasing one of the upper bounds by 1.Method parameters in org.jgrapht.generate.netgen with type arguments of type NetworkGenerator.Node Modifier and Type Method Description private void
NetworkGenerator. generateArcs(java.util.List<NetworkGenerator.Node> tails, java.util.List<NetworkGenerator.Node> heads, int arcsToGenerate)
GeneratesarcsToGenerate
number of arcs between nodes fromtails
andheads
.private int
NetworkGenerator. getPossibleArcNum(NetworkGenerator.Node node, java.util.Set<NetworkGenerator.Node> nodes)
Returns the number of arcs it is possible to generate fromnode
to thenodes
set.
-