nenok.lc.id
Class IDJoinTree
java.lang.Object
nenok.lc.JoinTree
nenok.lc.id.IDJoinTree
- All Implemented Interfaces:
- Iterable<Node>
public class IDJoinTree
- extends JoinTree
The join tree corresponding to the idempotent architecture.
- Version:
- $LastChangedRevision: 557 $
$LastChangedDate: 2008-03-26 14:23:32 +0100 (Mi, 26 Mrz 2008) $
- Author:
- Marc Pouly
Methods inherited from class nenok.lc.JoinTree |
answer, collect, containsRemoteData, countNodes, distribute, getAdapter, getAllocator, getCollectTime, getConstructionAlgorithm, getConstructionData, getDistributeTime, getLargestDomain, getProcessorSet, getPropagationTime, getQueries, getRoot, getTreeDomain, isBinary, isCollected, isDistributed, iterator, makeBinary, propagate, setRoot, toASCII, toString |
IDJoinTree
public IDJoinTree(Knowledgebase kb,
Collection<Domain> queries,
Algorithm algo)
throws ConstrException
- Constructor:
- Parameters:
kb
- The knowledgebase from which this jointree is constructed.queries
- The set of queries that are covered by this join tree.algo
- The construction algorithm.
- Throws:
ConstrException
- Exceptions throws during construction process.
verify
public boolean verify(Class type)
- Description copied from class:
JoinTree
- Verifies that the given knowledgebase can indeed be used with this architecture.
- Specified by:
verify
in class JoinTree
- Parameters:
type
- The type of the locators that are contained in the knowledgebase.
- Returns:
true
, if the knowledgebase satifies the mathematical restrictions for this architecture.- See Also:
JoinTree.verify(java.lang.Class)
getArchitecture
public String getArchitecture()
- Specified by:
getArchitecture
in class JoinTree
- Returns:
- The join tree's architecture type.
- See Also:
JoinTree.getArchitecture()
scale
public void scale()
throws VAException
- Description copied from class:
JoinTree
- Performs the scaling operations for this architecture.
This method is executed, if the valuations are of type
Scalability
.
- Specified by:
scale
in class JoinTree
- Throws:
VAException
- See Also:
JoinTree.scale()
createNode
public Node createNode()
- Specified by:
createNode
in class JoinTree
- Returns:
- Returns a new node instance corresponding to the architecture type of this jointree.
- See Also:
JoinTree.createNode()