Пример #1
0
 /// <summary>
 /// Instantiates a new Implication.
 /// </summary>
 /// <param name="label">The label of the new implication.</param>
 /// <param name="priority">The priority  of the new implication.</param>
 /// <param name="mutex">String.Empty or the label of an implication mutexed by the new one.</param>
 /// <param name="precondition">String.Empty or the label of an implication that preconditions the new one.</param>
 /// <param name="deduction">The Atom used as a prototype for what this Implication tries to proove.</param>
 /// <param name="atomGroup">The top level group of atoms used in the query part (pattern matching) of the new Implication.</param>
 /// <see cref="NxBRE.InferenceEngine.Rules.ImplicationPriority"/>
 public Implication(string label,
                    ImplicationPriority priority,
                    string mutex,
                    string precondition,
                    Atom deduction,
                    AtomGroup atomGroup) : this(label,
                                                (int)priority,
                                                mutex,
                                                precondition,
                                                deduction,
                                                atomGroup)
 {
 }
Пример #2
0
        /// <summary>
        /// Instantiates a new Implication.
        /// </summary>
        /// <param name="label">The label of the new implication.</param>
        /// <param name="priority">The priority  of the new implication.</param>
        /// <param name="mutex">String.Empty or the label of an implication mutexed by the new one.</param>
        /// <param name="precondition">String.Empty or the label of an implication that preconditions the new one.</param>
        /// <param name="deduction">The Atom used as a prototype for what this Implication tries to proove.</param>
        /// <param name="atomGroup">The top level group of atoms used in the query part (pattern matching) of the new Implication.</param>
        /// <see cref="NxBRE.InferenceEngine.Rules.ImplicationPriority"/>
        public Implication(string label,
            ImplicationPriority priority,
            string mutex,
            string precondition,
            Atom deduction,
            AtomGroup atomGroup)
            : this(label,
		                                             (int)priority,
		                                             mutex,
		                                             precondition,
		                                             deduction,
		                                             atomGroup)
        {
        }