public class SimulationLogger extends Logger
| Modifier and Type | Field and Description |
|---|---|
private int |
skipFactor
The skip factor.
|
private int |
skips
The number of skips done.
|
| Constructor and Description |
|---|
SimulationLogger(java.lang.String fileName)
Creates a simulation logger.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
getAgentInformation(Agent agent)
Gets the agent information that needs to be printed.
|
void |
update(long time,
boolean ended)
Updates the log.
|
closeLog, printLine, setSimulatorprivate int skips
private int skipFactor
public SimulationLogger(java.lang.String fileName)
fileName - The file name.private java.lang.String getAgentInformation(Agent agent)
agent - The agent.