1 #ifndef INCREMENTALEVENTLEARNING_H 2 #define INCREMENTALEVENTLEARNING_H 10 #include "LearningAttributesSpecification.h" 12 #define MAX_LEN_BUFFER 512 18 static double minConditionalP;
20 QString m_learningContextsFile;
21 QString m_hierarchyStatsFile;
25 SpLearningAttributes availableAttributes;
26 std::map<int, SpLearningContext> validContexts;
27 std::map<unsigned long, SpLearningContextualisedObject> followedObjects;
28 std::map<unsigned long, bool> presentInThisFrame;
29 SpXMLTreeGenerator treeGenerator;
33 void setContextualisedObjects(
Datapool &datapool);
36 bool setParameters(QDomNode &config);
37 void setLearningContexts();
39 bool invalidNumericNameForContext(std::string name, SpLearningContext context);
40 bool invalidSymbolicNameForContext(std::string name, SpLearningContext context);
41 bool invalidValueNameForContext(attribute_id att_id, std::string name);
43 SpLearningStateConcept createNewNode(QDomNode& config, SpLearningContext context,
long int &free_state_id);
44 SpHierarchyTree generateTree(QString filename, SpLearningContext context);
46 QDomDocument *xmlConfig;
47 QDomElement rootConfig;
51 typedef QSharedPointer<IncrementalEventLearning> SpIncrementalEventLearning;
Definition: IncrementalEventLearning.h:16
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39
Definition: HierarchyTree.cpp:12