Class BlendedSteering
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Actionable
,it.unibo.alchemist.model.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
private List<Action<T>>
actions
private List<Condition<T>>
conditions
private final TimeDistribution<T>
timeDistribution
private final Node<T>
node
private final Context
inputContext
private final Context
outputContext
private final ListSet<Dependency>
outboundDependencies
private final ListSet<Dependency>
inboundDependencies
private final Double
rate
private final Time
tau
-
Constructor Summary
Constructors Constructor Description BlendedSteering(Euclidean2DEnvironment<T> environment, PedestrianProperty<T> pedestrian, TimeDistribution<T> timeDistribution)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.cognitive.reactions.SteeringBehavior
cloneOnNewNode, execute, getSteerStrategy, steerActions
-
Methods inherited from class it.unibo.alchemist.model.reactions.AbstractReaction
canExecute, compareTo, equals, getActions, getConditions, getInboundDependencies, getInputContext, getNode, getOutboundDependencies, getOutputContext, getTau, getTimeDistribution, hashCode, initializationComplete, setActions, setConditions, toString, update
-
Methods inherited from class it.unibo.alchemist.model.Actionable
getRate
-
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, PedestrianProperty<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.
-
-
-
-