Class MoleculeHasConcentration

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

    
    public final class MoleculeHasConcentration<T>
    extends AbstractCondition<T>
                        

    A condition that is valid iff a molecule has exactly the desired concentration.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

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

      Enum Constants 
      Enum Constant Description
    • Method Summary

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

        getInboundDependencies, getNode
      • Methods inherited from class it.unibo.alchemist.model.Condition

        cloneCondition, getInboundDependencies, getNode, reactionReady
      • Methods inherited from class java.lang.Object

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