SAPEREWalker
class SAPEREWalker(environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>, reaction: NodeReaction<List<ILsaMolecule>>, tag: ILsaMolecule, speed: Double, interaction: Double, range: Double) : MoveOnMap<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService> , ILsaAction(source)
Follows a GPS trace on the streets, slowing down by the interaction factor near the nodes tagged with tag within range. The reaction is used to compute the movement length, the node walks at an average speed.
Constructors
Link copied to clipboard
constructor(environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>, reaction: NodeReaction<List<ILsaMolecule>>, tag: ILsaMolecule, speed: Double, interaction: Double, range: Double)
constructor(environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>, reaction: NodeReaction<List<ILsaMolecule>>, speed: Double, interaction: Double, range: Double)
Builds a walker interacting with the nodes tagged with DEFAULT_INTERACTING_TAG.
Properties
Link copied to clipboard
override val environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setExecutionContext(matches: MutableMap<HashString, ITreeNode<*>>?, nodes: MutableList<ILsaNode>?)
Sets the context in which this action will execute.