public class FlatUpdateRecorder extends Object implements bio.singa.core.events.UpdateEventListener<UpdatableUpdatedEvent>
SimulationManager.setUpdateEmissionCondition(Predicate). A node is observed by calling
addUpdatableToObserve(Updatable).| Modifier and Type | Class and Description |
|---|---|
static interface |
FlatUpdateRecorder.BuildStep |
static interface |
FlatUpdateRecorder.ConcentrationUnitStep |
static interface |
FlatUpdateRecorder.DirectoryStep |
static class |
FlatUpdateRecorder.EpochUpdateWriterBuilder |
static interface |
FlatUpdateRecorder.SimulationStep |
static interface |
FlatUpdateRecorder.TimeUnitStep |
static interface |
FlatUpdateRecorder.WorkspaceStep |
| Constructor and Description |
|---|
FlatUpdateRecorder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdatableToObserve(Updatable updatable)
Initializes a updatable that will be observed during simulation.
|
void |
closeWriters()
Close all associated writers.
|
static FlatUpdateRecorder.WorkspaceStep |
create() |
Path |
getWorkspaceFolder() |
void |
onEventReceived(UpdatableUpdatedEvent event) |
public static FlatUpdateRecorder.WorkspaceStep create()
public Path getWorkspaceFolder()
public void addUpdatableToObserve(Updatable updatable) throws IOException
updatable - The updatable to be observed.IOException - If the file can not be created.public void closeWriters()
public void onEventReceived(UpdatableUpdatedEvent event)
onEventReceived in interface bio.singa.core.events.UpdateEventListener<UpdatableUpdatedEvent>Copyright © 2019. All rights reserved.