Class SAPERENeighborAgent

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

    
    public abstract class SAPERENeighborAgent<P extends Position<P>>
    extends SAPEREAgent
                        

    A SAPERE Agent that modifies something on neighboring nodes.

    • 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
      final Context 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, execute
      • Methods inherited from class java.lang.Object

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

      • SAPERENeighborAgent

        SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1)
        Creates a new SAPERE Neighbor Agent stub.
        Parameters:
        environment - The current environment
        node - The node in which this agent stays
        m1 - The molecule template it modifies
      • SAPERENeighborAgent

        SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1, ILsaMolecule m2)
        Creates a new SAPERE Agent stub.
        Parameters:
        environment - The current environment
        node - The node in which this agent stays
        m1 - The first molecule template it modifies
        m2 - The second molecule template it modifies
      • SAPERENeighborAgent

        SAPERENeighborAgent(Environment<List<ILsaMolecule>, P> environment, ILsaNode node, ILsaMolecule m1, ILsaMolecule m2, ILsaMolecule m3)
        Creates a new SAPERE Agent stub.
        Parameters:
        environment - The current environment
        node - The node in which this agent stays
        m1 - The first molecule template it modifies
        m2 - The second molecule template it modifies
        m3 - The third molecule template it modifies