AIMA.Core.Logic.FOL.Inference.AbstractModulation.getMatchingSubstitution C# (CSharp) Метод

getMatchingSubstitution() защищенный Метод

protected getMatchingSubstitution ( Term toMatch, AtomicSentence expression ) : IdentifyCandidateMatchingTerm
toMatch Term
expression AtomicSentence
Результат IdentifyCandidateMatchingTerm
        protected IdentifyCandidateMatchingTerm getMatchingSubstitution(
                Term toMatch, AtomicSentence expression)
        {

            IdentifyCandidateMatchingTerm icm = new IdentifyCandidateMatchingTerm(
                    toMatch, expression, this);

            if (icm.isMatch())
            {
                return icm;
            }

            // indicates no match
            return null;
        }