Last
Last
¶
Bases: Activation
Activation method that activates the first \(n\) rules (in reverse insertion order) whose activation degrees are greater than or equal to the threshold.
related
Attributes¶
Functions¶
__init__
¶
activate
¶
activate(rule_block: RuleBlock) -> None
Activate the last \(n\) rules (in reverse insertion order) whose activation degrees are greater than or equal to the threshold.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
rule_block |
RuleBlock
|
rule block to activate. |
required |