Class ProcessModelGraph.SubSystemGraph
java.lang.Object
neqsim.process.processmodel.graph.ProcessModelGraph.SubSystemGraph
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessModelGraph
Represents a sub-system (ProcessSystem) within the model.
- Version:
- 1.0
- Author:
- NeqSim
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final ProcessGraphprivate final booleanprivate static final longprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionSubSystemGraph(String systemName, ProcessGraph graph, int executionIndex, boolean isModule) -
Method Summary
Modifier and TypeMethodDescriptionintGet number of edges in this sub-system.intGet execution index of this sub-system in the module.getGraph()Get Graph for this sub-system.intGet number of nodes in this sub-system.Get the name of this sub-system.booleanisModule()Get whether this sub-system is itself a ProcessModule.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
systemName
-
graph
-
executionIndex
private final int executionIndex -
isModule
private final boolean isModule
-
-
Constructor Details
-
SubSystemGraph
SubSystemGraph(String systemName, ProcessGraph graph, int executionIndex, boolean isModule)
-
-
Method Details
-
getSystemName
-
getGraph
Get Graph for this sub-system.- Returns:
- the graph for this sub-system
-
getExecutionIndex
public int getExecutionIndex()Get execution index of this sub-system in the module.- Returns:
- the execution index in the module (order of execution)
-
isModule
public boolean isModule()Get whether this sub-system is itself a ProcessModule.- Returns:
- true if this sub-system is itself a ProcessModule
-
getNodeCount
public int getNodeCount()Get number of nodes in this sub-system.- Returns:
- number of nodes in this sub-system
-
getEdgeCount
public int getEdgeCount()Get number of edges in this sub-system.- Returns:
- number of edges in this sub-system
-