AIMA.Core.Logic.Propositional.Algorithms.DPLL.dpllSatisfiable C# (CSharp) Метод

dpllSatisfiable() публичный Метод

public dpllSatisfiable ( Sentence s, Model m ) : bool
s AIMA.Core.Logic.Propositional.Parsing.Ast.Sentence
m Model
Результат bool
        public bool dpllSatisfiable(Sentence s, Model m)
        {
            List<Sentence> clauses = new CNFClauseGatherer()
                    .getClausesFrom(new CNFTransformer().transform(s));
            List<Symbol> symbols = new SymbolCollector()
                    .getSymbolsIn(s);
            // System.Console.WriteLine(" numberOfSymbols = " + symbols.Count);
            return dpll(clauses, symbols, m);
        }

Same methods

DPLL::dpllSatisfiable ( Sentence s ) : bool
DPLL::dpllSatisfiable ( String s ) : bool