Interface Action

  • All Implemented Interfaces:
    java.io.Serializable

    
    public interface Action<T>
     implements Serializable
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • cloneAction

         abstract Action<T> cloneAction(Node<T> node, Reaction<T> reaction)

        This method allows to clone this action on a new node. It may result useful to support runtime creation of nodes with the same reaction programming, e.g. for morphogenesis.

        Parameters:
        node - The node where to clone this Action
        reaction - The reaction to which the CURRENT action is assigned
        Returns:

        the cloned action

      • execute

         abstract void execute()

        Effectively executes this action.