![]() |
RCL - RoboCLuedo
v1.0
Francesco Ganci - S4143910 - Experimental Robotics Lab - Assignment 1
|
bool ArmorCluedo::RemoveHypothesis | ( | std::string | hypTag | ) |
discard one hypothesis
Due to an issue of the implementation of aRMOR, the command "REMOVE
IND CLASS" has no effect on the ontology. So, a workaround has been implemented. The class tracks the hypothesis as discarded; all the other methods are implemented in a way such that a discarded hypothesis doesn't appear anymore as complete or existing. the discarded hypothesis is still in the ontology, but will be discarded with a post filtering, or will become inconsistent.
In RCL there's no need to reconsider hypotheses, so, in this specific context, this approach works well.
hypTag | the hypothesis tag to discard |
Definition at line 192 of file armor_cluedo.cpp.
References ExistsIndiv().