RCL - RoboCLuedo  v1.0
Francesco Ganci - S4143910 - Experimental Robotics Lab - Assignment 1

◆ RemoveHypothesis()

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.

Parameters
hypTagthe hypothesis tag to discard
Returns
if the hypothesis has been discarded or not; false if the hypothesis wasn't defined before.
Examples
ArmorCluedo - 003 - Reasoning Workflow.

Definition at line 192 of file armor_cluedo.cpp.

References ExistsIndiv().

+ Here is the call graph for this function: