Package it.unibo.alchemist.model.implementations.conditions

Conditions implementations.

Types

Link copied to clipboard
abstract class AbstractCondition<T> : Condition<T>
Link copied to clipboard
abstract class AbstractNeighborCondition<T> : AbstractCondition<T>
Represents a condition on a neighbor.
abstract class AbstractNonPropensityContributingCondition<T>(node: Node<T>) : AbstractCondition<T>

This condition does not influence the reaction propensity, it contributes respectively with 1.0 in case it can execute, or with 0.0 in case it cannot.

Link copied to clipboard
open class BiomolPresentInCell : GenericMoleculePresent<Double>
Link copied to clipboard
class BiomolPresentInEnv<P : Position<out P>?> : GenericMoleculePresent<Double>
Link copied to clipboard
class BiomolPresentInNeighbor : AbstractNeighborCondition<Double>
Link copied to clipboard
class ComputationalRoundComplete : AbstractCondition<Any>
Link copied to clipboard
class ConcentrationChanged<T> : AbstractCondition<T>
A condition that holds true only if the tracked Molecule changed its it.unibo.alchemist.model.interfaces.Concentration.
Link copied to clipboard
class ContainsMolecule<T>(node: Node<T>, molecule: Molecule) : AbstractNonPropensityContributingCondition<T>

The condition is valid if the node contains the molecule.

Link copied to clipboard
class EnvPresent : AbstractCondition<Double>
Link copied to clipboard
open class GenericMoleculePresent<T : Number?> : AbstractCondition<T>
This class implements a condition which checks if a molecule is present or not.
Link copied to clipboard
class GenericMoleculeUnderLevel<T : Number?> : GenericMoleculePresent<T>
Link copied to clipboard
class JunctionPresentInCell : AbstractNeighborCondition<Double>
Link copied to clipboard
abstract class LsaAbstractCondition : AbstractCondition<List<ILsaMolecule>> , ILsaCondition
Link copied to clipboard
class LsaNeighborhoodCondition : LsaStandardCondition
Link copied to clipboard
open class LsaStandardCondition : LsaAbstractCondition
simple LSA-condition (example: ).
Link copied to clipboard
class MoleculeHasConcentration<T> : AbstractCondition<T>
A condition that is valid iff a molecule has exactly the desired concentration.
Link copied to clipboard
class NeighborhoodPresent<T> : 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.
Link copied to clipboard
class NoOtherReactionCanExecute<T>(node: Node<T>, myReaction: Reaction<T>) : 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.

Link copied to clipboard
class TensionPresent : AbstractCondition<Double>
Link copied to clipboard
open class WantToEscape<T, S : Vector<S>, A : GeometricTransformation<S>>(pedestrian: CognitivePedestrian<T, S, A>) : AbstractCondition<T>

The intention of the pedestrian to evacuate or not.