toggle menu
alchemist
34.1.9
jvm
switch theme
search in API
alchemist-implementationbase
/
it.unibo.alchemist.model.conditions
/
AbstractCondition
Abstract
Condition
abstract
class
AbstractCondition
<
T
>
:
Condition
<
T
>
(
source
)
Parameters
<T>
concentration type
Inheritors
MoleculeHasConcentration
ConcentrationChanged
AbstractNonPropensityContributingCondition
Members
Constructors
Abstract
Condition
Link copied to clipboard
constructor
(
@
Nonnull
node
:
Node
<
T
>
)
Properties
node
Link copied to clipboard
val
node
:
Node
<
T
>
Functions
clone
Condition
Link copied to clipboard
open
fun
cloneCondition
(
node
:
Node
<
T
>
,
reaction
:
Reaction
<
T
>
)
:
Condition
<
T
>
How to override: create a new action of your concrete subtype.
get
Context
Link copied to clipboard
abstract
fun
getContext
(
)
:
Context
get
Inbound
Dependencies
Link copied to clipboard
fun
getInboundDependencies
(
)
:
ListSet
<
out
Dependency
>
How to override: if you intend your condition to be potentially changed by any change in the context, return null.
get
Node
Link copied to clipboard
abstract
fun
getNode
(
)
:
Node
<
T
>
get
Propensity
Contribution
Link copied to clipboard
abstract
fun
getPropensityContribution
(
)
:
Double
is
Valid
Link copied to clipboard
abstract
fun
isValid
(
)
:
Boolean
reaction
Ready
Link copied to clipboard
open
fun
reactionReady
(
)
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String