First
First
¶
Bases: Activation
Activate the first \(n\) rules (in 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 first \(n\) rules (in 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 |