SAPEREWalker
constructor(environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>, node: ILsaNode, reaction: Reaction<List<ILsaMolecule>>, speed: Double, interaction: Double, range: Double)(source)
Parameters
environment
the environment
node
the node
reaction
the reaction (used to compute the movement length)
speed
the average speed of the node
interaction
the interaction factor
range
the interaction range
constructor(environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>, node: ILsaNode, reaction: Reaction<List<ILsaMolecule>>, tag: ILsaMolecule, speed: Double, interaction: Double, range: Double)(source)
Parameters
environment
the environment
node
the node
reaction
the reaction (used to compute the movement length)
tag
the molecule which identifies the interacting nodes
speed
the average speed of the node
interaction
the interaction factor
range
the interaction range