ReproduceGPSTrace

constructor(environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: Reaction<T>, path: String, cycle: Boolean, normalizer: String, normalizerArgs: Array<Any>)

Parameters

environment

the environment

node

the node

reaction

the reaction. Will be used to compute the distance to walk in every step, relying on Reaction's getRate() method.

path

resource(file, directory, ...) with GPS trace

cycle

true if the traces have to be distributed cyclically

normalizer

name of the class that implement the strategy to normalize the time

normalizerArgs

Args to build normalize


constructor(environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: Reaction<T>, speed: Double, path: String, cycle: Boolean, normalizer: String, normalizerArgs: Array<Any>)

Parameters

environment

the environment

node

the node

reaction

the reaction. Will be used to compute the distance to walk in every step, relying on Reaction's getRate() method.

speed

the average speed

path

resource(file, directory, ...) with GPS trace

cycle

true if the traces have to be distributed cyclically

normalizer

name of the class that implement the strategy to normalize the time

normalizerArgs

Args to build normalize