interface Dependency : Serializable
This interface represents a token that may generate a dependency between two reactions. Some special built-in tokens are EVERYTHING, EVERY_MOLECULE, MOVEMENT, and NEIGHBORHOOD_CHANGE. Molecules are dependencies as well.
EVERY_MOLECULE |
Declares a dependency towards any modified molecule in the reachable scope. static val EVERY_MOLECULE: Dependency! |
EVERYTHING |
Declares a dependency towards any other reaction in the reachable scope. static val EVERYTHING: Dependency! |
MOVEMENT |
Declares a dependency on movement of nodes in the reachable scope. static val MOVEMENT: Dependency! |
dependsOn |
Determines whether this dependency depends on the provided dependency. The default behavior requires equality. open fun dependsOn(dependency: Dependency!): Boolean |
makesDependent |
Determines whether the provided dependency depends on this dependency. The default behavior calls open fun makesDependent(dependency: Dependency!): Boolean |
Molecule |
Interface for a molecule. interface Molecule : Dependency |