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