|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRBNpackage.RelInt
RBNpackage.MatrixRel
public class MatrixRel
Field Summary |
---|
Fields inherited from class RBNpackage.RelInt |
---|
relation |
Constructor Summary | |
---|---|
MatrixRel()
Creates new MatrixRel |
|
MatrixRel(Rel r,
int domsize)
Creates new MatrixRel |
Method Summary | |
---|---|
int |
addTuple(int[] tup)
Add tup to interpretation (equivalent: set relation(tup)=true). |
void |
deleteNode(int node)
|
void |
deleteTuple(int[] tup)
Delete tup from interpretation (equivalent: set relation(tup)=false). |
boolean |
isInInterpretation(int[] tup)
Returns true if the tuple is in the relation; otherwise returns false |
Methods inherited from class RBNpackage.RelInt |
---|
allTrue, getTuples, rel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatrixRel()
public MatrixRel(Rel r, int domsize)
Method Detail |
---|
public int addTuple(int[] tup)
RelInt
addTuple
in class RelInt
public void deleteTuple(int[] tup)
RelInt
deleteTuple
in class RelInt
public void deleteNode(int node)
public boolean isInInterpretation(int[] tup)
RelInt
isInInterpretation
in class RelInt
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |