#include <Target.h>
Definition at line 35 of file Target.h.
opencog::Target::~Target |
( |
| ) |
|
|
inline |
Handle opencog::Target::get_handle |
( |
| ) |
const |
|
inline |
unsigned int opencog::Target::get_selection_count |
( |
| ) |
const |
|
inline |
Handle opencog::Target::get_vardecl |
( |
| ) |
const |
|
inline |
const VarMultimap& opencog::Target::get_varmap |
( |
| ) |
const |
|
inline |
Get the stored free variable mappings.
- Returns
- a VarMultimap object of the mappings
Definition at line 99 of file Target.h.
References _varmap.
HandleSeq opencog::Target::get_varseq |
( |
| ) |
const |
|
inline |
std::set<Handle> opencog::Target::get_varset |
( |
| ) |
const |
|
inline |
float opencog::Target::get_weight |
( |
| ) |
|
|
inline |
Get the weight associated with this Target.
Useful for perhaps target selection. XXX TODO actually calculate something here
- Returns
- the weight in float
Definition at line 111 of file Target.h.
void opencog::Target::increment_selection_count |
( |
| ) |
|
|
inline |
bool opencog::Target::operator< |
( |
const Target & |
t | ) |
const |
|
inline |
bool opencog::Target::operator== |
( |
const Target & |
t | ) |
const |
|
inline |
unsigned int Target::rule_count |
( |
const Rule & |
r | ) |
|
void Target::store_step |
( |
const Rule & |
r, |
|
|
const HandleSeq & |
premises |
|
) |
| |
Store new variable mappings.
- Parameters
-
vm | a VarMultimap object containing additional mappings |
Definition at line 76 of file Target.cc.
References _varmap.
void Target::store_varmap |
( |
VarMap & |
vm | ) |
|
Store new variable mapping.
- Parameters
-
vm | a VarMap object containing additional mapping |
Definition at line 90 of file Target.cc.
References _varmap.
Handle opencog::Target::_htarget_external |
|
private |
Handle opencog::Target::_htarget_internal |
|
private |
unsigned int opencog::Target::_selection_count |
|
private |
Handle opencog::Target::_vardecl |
|
private |
The documentation for this class was generated from the following files:
- opencog/rule-engine/backwardchainer/Target.h
- opencog/rule-engine/backwardchainer/Target.cc