alchemist-full
Toggle table of contents
46.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
alchemist-full
alchemist-incarnation-sapere
/
it.unibo.alchemist.model.sapere
/
ILsaCondition
ILsa
Condition
interface
ILsaCondition
:
Condition
<
List
<
ILsaMolecule
>
>
(
source
)
A condition of the SAPERE incarnation, operating on LSA molecules.
Inheritors
AbstractLsaCondition
Members
Functions
before
Reaction
Fires
Link copied to clipboard
open
fun
beforeReactionFires
(
)
clone
Condition
Link copied to clipboard
abstract
fun
cloneCondition
(
p
:
Reaction
<
T
>
)
:
Condition
<
T
>
dispose
Link copied to clipboard
abstract
fun
dispose
(
)
filter
Link copied to clipboard
abstract
fun
filter
(
matches
:
List
<
Map
<
HashString
,
ITreeNode
<
out
Any
>
>
>
,
validNodes
:
List
<
ILsaNode
>
,
retrieved
:
List
<
Map
<
ILsaNode
,
List
<
ILsaMolecule
>
>
>
)
:
Boolean
When this method is called, the condition must filter the current matches and allowed nodes.
get
Matching
Input
Link copied to clipboard
@
Nonnull
abstract
fun
getMatchingInput
(
)
:
Observable
<
out
Any
>
Observable LSA state used to compute matches for this condition.
get
Reaction
Link copied to clipboard
abstract
fun
getReaction
(
)
:
Reaction
<
T
>
is
Valid
Link copied to clipboard
abstract
fun
isValid
(
)
:
Observable
<
Boolean
>