C# 클래스 AIMA.Core.Logic.FOL.KB.FOLKnowledgeBase

파일 보기 프로젝트 열기: PaulMineau/AIMA.Net 1 사용 예제들

공개 메소드들

메소드 설명
FOLKnowledgeBase ( FOLDomain domain ) : System
FOLKnowledgeBase ( FOLDomain domain, InferenceProcedure inferenceProcedure ) : System
FOLKnowledgeBase ( FOLDomain domain, InferenceProcedure inferenceProcedure, Unifier unifier ) : System
ToString ( ) : String
ask ( Sentence aQuery ) : InferenceResult
ask ( String aQuerySentence ) : InferenceResult
clear ( ) : void
collectAllVariables ( Sentence aSentence ) : List
convertToCNF ( Sentence aSentence ) : CNF
convertToClauses ( Sentence aSentence ) : List
createAnswerLiteral ( Sentence forQuery ) : Literal
fetch ( List literals ) : Term>>.List
fetch ( Literal l ) : Term>>.List
getAllClauses ( ) : List
getAllDefiniteClauseImplications ( ) : List
getAllDefiniteClauses ( ) : List
getInferenceProcedure ( ) : InferenceProcedure
getNumberFacts ( ) : int
getNumberRules ( ) : int
getOriginalSentences ( ) : List
isRenaming ( Literal l ) : bool
isRenaming ( Literal l, List possibleMatches ) : bool
setInferenceProcedure ( InferenceProcedure inferenceProcedure ) : void
standardizeApart ( Chain aChain ) : Chain
standardizeApart ( Clause aClause ) : Clause
standardizeApart ( Sentence aSentence ) : Sentence
subst ( Term>.Dictionary theta, Literal l ) : Literal
subst ( Term>.Dictionary theta, Sentence aSentence ) : Sentence
subst ( Term>.Dictionary theta, Term aTerm ) : Term
tell ( String aSentence ) : Sentence
tell ( List sentences ) : void
tell ( Sentence aSentence ) : void
unify ( FOLNode x, FOLNode y ) : Term>.Dictionary

보호된 메소드들

메소드 설명
getParser ( ) : FOLParser

비공개 메소드들

메소드 설명
fetchMatchingFacts ( Literal l ) : List
getFactKey ( Literal l ) : String
indexFact ( Literal fact ) : void
recursiveFetch ( Term>.Dictionary theta, Literal l, List remainingLiterals, Term>.List possibleSubstitutions ) : void
store ( Sentence aSentence ) : void

메소드 상세

FOLKnowledgeBase() 공개 메소드

public FOLKnowledgeBase ( FOLDomain domain ) : System
domain AIMA.Core.Logic.FOL.Domain.FOLDomain
리턴 System

FOLKnowledgeBase() 공개 메소드

public FOLKnowledgeBase ( FOLDomain domain, InferenceProcedure inferenceProcedure ) : System
domain AIMA.Core.Logic.FOL.Domain.FOLDomain
inferenceProcedure InferenceProcedure
리턴 System

FOLKnowledgeBase() 공개 메소드

public FOLKnowledgeBase ( FOLDomain domain, InferenceProcedure inferenceProcedure, Unifier unifier ) : System
domain AIMA.Core.Logic.FOL.Domain.FOLDomain
inferenceProcedure InferenceProcedure
unifier AIMA.Core.Logic.FOL.Unifier
리턴 System

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

ask() 공개 메소드

public ask ( Sentence aQuery ) : InferenceResult
aQuery Sentence
리턴 InferenceResult

ask() 공개 메소드

public ask ( String aQuerySentence ) : InferenceResult
aQuerySentence String
리턴 InferenceResult

clear() 공개 메소드

public clear ( ) : void
리턴 void

collectAllVariables() 공개 메소드

public collectAllVariables ( Sentence aSentence ) : List
aSentence Sentence
리턴 List

convertToCNF() 공개 메소드

