예제 #1
0
        public static IEnumerable <bool> setof
            (object Template, object Goal, IEnumerable <bool> goalIterator, object Bag)
        {
            BagofAnswers bagOfAnswers = new BagofAnswers(Template, Goal);

            foreach (bool l1 in goalIterator)
            {
                bagOfAnswers.add();
            }
            return(bagOfAnswers.resultSet(Bag));
        }
예제 #2
0
        public static IEnumerable <bool> bagofArray
            (object Template, object Goal, IEnumerable <bool> goalIterator, Variable bagArrayVariable)
        {
            BagofAnswers bagOfAnswers = new BagofAnswers(Template, Goal);

            foreach (bool l1 in goalIterator)
            {
                bagOfAnswers.add();
            }
            return(bagOfAnswers.resultArray(bagArrayVariable));
        }