Class NetworkInfo<V,E>
java.lang.Object
org.jgrapht.generate.netgen.NetworkInfo<V,E>
- Type Parameters:
V- the graph vertex typeE- the graph edge type
Represents network auxiliary information. This information is produced by the
NetworkGenerator.
Using the network information instance, you can find out:
- Which network vertices belong to which class.
- Which network arcs belong to the skeleton network.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) NetworkGeneratorConfigNetwork configuration.List of network skeleton arcs.List of network vertices. -
Constructor Summary
ConstructorsConstructorDescriptionNetworkInfo(NetworkGeneratorConfig config) Creates a new network information instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list containing network pure sinks.Returns a list containing network pure sources.getSinks()Returns a list containing network sinks (pure sinks + t-sinks).Return a list of network skeleton arcs.Returns a list containing network sources (pure sources + t-sources).Returns a list containing network t-nodes.Return a list containing network t-sinks.Returns a list containing network t-sources.(package private) voidregisterChainArc(E chainArc) Saves information about the arcchainArc.
-
Field Details
-
config
NetworkGeneratorConfig configNetwork configuration. -
vertices
-
skeletonArcs
-
-
Constructor Details
-
NetworkInfo
NetworkInfo(NetworkGeneratorConfig config) Creates a new network information instance.- Parameters:
config- network configuration.
-
-
Method Details
-
registerChainArc
Saves information about the arcchainArc.- Parameters:
chainArc- chain arc.
-
getPureSources
-
getTransshipmentSources
-
getSources
-
getTransshipmentNodes
-
getPureSinks
-
getTransshipmentSinks
-
getSinks
-
getSkeletonArcs
-