Class NeighborhoodPresent

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

    
    public final class NeighborhoodPresent<T>
    extends AbstractNeighborCondition<T>
                        

    A condition is valid if the node has a neighborhood, formally if the node has at least one node connected by a linking rule.

    • 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
      NeighborhoodPresent<T> cloneCondition(Node<T> node, Reaction<T> r)
      boolean isValid()
      String toString()
      • Methods inherited from class it.unibo.alchemist.model.conditions.AbstractCondition

        cloneCondition, getInboundDependencies, getNode
      • Methods inherited from class it.unibo.alchemist.model.biochemistry.conditions.AbstractNeighborCondition

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

        getContext, getPropensityContribution, reactionReady
      • Methods inherited from class java.lang.Object

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