|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnenok.lc.constr.Algorithm
public abstract class Algorithm
The join tree construction algorithm base interface. This is the head class of a realization of the STRATEGY design pattern, allowing that the same type of join tree architecture can be constructed with different construction algorithms.
Constructor Summary | |
---|---|
Algorithm()
|
Method Summary | |
---|---|
abstract Node |
buildTree(JoinTree.Construction data)
Method to build join trees. |
double |
getConstructionTime()
|
abstract String |
getName()
|
static void |
optimize(Node node,
JoinTree.Construction data)
Eliminates node chains within a jointree. |
void |
setConstructionTime(double time)
Sets the construction time of the last constructed join tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Algorithm()
Method Detail |
---|
public abstract Node buildTree(JoinTree.Construction data) throws ConstrException, RemoteException
Node
builder method
for the type of architecture to be constructed.
data
- Object that contains all necessary information to build join trees.
ConstrException
- Exceptions caused by the jointree construction process.
RemoteException
- Exceptions caused by communication problems during the jointree construction process.public double getConstructionTime()
public void setConstructionTime(double time)
JoinTree
.
time
- The construction time.public abstract String getName()
public static void optimize(Node node, JoinTree.Construction data)
node
- The root node of the subtree that has to be optimized.data
- The construction data that was used to construct the tree.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |