public Antecedent AND(Judgment judgment) { JudgmentLine line = new JudgmentLine(LogicalConnection.AND, new List <Judgment> { judgment }); antecedent.Add(line); return(this); }
public override bool Equals(object obj) { if (obj is Judgment) { Judgment judgment = obj as Judgment; if (Title == judgment.Title && FuzzyValue == judgment.FuzzyValue) { return(true); } else { return(false); } } else { throw new ArgumentException(); } }
public bool Contains(Judgment judgment) { return(this.Judgments.Contains(judgment)); }
public bool Contains(Judgment judgment) { return(antecedent.Any(le => le.Contains(judgment))); }