- java.lang.Object
-
- org.jgrapht.generate.netgen.NetworkInfo<V,E>
-
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
public class NetworkInfo<V,E> extends Object
Represents network auxiliary information. This information is produced by theNetworkGenerator
.Using the network information instance, you can find out:
- Which network vertices belong to which class.
- Which network arcs belong to the skeleton network.
- Author:
- Timofey Chudakov
- See Also:
NetworkGenerator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<V>
getPureSinks()
Returns a list containing network pure sinks.List<V>
getPureSources()
Returns a list containing network pure sources.List<V>
getSinks()
Returns a list containing network sinks (pure sinks + t-sinks).List<E>
getSkeletonArcs()
Return a list of network skeleton arcs.List<V>
getSources()
Returns a list containing network sources (pure sources + t-sources).List<V>
getTransshipmentNodes()
Returns a list containing network t-nodes.List<V>
getTransshipmentSinks()
Return a list containing network t-sinks.List<V>
getTransshipmentSources()
Returns a list containing network t-sources.
-
-
-
Method Detail
-
getPureSources
public List<V> getPureSources()
Returns a list containing network pure sources.- Returns:
- a list containing network pure sources.
-
getTransshipmentSources
public List<V> getTransshipmentSources()
Returns a list containing network t-sources.- Returns:
- a list containing network t-sources.
-
getSources
public List<V> getSources()
Returns a list containing network sources (pure sources + t-sources).- Returns:
- a list containing network sources.
-
getTransshipmentNodes
public List<V> getTransshipmentNodes()
Returns a list containing network t-nodes.- Returns:
- a list containing network t-nodes.
-
getPureSinks
public List<V> getPureSinks()
Returns a list containing network pure sinks.- Returns:
- a list containing network pure sinks.
-
getTransshipmentSinks
public List<V> getTransshipmentSinks()
Return a list containing network t-sinks.- Returns:
- a list containing network t-sinks.
-
getSinks
public List<V> getSinks()
Returns a list containing network sinks (pure sinks + t-sinks).- Returns:
- a list containing network sinks.
-
-