Object

io.chymyst.jc

GuardAbsent

Related Doc: package jc

Permalink

object GuardAbsent extends GuardPresenceFlag with Product with Serializable

Indicates that a guard was initially present but has been simplified, or it was absent but some molecules have nontrivial pattern matchers (not a wildcard and not a simple variable). In any case, no cross-molecule guard conditions need to be checked for this reaction to start.

Linear Supertypes
Serializable, Serializable, Product, Equals, GuardPresenceFlag, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GuardAbsent
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GuardPresenceFlag
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. val noCrossGuards: Boolean

    Permalink

    Checks whether the reaction has no cross-molecule guard conditions, that is, conditions that cannot be factorized as conjunctions of conditions that each constrain individual molecules.

    Checks whether the reaction has no cross-molecule guard conditions, that is, conditions that cannot be factorized as conjunctions of conditions that each constrain individual molecules.

    For example, go { case a(x) + b(y) if x > y => } has a cross-molecule guard condition, whereas go { case a(x) + b(y) if x > 1 && y < 2 => } has no cross-molecule guard conditions because its guard condition can be split into a conjunction of guard conditions that each constrain the value of one molecule.

    returns

    true if the reaction has no guard condition, or if it has guard conditions that can be split between molecules; false if the reaction has at least one cross-molecule guard condition.

    Definition Classes
    GuardPresenceFlag
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def staticGuardHolds(): Boolean

    Permalink

    Calls a reaction's static guard to check whether the reaction is permitted to start, before examining any molecule values.

    Calls a reaction's static guard to check whether the reaction is permitted to start, before examining any molecule values.

    A static guard is a reaction guard that does not depend on molecule values. For example, go { case a(x) if n > 0 && x < n => ...} contains a static guard n > 0 and a non-static guard x < n. A static guard could depend on mutable global values, such as n, and so it is evaluated each time.

    Note that the static guard could be evaluated even if the reaction site does not have enough input molecules for the reaction to start. Avoid putting side effects into the static guard!

    returns

    true if the reaction's static guard returns true or is absent. false if the reaction has a static guard, and if the guard returns false.

    Definition Classes
    GuardPresenceFlag
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GuardPresenceFlag

Inherited from AnyRef

Inherited from Any

Ungrouped