public class TechnicalSystemStateDeltaHelper
extends java.lang.Object
TechnicalSystemStateDeltaEvaluation.| Modifier and Type | Class and Description |
|---|---|
static class |
TechnicalSystemStateDeltaHelper.DeltaSelectionBy
The enumeration DeltaSelectionBy.
|
| Constructor and Description |
|---|
TechnicalSystemStateDeltaHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Vector<TechnicalSystemStateDeltaEvaluation> |
filterTechnicalSystemStateDeltaEvaluation(java.util.Vector<TechnicalSystemStateDeltaEvaluation> deltaSteps,
TechnicalSystemStateDeltaHelper.DeltaSelectionBy selectionType,
java.lang.String variableOrInterfaceID,
java.lang.Object targetValue)
Filters the specified list of technical system state delta evaluation according to the settings.
|
static java.util.Vector<TechnicalSystemStateDeltaEvaluation> |
filterTechnicalSystemStateDeltaEvaluation(java.util.Vector<TechnicalSystemStateDeltaEvaluation> deltaSteps,
TechnicalSystemStateDeltaHelper.DeltaSelectionBy selectionType,
java.lang.String variableOrInterfaceID,
java.lang.Object targetValue,
double tolerance)
Filters the specified list of technical system state delta evaluation according to the settings.
|
static TechnicalSystemStateDeltaEvaluation |
findClosestTechnicalSystemStateDeltaEvaluation(java.util.Collection<TechnicalSystemStateDeltaEvaluation> tssDeltaCollection,
TechnicalSystemStateDeltaHelper.DeltaSelectionBy selectionType,
java.lang.String variableOrInterfaceID,
java.lang.Object targetValue)
From a list of
TechnicalSystemStateDeltaEvaluations, find the one for which the value of a specified IO variable is closest to a target value. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorCosts()
Returns a new comparator for the costs of
TechnicalSystemStateDeltaEvaluation's. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorEnergyAmount()
Returns a new comparator for the overall energy amount of
TechnicalSystemStateDeltaEvaluation's. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorEnergyLosses()
Returns a new comparator for the energy losses of
TechnicalSystemStateDeltaEvaluation's. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorInterfaceCosts(java.lang.String interfaceID)
Returns a new comparator for the costs at the specified
EnergyInterface of TechnicalSystemStateDeltaEvaluation's. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorInterfaceEnergyAmount(java.lang.String interfaceID)
Returns a new comparator for the energy amount at the specified
EnergyInterface of TechnicalSystemStateDeltaEvaluation's. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorInterfaceEnergyFlow(java.lang.String interfaceID)
Returns a new comparator for the energy flow at the specified
EnergyInterface of TechnicalSystemStateDeltaEvaluation's. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorIoValue(java.lang.String variableID)
This comparator compares two
TechnicalSystemStateDeltaEvaluations by the value of a specified IO variable in the resulting TechnicalSystemStateEvaluations. |
static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> |
getComparatorStateCosts()
Returns a new comparator for the state costs of
TechnicalSystemStateDeltaEvaluation's. |
public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorEnergyAmount()
TechnicalSystemStateDeltaEvaluation's.TechnicalSystemStateDeltaEvaluation.getDeltaAmountAndCosts(),
TechnicalSystemStateDeltaEvaluation.AmountsAndCosts.getEnergyAmount()public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorCosts()
TechnicalSystemStateDeltaEvaluation's.TechnicalSystemStateDeltaEvaluation.getDeltaAmountAndCosts(),
TechnicalSystemStateDeltaEvaluation.AmountsAndCosts.getCosts()public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorEnergyLosses()
TechnicalSystemStateDeltaEvaluation's.TechnicalSystemStateDeltaEvaluation.getEnergyLosses()public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorStateCosts()
TechnicalSystemStateDeltaEvaluation's.TechnicalSystemStateDeltaEvaluation.getStateCosts()public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorInterfaceEnergyFlow(java.lang.String interfaceID)
EnergyInterface of TechnicalSystemStateDeltaEvaluation's.interfaceID - the interface idTechnicalSystemStateDeltaEvaluation.getTechnicalInterfaceDeltas(),
TechnicalSystemStateDeltaEvaluation.TechnicalInterfaceCondition.getEnergyFlowInWatt()public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorInterfaceEnergyAmount(java.lang.String interfaceID)
EnergyInterface of TechnicalSystemStateDeltaEvaluation's.interfaceID - the interface idTechnicalSystemStateDeltaEvaluation.getTechnicalInterfaceDeltas(),
TechnicalSystemStateDeltaEvaluation.TechnicalInterfaceCondition.getDeltaAmountAndCosts(),
TechnicalSystemStateDeltaEvaluation.AmountsAndCosts.getEnergyAmount()public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorInterfaceCosts(java.lang.String interfaceID)
EnergyInterface of TechnicalSystemStateDeltaEvaluation's.interfaceID - the interface idTechnicalSystemStateDeltaEvaluation.getTechnicalInterfaceDeltas(),
TechnicalSystemStateDeltaEvaluation.TechnicalInterfaceCondition.getDeltaAmountAndCosts(),
TechnicalSystemStateDeltaEvaluation.AmountsAndCosts.getCosts()public static java.util.Comparator<TechnicalSystemStateDeltaEvaluation> getComparatorIoValue(java.lang.String variableID)
TechnicalSystemStateDeltaEvaluations by the value of a specified IO variable in the resulting TechnicalSystemStateEvaluations.variableID - The ID of the variable to be comparedpublic static java.util.Vector<TechnicalSystemStateDeltaEvaluation> filterTechnicalSystemStateDeltaEvaluation(java.util.Vector<TechnicalSystemStateDeltaEvaluation> deltaSteps, TechnicalSystemStateDeltaHelper.DeltaSelectionBy selectionType, java.lang.String variableOrInterfaceID, java.lang.Object targetValue)
deltaSteps - the vector of delta steps to select fromselectionType - the selection type (@see TechnicalSystemStateDeltaHelper.DeltaSelectionBy)variableOrInterfaceID - the variable or interface IDtargetValue - the target value (may be a boolean, an integer or a double)TechnicalSystemStateDeltaEvaluation that match the specified conditionspublic static java.util.Vector<TechnicalSystemStateDeltaEvaluation> filterTechnicalSystemStateDeltaEvaluation(java.util.Vector<TechnicalSystemStateDeltaEvaluation> deltaSteps, TechnicalSystemStateDeltaHelper.DeltaSelectionBy selectionType, java.lang.String variableOrInterfaceID, java.lang.Object targetValue, double tolerance)
deltaSteps - the vector of delta steps to select fromselectionType - the selection type (@see TechnicalSystemStateDeltaHelper.DeltaSelectionBy)variableOrInterfaceID - the variable or interface IDtargetValue - the target value (may be a boolean, an integer or a double)tolerance - the tolerance for the target value (not applicable for boolean)TechnicalSystemStateDeltaEvaluation that match the specified conditionspublic static TechnicalSystemStateDeltaEvaluation findClosestTechnicalSystemStateDeltaEvaluation(java.util.Collection<TechnicalSystemStateDeltaEvaluation> tssDeltaCollection, TechnicalSystemStateDeltaHelper.DeltaSelectionBy selectionType, java.lang.String variableOrInterfaceID, java.lang.Object targetValue)
TechnicalSystemStateDeltaEvaluations, find the one for which the value of a specified IO variable is closest to a target value.tssDeltaCollection - The list of TechnicalSystemStateDeltaEvaluationsselectionType - the selection typevariableOrInterfaceID - the variable or interface IDtargetValue - the target valueTechnicalSystemStateDeltaEvaluation