Class ProcessGraph.SCCResult

java.lang.Object
neqsim.process.processmodel.graph.ProcessGraph.SCCResult
All Implemented Interfaces:
Serializable
Enclosing class:
ProcessGraph

public static class ProcessGraph.SCCResult extends Object implements Serializable
Result of strongly connected component analysis.
Version:
1.0
Author:
NeqSim
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getComponents

      public List<List<ProcessNode>> getComponents()
      Returns:
      list of strongly connected components
    • getNodeToComponent

      public Map<ProcessNode, Integer> getNodeToComponent()
      Returns:
      map from node to its component index
    • getComponentCount

      public int getComponentCount()
      Returns:
      number of components
    • getRecycleLoops

      public List<List<ProcessNode>> getRecycleLoops()
      Gets components that represent recycle loops (size > 1).
      Returns:
      components with more than one node