Class BrownianMove

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

    
    public final class BrownianMove<T, P extends Position<P>>
    extends AbstractMoveNode<T, P>
                        

    Moves the node randomly.

    • 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
      Action<T> cloneAction(Node<T> node, Reaction<T> reaction)
      P getNextPosition()
      • Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode

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

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

        execute, getContext, getOutboundDependencies
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BrownianMove

        BrownianMove(Environment<T, P> environment, Node<T> node, RandomGenerator randomGenerator, double range)
        Parameters:
        environment - the environment
        node - the node
        randomGenerator - the simulation RandomGenerator.
        range - the maximum distance the node may walk in a single step for each dimension