Class LsaAscendingAgent

    • 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.sapere.actions.SAPERELocalAgent

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

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

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

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

        cloneAction, getOutboundDependencies, setExecutionContext
      • Methods inherited from class it.unibo.alchemist.model.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