5 #include "drawInterface.h" 7 #include "src/LearningContext.h" 8 #include "src/HierarchyTree.h" 9 #include "src/LearningConcept.h" 10 #include "src/LearningContextualisedObject.h" 20 bool setParameters(QDomNode &config);
26 bool draw(QImage **image);
28 bool paint(QImage *image);
30 void displayShowLearningHighlightP(QPainter &painter,
int W,
int H, miles::SpLearningContext lc);
31 void displayShowLearningHighlightAttribute(QPainter &painter,
int W,
int H, miles::SpLearningContext lc);
32 void displayShowLearningRecognised(QPainter &painter,
int W,
int H, miles::SpLearningContext lc);
34 void getMostLikelyEventsFromStates(
double threshold, std::map<long int, miles::SpLearningStateConcept>& conceptsToShow,
35 std::map<long int, miles::SpLearningEventConcept>& eventsToShow,
36 miles::SpLearningContext lc);
37 void displayShowLearningEvents(QPainter &painter,
int W,
int H,
38 std::map<long int, miles::SpLearningEventConcept>& eventsToShow,
39 std::map<long int, miles::SpLearningStateConcept>& registeredStates);
40 void getLikelyRecognisedStates(
double P, std::map<long int, miles::SpLearningStateConcept> &states,
41 miles::SpLearningContext lc);
42 void recurseToLikelyEvents(
bool isLikely, miles::SpLearningStateConcept state,
double threshold,
43 std::map<long int, miles::SpLearningStateConcept>& conceptsToAdd,
44 std::map<long int, miles::SpLearningEventConcept>& eventsToShow,
45 double P, miles::SpLearningContext lc);
46 void getEventsImage(QImage &im, std::map<long int, miles::SpLearningEventConcept>& eventsToShow,
47 std::map<long int, miles::SpLearningStateConcept>& registeredStates,
48 miles::attribute_id X, miles::attribute_id Y);
49 void paintArrow(QImage &im,
int x1,
int y1,
int x2,
int y2,
double P,
double maxP);
51 bool m_activeLearningDisplay;
53 bool m_showRecognised;
60 double m_PEventThreshold;
61 uchar m_learningTransparencyLevel;
62 double m_learningTransparentProbability;
63 miles::attribute_id m_highlightedAttribute;
66 enum learningDisplayType {
67 LD_HighlightAttribute,
70 enum learningDisplayType m_lDisplayType;
73 #endif // SETLEARNING_H Definition: drawInterface.h:23
Definition: setLearning.h:13
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39