|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.mff.ksi.jinfer.functionalDependencies.TupleFactory
public final class TupleFactory
Support class responsible for creating and checking tree tuples.
| Method Summary | |
|---|---|
static List<Tuple> |
createTuples(RXMLTree tree)
Create all tuples for particular tree. |
static List<PathAnswer> |
getFDSidePathAnswers(RXMLTree tree,
Tuple tuple,
SidePaths sidePaths,
boolean isThesis)
Get list of path answers of particular side of functional dependency of particular tuple. |
static List<Pair<Tuple,Tuple>> |
getTuplePairNotSatisfyingFD(RXMLTree tree,
FD fd)
Get all tuple pairs which not satisfies provided functional dependency. |
static List<Pair<Tuple,Tuple>> |
getTuplePairNotSatisfyingFDThesis(RXMLTree tree,
FD fd)
Get all tuple pairs which not satisfies provided functional dependency. |
static List<Pair<Tuple,Tuple>> |
getTuplePairs(List<Tuple> tuples)
Get all possible pair of provided tuples. |
static boolean |
isTuple(RXMLTree tree,
Tuple tuple)
Check if provided tuple is a tree tuple. |
static void |
removeTuple(RXMLTree tree,
Tuple tuple)
Removes tuple from tree. |
static void |
removeTuples(RXMLTree tree,
Set<Tuple> tuplesToRemove)
Remove all tuples provided in a set from tree. |
static Collection<Tuple> |
unmarkNodeFromAllTuples(RXMLTree tree,
Node node)
Unmark particular node from all tuples it is part of. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isTuple(RXMLTree tree,
Tuple tuple)
tree - Tree over which is tuple defined.tuple - Tuple to be checked.
public static void removeTuple(RXMLTree tree,
Tuple tuple)
tree - Tree from which is tuple removed.tuple - Tuple to be removed.
public static void removeTuples(RXMLTree tree,
Set<Tuple> tuplesToRemove)
tree - Tree from which are tuples removed.tuplesToRemove - Set of tuples to be removed.
public static List<Tuple> createTuples(RXMLTree tree)
throws InterruptedException
tree - Tree for which to create tuples.
InterruptedException - if user interrupted repairing.
public static List<Pair<Tuple,Tuple>> getTuplePairs(List<Tuple> tuples)
throws InterruptedException
tuples - List of tuples from which are pairs created.
InterruptedException - if user interrupted repairing.
public static List<Pair<Tuple,Tuple>> getTuplePairNotSatisfyingFDThesis(RXMLTree tree,
FD fd)
throws InterruptedException
tree - Tree over which are tuples defined.fd - Functional dependency for which is checking satisfaction.
InterruptedException - if user interrupted repairing.
public static List<Pair<Tuple,Tuple>> getTuplePairNotSatisfyingFD(RXMLTree tree,
FD fd)
throws InterruptedException
tree - Tree over which are tuples defined.fd - Functional dependency for which is checking satisfaction.
InterruptedException - if user interrupted repairing.
public static List<PathAnswer> getFDSidePathAnswers(RXMLTree tree,
Tuple tuple,
SidePaths sidePaths,
boolean isThesis)
tree - Tree over which is tuple defined.tuple - Tuple for which is get answers.sidePaths - Side of functional dependency for which is get answers.isThesis - flag indicating if thesis algorithm is used.
public static Collection<Tuple> unmarkNodeFromAllTuples(RXMLTree tree,
Node node)
tree - Tree from which node is.node - Node wich is removed from all tuples.
|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||