Class NetworkInfo<V,E>

java.lang.Object
org.jgrapht.generate.netgen.NetworkInfo<V,E>
Type Parameters:
V - the graph vertex type
E - the graph edge type

public class NetworkInfo<V,E> extends Object
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.
Author:
Timofey Chudakov
See Also:
  • Method Details

    • 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.
    • getSkeletonArcs

      public List<E> getSkeletonArcs()
      Return a list of network skeleton arcs.
      Returns:
      a list of network skeleton arcs.