Esempio n. 1
0
        private static void ReportRedundancyInRules(List <SimpleTree> firstSimpleTree, List <SimpleTree> secoundSimpleTree)
        {
            var firstRuleDescription   = ConclusionClass.GetFlatteredRuleDescription(firstSimpleTree);
            var secoundRuleDescription = ConclusionClass.GetFlatteredRuleDescription(secoundSimpleTree);

            MessageBox.Show("Mamy nadmiarowość " + firstRuleDescription + secoundRuleDescription);
        }
Esempio n. 2
0
        private static void ReportRedundancyInConstrains
            (List <SimpleTree> firstSimpleTree, List <SimpleTree> secoundSimpleTree, Constrain value)
        {
            var firstRuleDescription   = ConclusionClass.GetFlatteredRuleDescription(firstSimpleTree);
            var secoundRuleDescription = ConclusionClass.GetFlatteredRuleDescription(secoundSimpleTree);

            MessageBox.Show("Mamy nadmiarowość z ograniczeniem \n" + firstRuleDescription + secoundRuleDescription +
                            "z ograniczeniem numer" + value.NumberOfConstrain);
        }