public HillClimb() { this.setOfMinimalDiagnoses = new Trie <Diagnosis>(); this.tools = new DiagnosisTools(); }
/// <summary> ///Accepts as input a set of diagnoses and single diagnosis. ///Used trie data structure to alocate the diagnosis. ///Returns a boolean variable that represents whether the diagnosis is part of the set. /// </summary> /// <param name="R">The data structure that alocate all the uniq diagnosis (minimal).</param> /// <param name="W">The current diagnosis.</param> public bool IsSubsumed(Trie <Diagnosis> R, Diagnosis w) { trie = R; return(verifySubsumed(w.TheDiagnosis)); }