public override bool NeedRelyOn(Term other) { return(_typesOfRelyOn.Contains(other.GetType())); }
public override bool Repellent(Term other) { return(base.Repellent(other) || !_typesOfRelyOn.Contains(other.GetType())); }
private static bool HolidayTermCreation(TimeBox sender, Term other, IOrderedEnumerable <Term> orderedTerms) { return(!orderedTerms.OfType <IIndependenceTerm>().Any(o => other.HrDateEq(o))); }