|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRBNpackage.RelInt
public abstract class RelInt
An object of class RelInt represents the interpretation of one relation in a particular structure.
Field Summary | |
---|---|
protected Rel |
relation
|
Constructor Summary | |
---|---|
RelInt()
|
Method Summary | |
---|---|
abstract int |
addTuple(int[] tup)
Add tup to interpretation (equivalent: set relation(tup)=true). |
abstract int[][] |
allTrue()
Returns an array of all tuples that are true according to this RelInt |
abstract void |
deleteTuple(int[] tup)
Delete tup from interpretation (equivalent: set relation(tup)=false). |
abstract java.util.Vector |
getTuples()
Return all tuples in the interpretation as a vector of int[] |
abstract boolean |
isInInterpretation(int[] tup)
Returns true if the tuple is in the relation; otherwise returns false |
Rel |
rel()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Rel relation
Constructor Detail |
---|
public RelInt()
Method Detail |
---|
public Rel rel()
public abstract int addTuple(int[] tup)
public abstract void deleteTuple(int[] tup)
public abstract boolean isInInterpretation(int[] tup)
public abstract int[][] allTrue()
public abstract java.util.Vector getTuples()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |