public ConstraintResult CanConstrain(PlanningItem pi)
        {
            var pq = new PQAsserter(pi);

            //NN pq.ContainsOneOrMoreElectrine()
            return(pq.HasImage().CumulativeResult);
        }
示例#2
0
        public ConstraintResult CanConstrain(PlanningItem pi)
        {
            var pq = new PQAsserter(pi);

            //return pq.IsPlanSetup().HasImage().CumulativeResult;
            return(pq.HasImage().CumulativeResult);
        }
        public ConstraintResult CanConstrain(PlanningItem pi)       // evaluate: is this even an applicable constraint?
        {
            var pq = new PQAsserter(pi);                            // PQAAsserter: collection of simple applicability tests

            return(pq.HasImage().CumulativeResult);
        }