|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttuffy.ground.KBMC.AtomCutSet.Stratum
class KBMC.AtomCutSet.Stratum
A stratum is a set of tuples with the same degree-of-freedom.
| Field Summary | |
|---|---|
(package private) java.util.HashSet<Tuple> |
tuples
Set of tuples in this stratum. |
| Constructor Summary | |
|---|---|
KBMC.AtomCutSet.Stratum()
|
|
| Method Summary | |
|---|---|
void |
add(Tuple t)
Add a tuple to this stratum. |
void |
clear()
Empty this stratum. |
boolean |
isEmpty()
Return true if this stratum is empty. |
void |
removeTuplesSubsumedBy(Tuple t)
Remove tuples in this stratum that subsumes the input tuple. |
boolean |
subsumes(Tuple t)
Test whether there is a tuple in this stratum subsumes the input tuple. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.HashSet<Tuple> tuples
| Constructor Detail |
|---|
KBMC.AtomCutSet.Stratum()
| Method Detail |
|---|
public void add(Tuple t)
t - Added tuple.public boolean subsumes(Tuple t)
Tuple.subsumes(Tuple).
t - tuple to be tested.
public void removeTuplesSubsumedBy(Tuple t)
t - input tuple.subsumes(Tuple).public boolean isEmpty()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||