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