Class ProcessGraph.SensitivityAnalysisResult
java.lang.Object
neqsim.process.processmodel.graph.ProcessGraph.SensitivityAnalysisResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessGraph
Result of sensitivity analysis for tear stream selection.
- Version:
- 1.0
- Author:
- NeqSim
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<ProcessEdge, Double> private final List<ProcessEdge> private static final longprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionSensitivityAnalysisResult(Map<ProcessEdge, Double> edgeSensitivities, List<ProcessEdge> rankedTearCandidates, double totalSensitivity) -
Method Summary
Modifier and TypeMethodDescriptionGets the best (lowest sensitivity) tear stream candidate.Gets the sensitivity score for each edge.Gets tear candidates ranked by sensitivity (lowest first = best).doubleGets the total sensitivity across all tear candidates.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
edgeSensitivities
-
rankedTearCandidates
-
totalSensitivity
private final double totalSensitivity
-
-
Constructor Details
-
SensitivityAnalysisResult
SensitivityAnalysisResult(Map<ProcessEdge, Double> edgeSensitivities, List<ProcessEdge> rankedTearCandidates, double totalSensitivity)
-
-
Method Details
-
getEdgeSensitivities
Gets the sensitivity score for each edge.- Returns:
- map from edge to sensitivity score
-
getRankedTearCandidates
Gets tear candidates ranked by sensitivity (lowest first = best).- Returns:
- list of edges ranked by sensitivity
-
getTotalSensitivity
public double getTotalSensitivity()Gets the total sensitivity across all tear candidates.- Returns:
- sum of sensitivities
-
getBestTearStream
Gets the best (lowest sensitivity) tear stream candidate.- Returns:
- best tear stream, or null if no candidates
-