public ICollection <CriterionNode> GetLowestCriterionNodes() { return(GoalNode.SearchChildNodes <CriterionNode>((node) => node.SubcriterionNodes.Count == 0)); }
public bool ContainsCriterionNode(CriterionNode node) { return(GoalNode.SearchChildNodes <CriterionNode>(x => x == node).Count == 1); }