public class FallBackGroupStrategy extends AbstractGroupEvaluationStrategy
evaluationStart, optionModelController
Constructor and Description |
---|
FallBackGroupStrategy(OptionModelController optionModelController)
Instantiates a new fall back group strategy.
|
Modifier and Type | Method and Description |
---|---|
FlowsMeasuredGroupMember |
doNetworkCalculation(javax.swing.tree.DefaultMutableTreeNode currentParentNode,
java.util.List<TechnicalInterface> outerInterfaces,
FlowsMeasuredGroup efmGroup)
Will be invoked, if a network calculation is required.
|
java.util.Vector<javax.swing.JComponent> |
getCustomToolBarElements()
Should return your custom tool bar elements for the evaluation.
|
AbstractSequentialNetworkCalculation<?> |
getSequentialNetworkCalculation()
Can be used in order to define an individual sequential network calculation by an extended
AbstractSequentialNetworkCalculation
and thus a AbstractGroupTreeAction.GroupTreeTraversal within an extended AbstractGroupTreeAction . |
Schedule |
meetDecisionForScheduleList(javax.swing.tree.DefaultMutableTreeNode currentNode,
GroupTreeNodeObject gtno,
ScheduleList scheduleList)
Meet decision for group member that is a
ScheduleList . |
TechnicalSystemStateDeltaEvaluation |
meetDecisionForTechnicalSystem(javax.swing.tree.DefaultMutableTreeNode currentNode,
GroupTreeNodeObject gtno,
java.util.Vector<TechnicalSystemStateDeltaEvaluation> deltaSteps)
Meet decision for a group member that is a
TechnicalSystem . |
void |
runEvaluation()
Runs the customized evaluation process.
|
addStateToResults, executeEvaluation, executeSubEvaluationStrategies, getGraphForDeltaCosts, getGroupCalculation, getGroupController, getOutNodeState, getOutNodeState, isUsingSubStrategies, setGraphForDeltaCosts, setUsingSubStrategies
addStateToResults, calculateAndSetStateCosts, convertToTechnicalSystemStateEvaluation, copyEnergyAmount, copyEnergyFlowInWatt, copyStorageLoad, copyTechnicalSystemState, copyTechnicalSystemState, getAllDeltaEvaluationsStartingFromTechnicalSystemState, getAllDeltaEvaluationsStartingFromTechnicalSystemState, getAllDeltaEvaluationsStartingFromTechnicalSystemState, getAllPossibleSubsequentStatesByDefinition, getAllPossibleSubsequentStatesByDefinition, getCostFunctionHistory, getCostModel, getDefaultSIPrefix, getDefaultTimeUnit, getEndTime, getEvaluationProcess, getEvaluationResults, getEvaluationSettings, getEvaluationThread, getEvaluationTimeRangeReminder, getFirstTechnicalSystemStateEvaluationWithEqualState, getGraphForStateVariability, getInitialTechnicalSystemStateEvaluation, getNextTechnicalSystemStateEvaluation, getNodeStateResolver, getOptionModelCalculation, getStartTime, getStateDurationFromTechnicalSystemState, getTechnicalInterfaceConfiguration, hasStateCostFunction, isAvailableOptionModelCalculation, isConstantStateSinceGlobalTime, isEnabledPrintToConsole, isRealTimeStrategyOrPartOfRealTimeStrategy, isStopEvaluation, print, printlnGlobalTime, printlnGlobalTime, recursivelyCreateEvaluationGraphForCostsOverTime, recursivelyCreateEvaluationGraphForCostsOverTime, resetInitialTechnicalSystemStateEvaluation, resetScheduleAndCalculationsStartingFrom, setEnablePrintToConsole, setEvaluationThread, setGraphForStateVariability, setInitialTechnicalSystemStateEvaluation, stopEvaluation
public FallBackGroupStrategy(OptionModelController optionModelController)
optionModelController
- the option model controllerpublic java.util.Vector<javax.swing.JComponent> getCustomToolBarElements()
AbstractEvaluationStrategy
getCustomToolBarElements
in class AbstractEvaluationStrategy
public void runEvaluation()
AbstractEvaluationStrategy
runEvaluation
in class AbstractEvaluationStrategy
public AbstractSequentialNetworkCalculation<?> getSequentialNetworkCalculation()
AbstractGroupEvaluationStrategy
AbstractSequentialNetworkCalculation
and thus a AbstractGroupTreeAction.GroupTreeTraversal
within an extended AbstractGroupTreeAction
.null
here!getSequentialNetworkCalculation
in class AbstractGroupEvaluationStrategy
AbstractSequentialNetworkCalculation
public FlowsMeasuredGroupMember doNetworkCalculation(javax.swing.tree.DefaultMutableTreeNode currentParentNode, java.util.List<TechnicalInterface> outerInterfaces, FlowsMeasuredGroup efmGroup)
AbstractGroupEvaluationStrategy
doNetworkCalculation
in class AbstractGroupEvaluationStrategy
currentParentNode
- the current parent node of the GroupTreeModel
outerInterfaces
- the outer interfacesefmGroup
- the current FlowsMeasuredGroupFlowsMeasuredGroup
for each TechnicalInterface
summarised in one instance of FlowsMeasuredGroupMember
public TechnicalSystemStateDeltaEvaluation meetDecisionForTechnicalSystem(javax.swing.tree.DefaultMutableTreeNode currentNode, GroupTreeNodeObject gtno, java.util.Vector<TechnicalSystemStateDeltaEvaluation> deltaSteps)
AbstractGroupEvaluationStrategy
TechnicalSystem
.meetDecisionForTechnicalSystem
in class AbstractGroupEvaluationStrategy
currentNode
- the current node of the GroupTreeModel
gtno
- the GroupTreeNodeObject of the current nodedeltaSteps
- the delta stepspublic Schedule meetDecisionForScheduleList(javax.swing.tree.DefaultMutableTreeNode currentNode, GroupTreeNodeObject gtno, ScheduleList scheduleList)
AbstractGroupEvaluationStrategy
ScheduleList
.meetDecisionForScheduleList
in class AbstractGroupEvaluationStrategy
currentNode
- the current node of the GroupTreeModel
gtno
- the GroupTreeNodeObject of the current nodescheduleList
- the ScheduleList
from which one Schedule has to be selectedSchedule
to use