Class ConstantDistanceRandomWalk

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Action , java.io.Serializable

    
    public final class ConstantDistanceRandomWalk<T extends Object>
    extends GenericRandomWalker<T>
                        

    Moves for distance toward a uniformly random chosen direction at a constant speed, then changes direction and walks another distance, and so on.

    Automatically changes direction on impact with obstacles if the environment supports them.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ConstantDistanceRandomWalk<T> cloneAction(Node<T> node, Reaction<T> reaction)
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction

        getOutboundDependencies, toString
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode

        execute, getContext
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractConfigurableMoveNode

        getNextPosition
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait