public class BasicMovementModule extends MovementModule
agent, currentVelocity, desiredSpeed, observationModule| Constructor and Description |
|---|
BasicMovementModule(double desiredSpeed)
Creates a basic model.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
getMove(int timeStep)
Gets the next move.
|
boundSpeed, getChair, getCurrentVelocity, getDesiredSpeed, getPosition, getStopMovingTime, getStopOrder, init, isSitting, setSitDown, setStopOrder, updatepublic BasicMovementModule(double desiredSpeed)
desiredSpeed - The desired speed.public Vector getMove(int timeStep)
MovementModuleMovementModule.currentVelocity to the generated value.getMove in class MovementModuletimeStep - The time step (in milliseconds).