Package 

Class LsaAscendingAgent

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

    
    public final class LsaAscendingAgent<P extends Position2D<out P>>
    extends SAPEREMoveNodeAgent<P>
                        
    • 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
      void execute()
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.SAPERELocalAgent

        getContext
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.SAPEREAgent

        cloneAction, toString
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.LsaAbstractAction

        cloneAction, getNode, setExecutionContext
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractAction

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

        cloneAction, getOutboundDependencies, setExecutionContext
      • Methods inherited from class it.unibo.alchemist.model.interfaces.Action

        cloneAction, getContext
      • Methods inherited from class java.lang.Object

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

      • LsaAscendingAgent

        LsaAscendingAgent(Reaction<List<ILsaMolecule>> reaction, Environment<List<ILsaMolecule>, P> environment, ILsaNode node, LsaMolecule molecule, int pos)
        Parameters:
        reaction - firing reaction
        environment - the current environment
        node - the current node
        molecule - the LSA to inspect once moving (typically a gradient)
        pos - the position in the LSA of the value to read for identifying the new position