public static IEnumerable <Goal> ObstructedGoals(this KAOSModel model) { return(from g in model.Obstructions() select g.ObstructedGoal()); }
public static IEnumerable <Obstacle> RootObstacles(this KAOSModel model) { return(model.Obstructions().Select(x => x.Obstacle())); }