Class SimulationStatus
- java.lang.Object
-
- bio.singa.simulation.model.simulation.SimulationStatus
-
- All Implemented Interfaces:
bio.singa.core.events.UpdateEventListener<GraphUpdatedEvent>
public class SimulationStatus extends Object implements bio.singa.core.events.UpdateEventListener<GraphUpdatedEvent>
- Author:
- cl
-
-
Constructor Summary
Constructors Constructor Description SimulationStatus(Simulation simulation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElapsedTime()doublegetEpochsPerSecond()StringgetEstimatedFinish()StringgetEstimatedSpeed()StringgetEstimatedTimeRemaining()doublegetGlobalDeviation()NumericalErrorgetLargestGlobalError()NumericalErrorgetLargestLocalError()StringgetLargestLocalErrorUpdate()doublegetLocalDeviation()UpdateModulegetLocalErrorModule()StringgetLocalErrorStatus()StringgetMostRecentTimeStep()StringgetNumberOfEpochsSinceLastUpdate()StringgetNumberOfTimeStepDecreasesSinceLastUpdate()StringgetNumberOfTimeStepIncreasesSinceLastUpdate()longgetProgressInMilliSeconds()javax.measure.Quantity<javax.measure.quantity.Time>getTerminationTime()voidonEventReceived(GraphUpdatedEvent event)voidsetTerminationTime(javax.measure.Quantity<javax.measure.quantity.Time> terminationTime)
-
-
-
Constructor Detail
-
SimulationStatus
public SimulationStatus(Simulation simulation)
-
-
Method Detail
-
setTerminationTime
public void setTerminationTime(javax.measure.Quantity<javax.measure.quantity.Time> terminationTime)
-
getTerminationTime
public javax.measure.Quantity<javax.measure.quantity.Time> getTerminationTime()
-
onEventReceived
public void onEventReceived(GraphUpdatedEvent event)
- Specified by:
onEventReceivedin interfacebio.singa.core.events.UpdateEventListener<GraphUpdatedEvent>
-
getLargestLocalError
public NumericalError getLargestLocalError()
-
getLocalErrorStatus
public String getLocalErrorStatus()
-
getLocalErrorModule
public UpdateModule getLocalErrorModule()
-
getLargestLocalErrorUpdate
public String getLargestLocalErrorUpdate()
-
getLargestGlobalError
public NumericalError getLargestGlobalError()
-
getNumberOfEpochsSinceLastUpdate
public String getNumberOfEpochsSinceLastUpdate()
-
getNumberOfTimeStepIncreasesSinceLastUpdate
public String getNumberOfTimeStepIncreasesSinceLastUpdate()
-
getNumberOfTimeStepDecreasesSinceLastUpdate
public String getNumberOfTimeStepDecreasesSinceLastUpdate()
-
getProgressInMilliSeconds
public long getProgressInMilliSeconds()
-
getEstimatedTimeRemaining
public String getEstimatedTimeRemaining()
-
getEstimatedFinish
public String getEstimatedFinish()
-
getEstimatedSpeed
public String getEstimatedSpeed()
-
getElapsedTime
public String getElapsedTime()
-
getEpochsPerSecond
public double getEpochsPerSecond()
-
getMostRecentTimeStep
public String getMostRecentTimeStep()
-
getGlobalDeviation
public double getGlobalDeviation()
-
getLocalDeviation
public double getLocalDeviation()
-
-