filter Directory Reference
+ Directory dependency graph for filter:

Directories

 equalityFilter
 
 frequencyFilter
 
 importanceFilter
 
 similarityFilter
 

Files

 Filter.cpp
 
 Filter.h
 

Detailed Description

Filters are used while writing working-memory snapshots into long-term memory (LTM). They decide whether a new snapshot should be stored or rejected, so LTM keeps useful changes without saving every repeated or low-value observation.

Implemented filters

Importance values

Importance values describe how relevant a field is for filtering decisions. They can be set in the ARON XML type definition by adding an importance attribute to an ObjectChild field:

<ObjectChild key='position' importance="0.75">
<float32 default="0.0"/>
</ObjectChild>

The value must be a float between 0 and 1. A value of 0 marks the field as irrelevant for equality and similarity comparisons, while higher values give the field more weight in importance-based comparisons. Not assigning an importance value implicitly assumes that importance is set to 1.