public convertToCNF ( Sentence aSentence ) : CNF
aSentence Sentence
리턴 AIMA.Core.Logic.FOL.KB.Data.CNF

convertToClauses() 공개 메소드

public convertToClauses ( Sentence aSentence ) : List
aSentence Sentence
리턴 List

createAnswerLiteral() 공개 메소드

public createAnswerLiteral ( Sentence forQuery ) : Literal
forQuery Sentence
리턴 AIMA.Core.Logic.FOL.KB.Data.Literal

fetch() 공개 메소드

public fetch ( List literals ) : Term>>.List
literals List
리턴 Term>>.List

fetch() 공개 메소드

public fetch ( Literal l ) : Term>>.List
l AIMA.Core.Logic.FOL.KB.Data.Literal
리턴 Term>>.List

getAllClauses() 공개 메소드

public getAllClauses ( ) : List
리턴 List

getAllDefiniteClauseImplications() 공개 메소드

public getAllDefiniteClauseImplications ( ) : List
리턴 List

getAllDefiniteClauses() 공개 메소드

public getAllDefiniteClauses ( ) : List
리턴 List

getInferenceProcedure() 공개 메소드

public getInferenceProcedure ( ) : InferenceProcedure
리턴 InferenceProcedure

getNumberFacts() 공개 메소드

public getNumberFacts ( ) : int
리턴 int

getNumberRules() 공개 메소드

public getNumberRules ( ) : int
리턴 int

getOriginalSentences() 공개 메소드

public getOriginalSentences ( ) : List
리턴 List

getParser() 보호된 메소드

protected getParser ( ) : FOLParser
리턴 AIMA.Core.Logic.FOL.Parsing.FOLParser

isRenaming() 공개 메소드

public isRenaming ( Literal l ) : bool
l AIMA.Core.Logic.FOL.KB.Data.Literal
리턴 bool

isRenaming() 공개 메소드

public isRenaming ( Literal l, List possibleMatches ) : bool
l AIMA.Core.Logic.FOL.KB.Data.Literal
possibleMatches List
리턴 bool

setInferenceProcedure() 공개 메소드

public setInferenceProcedure ( InferenceProcedure inferenceProcedure ) : void
inferenceProcedure InferenceProcedure
리턴 void

standardizeApart() 공개 메소드

public standardizeApart ( Chain aChain ) : Chain
aChain AIMA.Core.Logic.FOL.KB.Data.Chain
리턴 AIMA.Core.Logic.FOL.KB.Data.Chain

standardizeApart() 공개 메소드

public standardizeApart ( Clause aClause ) : Clause
aClause Clause
리턴 Clause

standardizeApart() 공개 메소드

public standardizeApart ( Sentence aSentence ) : Sentence
aSentence Sentence
리턴 Sentence

subst() 공개 메소드

public subst ( Term>.Dictionary theta, Literal l ) : Literal
theta Term>.Dictionary
l AIMA.Core.Logic.FOL.KB.Data.Literal
리턴 AIMA.Core.Logic.FOL.KB.Data.Literal

subst() 공개 메소드

public subst ( Term>.Dictionary theta, Sentence aSentence ) : Sentence
theta Term>.Dictionary
aSentence Sentence
리턴 Sentence

subst() 공개 메소드

public subst ( Term>.Dictionary theta, Term aTerm ) : Term
theta Term>.Dictionary
aTerm Term
리턴 Term

tell() 공개 메소드

public tell ( String aSentence ) : Sentence
aSentence String
리턴 Sentence

tell() 공개 메소드

public tell ( List sentences ) : void
sentences List
리턴 void

tell() 공개 메소드

public tell ( Sentence aSentence ) : void
aSentence Sentence
리턴 void

unify() 공개 메소드

public unify ( FOLNode x, FOLNode y ) : Term>.Dictionary
x FOLNode
y FOLNode
리턴 Term>.Dictionary