Package-level declarations

Types

Link copied to clipboard

A walker following a mandatory GPS trace on the streets of the map.

Link copied to clipboard
open class MoveOnMap<T, O : RoutingServiceOptions<O>, S : RoutingService<GeoPosition, O>>(val environment: MapEnvironment<T, O, S>, reaction: NodeReaction<T>, routingStrategy: RoutingStrategy<T, GeoPosition>, speedSelectionStrategy: SpeedSelectionStrategy<T, GeoPosition>, targetSelectionStrategy: TargetSelectionStrategy<T, GeoPosition>) : AbstractConfigurableMoveNode<T, GeoPosition>

Moves the node on a map, combining a routing, a speed selection, and a target selection strategy. Positions are absolute.

Link copied to clipboard
open class MoveOnMapWithGPS<T, O : RoutingServiceOptions<O>, S : RoutingService<GeoPosition, O>>(environment: MapEnvironment<T, O, S>, reaction: NodeReaction<T>, routingStrategy: RoutingStrategy<T, GeoPosition>, speedSelectionStrategy: SpeedSelectionStrategy<T, GeoPosition>, targetSelectionStrategy: TargetSelectionStrategy<T, GeoPosition>, trace: GPSTrace) : MoveOnMap<T, O, S>

Basic action that follows a GPSTrace.

Link copied to clipboard
class RandomTargetInPolygonOnMap<T, O : RoutingServiceOptions<O>, S : RoutingService<GeoPosition, O>>(environment: MapEnvironment<T, O, S>, reaction: NodeReaction<T>, speed: Double, val positionGenerator: Polygon<GeoPosition>) : MoveOnMap<T, O, S>

This actions generates random waypoints inside a Polygon. The polygon can be provided either through as a deployment (positionGenerator), or as List<List<Number>> (polygonCoordinates)

Link copied to clipboard

Reproduces a GPS trace, moving along straight lines regardless of the streets. The rate of the owning reaction determines the distance walked at each step.

Link copied to clipboard
open class TargetMapWalker<T, O : RoutingServiceOptions<O>, S : RoutingService<GeoPosition, O>> @JvmOverloads constructor(environment: MapEnvironment<T, O, S>, reaction: NodeReaction<T>, trackMolecule: Molecule, interactingMolecule: Molecule?, speed: Double = DEFAULT_SPEED, interaction: Double = DEFAULT_INTERACTION, range: Double = DEFAULT_RANGE) : MoveOnMap<T, O, S>

Walks on the streets of the map towards the target stored in a molecule of the node.