Class ProcessGraph.ParallelPartition
java.lang.Object
neqsim.process.processmodel.graph.ProcessGraph.ParallelPartition
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessGraph
Result of parallel execution partitioning.
- Version:
- 1.0
- Author:
- NeqSim
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<List<ProcessNode>> private final Map<ProcessNode, Integer> private static final long -
Constructor Summary
ConstructorsConstructorDescriptionParallelPartition(List<List<ProcessNode>> levels, Map<ProcessNode, Integer> nodeToLevel) -
Method Summary
Modifier and TypeMethodDescriptionintint
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
levels
-
nodeToLevel
-
-
Constructor Details
-
ParallelPartition
ParallelPartition(List<List<ProcessNode>> levels, Map<ProcessNode, Integer> nodeToLevel)
-
-
Method Details
-
getLevels
- Returns:
- list of parallel execution levels
-
getNodeToLevel
- Returns:
- map from node to its level
-
getLevelCount
public int getLevelCount()- Returns:
- number of parallel levels
-
getMaxParallelism
public int getMaxParallelism()- Returns:
- maximum parallelism (max nodes in any level)
-