Assignment.h
Go to the documentation of this file.
1 /*
2  * Assignment.h
3  *
4  * Created on: Jul 28, 2011
5  * Author: sdries
6  */
7 
8 #ifndef WM_ASSIGNMENT_H_
9 #define WM_ASSIGNMENT_H_
10 
11 #include <string>
12 
13 namespace mhf {
14 
15 class Evidence;
16 class SemanticObject;
17 
18 class Assignment {
19 
20 public:
21 
23  NEW,
26  };
27 
28  virtual ~Assignment();
29 
30  Assignment(AssignmentType type, const Evidence* evidence, const SemanticObject* target, double probability);
31 
32  AssignmentType getType() const;
33 
34  const Evidence* getEvidence() const;
35 
36  const SemanticObject* getTarget() const;
37 
38  double getProbability() const;
39 
41 
43 
44  std::string toString() const;
45 
46 protected:
47 
49 
51 
53 
54  double probability_;
55 
57 
59 };
60 
61 }
62 
63 #endif /* ASSIGNMENT_H_ */
AssignmentType type_
Definition: Assignment.h:48
double probability_
Definition: Assignment.h:54
SemanticObject * getUpdatedObject() const
Definition: Assignment.cpp:52
Assignment(AssignmentType type, const Evidence *evidence, const SemanticObject *target, double probability)
Definition: Assignment.cpp:16
The class Evidence represents a set of properties (PropertySet) that all originate from one physical ...
Definition: Evidence.h:61
virtual ~Assignment()
Definition: Assignment.cpp:21
AssignmentType getType() const
Definition: Assignment.cpp:24
const SemanticObject * target_
Definition: Assignment.h:52
double getProbability() const
Definition: Assignment.cpp:36
const SemanticObject * getTarget() const
Definition: Assignment.cpp:32
SemanticObject * new_object_
Definition: Assignment.h:56
const Evidence * evidence_
Definition: Assignment.h:50
SemanticObject * updated_object_
Definition: Assignment.h:58
SemanticObject * getNewObject() const
Definition: Assignment.cpp:41
std::string toString() const
Definition: Assignment.cpp:64
const Evidence * getEvidence() const
Definition: Assignment.cpp:28
Definition: ClassModel.h:44


wire_core
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Fri Apr 16 2021 02:32:27