SAPEREWalker

Constructors

Link copied to clipboard
constructor(environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>, node: ILsaNode, reaction: Reaction<List<ILsaMolecule>>, speed: Double, interaction: Double, range: Double)
constructor(environment: MapEnvironment<List<ILsaMolecule>, GraphHopperOptions, GraphHopperRoutingService>, node: ILsaNode, reaction: Reaction<List<ILsaMolecule>>, tag: ILsaMolecule, speed: Double, interaction: Double, range: Double)

Properties

Link copied to clipboard
The default molecule that identifies an interacting object.

Functions

Link copied to clipboard
abstract fun cloneAction(node: Node<T>, reaction: Reaction<T>): Action<T>
This method allows to clone this action on a new node.
Fails, can't be cloned.
Link copied to clipboard
open fun execute()
Detects if the move is in absolute or relative coordinates, then calls the correct method on the Environment.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getNode(): ILsaNode
Link copied to clipboard
abstract fun getOutboundDependencies(): ListSet<? extends Dependency>
Link copied to clipboard
open fun setExecutionContext(matches: Map<HashString, ITreeNode<out Any>>, nodes: List<ILsaNode>)
Sets the context in which this action will execute.
Link copied to clipboard
open fun toString(): String