DefaultMovementManager

model.entities.customers.DefaultMovementManager
case class DefaultMovementManager(maxSpeed: Double, perceptionRadius: Double, avoidRadius: Double, alignmentWeight: Double, cohesionWeight: Double, separationWeight: Double, gamesAttractivenessWeight: Double, sittingRadius: Double, boredomIncrease: Double, randomMovementWeight: Double) extends BaseManager[SimulationState]

This manager implements the default behaviour for the customer. It combines the boid-like behaviours, the games' attractiveness and avoids the collisions of customers with walls and games

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def update(slice: SimulationState): SimulationState

Updates a given slice of the simulation state.

Updates a given slice of the simulation state.

This method encapsulates the core logic of the manager, transforming an input state into an updated state.

Value parameters

slice

The input state slice to be updated.

Attributes

Returns

The updated state slice.

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product