Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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. |
return | void |
public FindClauses ( Structure head, object body ) : IEnumerable |
||
head | Structure | |
body | object | |
return | IEnumerable |
public PredicateInfo ( |
||
functorName | ||
arity | int | |
kb | ||
return | System |
public Retract ( Structure head, object body ) : IEnumerable |
||
head | Structure | |
body | object | |
return | IEnumerable |