@Deprecated public abstract class TimeManager extends Object
 simulation_time(t+1) = simulation_time(t) + step_duration
| Constructor and Description | 
|---|
| TimeManager()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| (package private) void | afterAgentScheduling(long kernel_time,
                    long last_kernel_step_duration)Deprecated.  Called by the environment before the scheduling of the agents. | 
| (package private) void | beforeAgentScheduling(long kernel_time,
                     long last_kernel_step_duration)Deprecated.  Called by the environment before the scheduling of the agents. | 
| double | getSimulationStepDuration()Deprecated.  Replies the duration of a simulation loop for this environment. | 
| abstract double | getSimulationStepDuration(TimeUnit desired_unit)Deprecated.  Replies the duration of a simulation loop for this environment. | 
| double | getSimulationTime()Deprecated.  Replies the current date of simulation. | 
| abstract double | getSimulationTime(TimeUnit desired_unit)Deprecated.  Replies the current date of simulation. | 
| protected abstract void | postAgentScheduling(long kernel_time,
                   long last_kernel_step_duration)Deprecated.  Called by the environment before the scheduling of the agents. | 
| protected abstract void | preAgentScheduling(long kernel_time,
                  long last_kernel_step_duration)Deprecated.  Called by the environment before the scheduling of the agents. | 
| protected abstract void | setSimulationStepDuration(double step_duration)Deprecated.  Set the current simulation step duration. | 
| protected abstract void | setSimulationTime(double time)Deprecated.  Set the current simulation time. | 
protected abstract void setSimulationTime(double time)
 simulation_time(t+1) = simulation_time(t) + step_duration
time - is the new simulation time expresed in seconds.protected abstract void setSimulationStepDuration(double step_duration)
 simulation_time(t+1) = simulation_time(t) + step_duration
step_duration - is the new simulation time expresed in milliseconds.final void beforeAgentScheduling(long kernel_time,
                         long last_kernel_step_duration)
kernel_time - is the current kernel date.last_kernel_step_duration - is the duration of the last
 kernel step in milliseconds.protected abstract void preAgentScheduling(long kernel_time,
                      long last_kernel_step_duration)
kernel_time - is the current kernel date.last_kernel_step_duration - is the duration of the last
 kernel step in milliseconds.final void afterAgentScheduling(long kernel_time,
                        long last_kernel_step_duration)
kernel_time - is the current kernel date.last_kernel_step_duration - is the duration of the last
 kernel step in milliseconds.protected abstract void postAgentScheduling(long kernel_time,
                       long last_kernel_step_duration)
kernel_time - is the current kernel date.last_kernel_step_duration - is the duration of the last
 kernel step in milliseconds.public abstract double getSimulationTime(TimeUnit desired_unit)
desired_unit - indicates the unit to usepublic final double getSimulationTime()
The unit depends on the environment's implementation.
 simulation_time(t+1) = simulation_time(t) + step_duration
public abstract double getSimulationStepDuration(TimeUnit desired_unit)
 simulation_time(t+1) = simulation_time(t) + step_duration
desired_unit - indicates the unit to usepublic final double getSimulationStepDuration()
 simulation_time(t+1) = simulation_time(t) + step_duration
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.