-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Reaction,java.io.Serializable,kotlin.Comparable
public class BlendedSteering<T extends Object> extends SteeringBehavior<T>
Steering behavior using DistanceWeighted steering strategy (= steering actions are summed with different weights depending on the distance to their target).
-
-
Field Summary
Fields Modifier and Type Field Description private final SteeringStrategy<T, Euclidean2DPosition>steerStrategy
-
Constructor Summary
Constructors Constructor Description BlendedSteering(Euclidean2DEnvironment<T> environment, Pedestrian2D<T> pedestrian, TimeDistribution<T> timeDistribution)
-
Method Summary
Modifier and Type Method Description SteeringStrategy<T, Euclidean2DPosition>getSteerStrategy()-
Methods inherited from class it.unibo.alchemist.model.implementations.reactions.BlendedSteering
cloneOnNewNode, execute, getRate, steerActions -
Methods inherited from class it.unibo.alchemist.model.implementations.reactions.SteeringBehavior
addInboundDependency, addOutboundDependency, canExecute, compareTo, equals, getActions, getConditions, getInboundDependencies, getInputContext, getNode, getOutboundDependencies, getOutputContext, getRateAsString, getReactionName, getTau, getTimeDistribution, hashCode, initializationComplete, makeClone, setActions, setConditions, setInputContext, setOutputContext, toString, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BlendedSteering
BlendedSteering(Euclidean2DEnvironment<T> environment, Pedestrian2D<T> pedestrian, TimeDistribution<T> timeDistribution)
- Parameters:
environment-the environment inside which the pedestrian moves.pedestrian-the owner of this reaction.timeDistribution-the time distribution according to this the reaction executes.
-
-
Method Detail
-
getSteerStrategy
SteeringStrategy<T, Euclidean2DPosition> getSteerStrategy()
-
-
-
-