#include <rules.h>

Public Member Functions | |
| virtual void | add_execution (PredicateList outcome_predicates)=0 | 
| virtual void | add_old_execution (PredicateList outcome_predicates)=0 | 
| void | add_outcome (PredicateList predicates, float init_probability) | 
| void | add_outcome (Outcome outcome) | 
| bool | has_enough_experiences () | 
| virtual bool | needs_learning ()=0 | 
| virtual bool | needs_pasula_learning ()=0 | 
| Rule (const Rule &rule) | |
| Rule (Symbol symbol, PredicateList preconditions, uint m) | |
| void | sanitize_probabities () | 
| bool | satisfiesPreconditions (PredicateList predicates) | 
| virtual void | update_probabilities ()=0 | 
Public Attributes | |
| uint | m_ | 
| OutcomeList | outcomes_ | 
| PredicateGroup | preconditions_ | 
| uint | total_executions_ | 
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Rule &r) | 
| Rule::Rule | ( | const Rule & | rule | ) | 
| Rule::Rule | ( | Symbol | symbol, | 
| PredicateList | preconditions, | ||
| uint | m | ||
| ) | 
| virtual void Rule::add_execution | ( | PredicateList | outcome_predicates | ) |  [pure virtual] | 
        
Implemented in PasulaRule, and MRule.
| virtual void Rule::add_old_execution | ( | PredicateList | outcome_predicates | ) |  [pure virtual] | 
        
Implemented in PasulaRule, and MRule.
| void Rule::add_outcome | ( | PredicateList | predicates, | 
| float | init_probability | ||
| ) | 
| void Rule::add_outcome | ( | Outcome | outcome | ) | 
| virtual bool Rule::needs_learning | ( | ) |  [pure virtual] | 
        
Implemented in PasulaRule, and MRule.
| virtual bool Rule::needs_pasula_learning | ( | ) |  [pure virtual] | 
        
Implemented in PasulaRule, and MRule.
| void Rule::sanitize_probabities | ( | ) | 
| bool Rule::satisfiesPreconditions | ( | PredicateList | predicates | ) | 
| virtual void Rule::update_probabilities | ( | ) |  [pure virtual] | 
        
Implemented in PasulaRule, and MRule.
| std::ostream& operator<< | ( | std::ostream & | out, | 
| const Rule & | r | ||
| ) |  [friend] |