Method | Description | |
---|---|---|
FOLKnowledgeBase ( |
||
FOLKnowledgeBase ( |
||
FOLKnowledgeBase ( |
||
ToString ( ) : String | ||
ask ( Sentence aQuery ) : InferenceResult | ||
ask ( String aQuerySentence ) : InferenceResult | ||
clear ( ) : void | ||
collectAllVariables ( Sentence aSentence ) : List |
||
convertToCNF ( Sentence aSentence ) : |
||
convertToClauses ( Sentence aSentence ) : List |
||
createAnswerLiteral ( Sentence forQuery ) : |
||
fetch ( List |
||
fetch ( |
||
getAllClauses ( ) : List |
||
getAllDefiniteClauseImplications ( ) : List |
||
getAllDefiniteClauses ( ) : List |
||
getInferenceProcedure ( ) : InferenceProcedure | ||
getNumberFacts ( ) : int | ||
getNumberRules ( ) : int | ||
getOriginalSentences ( ) : List |
||
isRenaming ( |
||
isRenaming ( |
||
setInferenceProcedure ( InferenceProcedure inferenceProcedure ) : void | ||
standardizeApart ( |
||
standardizeApart ( Clause aClause ) : Clause | ||
standardizeApart ( Sentence aSentence ) : Sentence | ||
subst ( Term>.Dictionary |
||
subst ( Term>.Dictionary |
||
subst ( Term>.Dictionary |
||
tell ( String aSentence ) : Sentence | ||
tell ( List |
||
tell ( Sentence aSentence ) : void | ||
unify ( FOLNode x, FOLNode y ) : Term>.Dictionary |
Method | Description | |
---|---|---|
getParser ( ) : |
Method | Description | |
---|---|---|
fetchMatchingFacts ( |
||
getFactKey ( |
||
indexFact ( |
||
recursiveFetch ( Term>.Dictionary |
||
store ( Sentence aSentence ) : void |
public FOLKnowledgeBase ( |
||
domain | ||
return | System |
public FOLKnowledgeBase ( |
||
domain | ||
inferenceProcedure | InferenceProcedure | |
return | System |
public FOLKnowledgeBase ( |
||
domain | ||
inferenceProcedure | InferenceProcedure | |
unifier | ||
return | System |
public ask ( Sentence aQuery ) : InferenceResult | ||
aQuery | Sentence | |
return | InferenceResult |
public ask ( String aQuerySentence ) : InferenceResult | ||
aQuerySentence | String | |
return | InferenceResult |
public collectAllVariables ( Sentence aSentence ) : List |
||
aSentence | Sentence | |
return | List |
public convertToCNF ( Sentence aSentence ) : |
||
aSentence | Sentence | |
return |
public convertToClauses ( Sentence aSentence ) : List |
||
aSentence | Sentence | |
return | List |
public createAnswerLiteral ( Sentence forQuery ) : |
||
forQuery | Sentence | |
return |
public fetch ( |
||
l | ||
return | Term>>.List |
public getAllDefiniteClauseImplications ( ) : List |
||
return | List |
public getInferenceProcedure ( ) : InferenceProcedure | ||
return | InferenceProcedure |
protected getParser ( ) : |
||
return |
public isRenaming ( |
||
l | ||
return | bool |
public isRenaming ( |
||
l | ||
possibleMatches | List |
|
return | bool |
public setInferenceProcedure ( InferenceProcedure inferenceProcedure ) : void | ||
inferenceProcedure | InferenceProcedure | |
return | void |
public standardizeApart ( |
||
aChain | ||
return |
public standardizeApart ( Clause aClause ) : Clause | ||
aClause | Clause | |
return | Clause |
public standardizeApart ( Sentence aSentence ) : Sentence | ||
aSentence | Sentence | |
return | Sentence |
public subst ( Term>.Dictionary |
||
theta | Term>.Dictionary | |
l | ||
return |
public subst ( Term>.Dictionary |
||
theta | Term>.Dictionary | |
aSentence | Sentence | |
return | Sentence |
public subst ( Term>.Dictionary |
||
theta | Term>.Dictionary | |
aTerm | Term | |
return | Term |
public unify ( FOLNode x, FOLNode y ) : Term>.Dictionary |
||
x | FOLNode | |
y | FOLNode | |
return | Term>.Dictionary |