메소드 | 설명 | |
---|---|---|
Assert ( |
Adds a KnowledgeBaseRule to the predicate. NOT THREADSAFE!
|
|
Compile ( ) : void |
Byte compiles all the rules in this predicate.
|
|
Disassemble ( ) : void |
Prints to the console the disassembled bytecode for all rules in this predicate.
|
|
FindClauses ( Structure head, object body ) : IEnumerable |
||
PredicateInfo ( |
Creates a blank DB entry for the specified functor
|
|
Retract ( Structure head, object body ) : IEnumerable |
||
RetractAll ( Structure head ) : void | ||
ToString ( ) : string |
메소드 | 설명 | |
---|---|---|
GetEntriesListForUpdate ( ) : List |
||
Prove ( object args, |
||
StackCall ( |
||
TestClausesInOrder ( object args, |
Tests clauses in the order they appear in the database.
|
|
TestCompiledClauses ( |
||
TestShuffledClauses ( object args, |
Tests clauses in a randomized order (but still exhaustively). Uses Shuffler to generate a random permutation.
|
public Assert ( |
||
assertion | The rule to add | |
atEnd | bool | If true, adds to be beginning, else the end. |
리턴 | void |
public FindClauses ( Structure head, object body ) : IEnumerable |
||
head | Structure | |
body | object | |
리턴 | IEnumerable |
public PredicateInfo ( |
||
functorName | ||
arity | int | |
kb | ||
리턴 | System |
public Retract ( Structure head, object body ) : IEnumerable |
||
head | Structure | |
body | object | |
리턴 | IEnumerable |