Class ProcessModelGraph.ModuleParallelPartition
java.lang.Object
neqsim.process.processmodel.graph.ProcessModelGraph.ModuleParallelPartition
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessModelGraph
public static class ProcessModelGraph.ModuleParallelPartition
extends Object
implements Serializable
Represents a partition of sub-systems into levels for parallel execution. Sub-systems at the
same level have no inter-dependencies and can run concurrently.
- Version:
- 1.0
- Author:
- NeqSim
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<List<ProcessModelGraph.SubSystemGraph>> private final intprivate static final long -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
levels
-
maxParallelism
private final int maxParallelism
-
-
Constructor Details
-
ModuleParallelPartition
ModuleParallelPartition(List<List<ProcessModelGraph.SubSystemGraph>> levels)
-
-
Method Details
-
getLevels
- Returns:
- list of execution levels, each containing sub-systems that can run in parallel
-
getLevelCount
public int getLevelCount()- Returns:
- number of execution levels
-
getMaxParallelism
public int getMaxParallelism()- Returns:
- maximum number of sub-systems that can run in parallel at any level
-
getLevelNames
-
toString
-