nenok.lc.constr
Class OSLA_SC
java.lang.Object
nenok.lc.constr.Algorithm
nenok.lc.constr.Elimination
nenok.lc.constr.OSLA_SC
public class OSLA_SC
- extends Elimination
The OSLA-SC (One-Step-Look-Ahead Smallest-Clique) join tree construction algorithm.
- Version:
- 1.1
- Author:
- Marc Pouly
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSLA_SC
public OSLA_SC()
buildTree
public Node buildTree(JoinTree.Construction data)
throws ConstrException,
RemoteException
- Description copied from class:
Algorithm
- Method to build join trees. The JoinTree.Construction object given as argument
contains all necessary informations for the construction process, this is: the knowledgebase,
a set of queries that need to be covered by the join tree and the
Node
builder method
for the type of architecture to be constructed.
- Specified by:
buildTree
in class Algorithm
- Parameters:
data
- Object that contains all necessary information to build join trees.
- Returns:
- The root node of the constructed join tree.
- Throws:
ConstrException
- Exceptions caused by the jointree construction process.
RemoteException
- Exceptions caused by communication problems during the jointree construction process.- See Also:
Algorithm.buildTree(nenok.lc.JoinTree.Construction)
getName
public String getName()
- Specified by:
getName
in class Algorithm
- Returns:
- The name of the construction algorithm.
- See Also:
Algorithm.getName()
getEliminationSequence
public Variable[] getEliminationSequence()
- Specified by:
getEliminationSequence
in class Elimination
- Returns:
- The elimination sequence used by this algorithm.
- See Also:
Elimination.getEliminationSequence()