|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.pdatalog.Relation
de.unidu.is.pdatalog.IDBRelation
A class for pDatalog++ relation derived by rules (corresponding to an intensional predicate).
| Field Summary |
| Fields inherited from class de.unidu.is.pdatalog.Relation |
arity, base, name |
| Constructor Summary | |
IDBRelation(RelationBase base,
java.lang.String name,
int arity)
Constructs a new relation, and automatically adds it to the relation base. |
|
IDBRelation(RelationBase base,
java.lang.String name,
int arity,
boolean create)
Constructs a new relation, and automatically adds it to the relation base. |
|
| Method Summary | |
void |
compute(java.util.Collection rules)
Computes the result of the specified rules. |
void |
compute(Rule rule)
Computes the result of the specified rule. |
void |
computeDisjoint(java.util.Collection rules)
Computes the result of the specified rules. |
| Methods inherited from class de.unidu.is.pdatalog.Relation |
getArity, getName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IDBRelation(RelationBase base,
java.lang.String name,
int arity)
base - corresponding relation basename - relatio n namearity - arity of the relation
public IDBRelation(RelationBase base,
java.lang.String name,
int arity,
boolean create)
base - corresponding relation basename - relatio n namearity - arity of the relationcreate - if true, the relation is physically created| Method Detail |
public void compute(Rule rule)
rule - single rulefor this relationpublic void compute(java.util.Collection rules)
rules - collection of rules for this relationpublic void computeDisjoint(java.util.Collection rules)
rules - collection of rules for this relation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||