Class NoOtherReactionCanExecute

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

    
    public final class NoOtherReactionCanExecute<T extends Object>
    extends AbstractNonPropensityContributingCondition<T>
                        

    The condition is valid if all the other reactions having at least one condition can not execute. This condition can be used only in a single reaction per node, as multiple instances would lead to undecidable situations.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Node<T> node
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      NoOtherReactionCanExecute<T> cloneCondition(Node<T> node, Reaction<T> reaction) How to override: create a new action of your concrete subtype.
      Context getContext()
      Boolean isValid()
      • Methods inherited from class it.unibo.alchemist.model.conditions.AbstractCondition

        getInboundDependencies, getNode, toString
      • Methods inherited from class it.unibo.alchemist.model.conditions.AbstractNonPropensityContributingCondition

        getPropensityContribution
      • Methods inherited from class it.unibo.alchemist.model.Condition

        reactionReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait