public bool ContainsCriterionNode(CriterionNode node) { return(GoalNode.SearchChildNodes <CriterionNode>(x => x == node).Count == 1); }
public ICollection <CriterionNode> GetLowestCriterionNodes() { return(GoalNode.SearchChildNodes <CriterionNode>((node) => node.SubcriterionNodes.Count == 0)); }
public Hierarchy(string goalName) { _goalNode = new GoalNode(this, goalName); _alternatives = new List <Alternative>(); }