Class CurrentSolutionPoint
- java.lang.Object
-
- java.util.Observable
-
- org.intocps.maestro.interpreter.values.variablestep.CurrentSolutionPoint
-
public class CurrentSolutionPoint extends Observable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCurrentSolutionPoint.Operation
-
Constructor Summary
Constructors Constructor Description CurrentSolutionPoint()CurrentSolutionPoint(CurrentSolutionPoint cs)
-
Method Summary
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Constructor Detail
-
CurrentSolutionPoint
public CurrentSolutionPoint()
-
CurrentSolutionPoint
public CurrentSolutionPoint(CurrentSolutionPoint cs)
-
-
Method Detail
-
advance
public void advance(Double currentTime, Map<ModelConnection.ModelInstance,Map<org.intocps.maestro.fmi.Fmi2ModelDescription.ScalarVariable,Object>> currentValues, Map<ModelConnection.ModelInstance,Map<org.intocps.maestro.fmi.Fmi2ModelDescription.ScalarVariable,Map<Integer,Double>>> currentDerivatives, Double prevStepsize, Boolean wasStepsizeLimitedByDiscreteConstraint)
-
peek
public void peek(Double nextTime, Map<ModelConnection.ModelInstance,Map<org.intocps.maestro.fmi.Fmi2ModelDescription.ScalarVariable,Object>> nextValues)
-
rollback
public void rollback()
-
getOperation
public CurrentSolutionPoint.Operation getOperation()
-
getCurrentTime
public Double getCurrentTime()
-
getNextTime
public Double getNextTime()
-
getPrevStepsize
public Double getPrevStepsize()
-
getDoubleValue
public Double getDoubleValue(ModelConnection.Variable variable)
-
getNextDoubleValue
public Double getNextDoubleValue(ModelConnection.Variable variable)
-
getIntegerValue
public Integer getIntegerValue(ModelConnection.Variable variable)
-
getBooleanValue
public Boolean getBooleanValue(ModelConnection.Variable variable)
-
getStringValue
public String getStringValue(ModelConnection.Variable variable)
-
getDerivative
public Double getDerivative(ModelConnection.Variable variable, Integer order)
-
getLastStepsizeLimitedByContinuousConstraint
public Double getLastStepsizeLimitedByContinuousConstraint()
-
wasLastStepsizeLimitedByDiscreteConstraint
public Boolean wasLastStepsizeLimitedByDiscreteConstraint()
-
-