The simulation loop is implemented in class Simulation. In each simulation loop, the locomotion model is updated. The locomotion model searches for the next position of an agent (a simulated pedestrian). I.e., a locomotion model implements a well-defined interface Model. This concept makes Vadere a generic framework in which different locomotion models can be implemented easily.