mtree.forest
Class Forest
java.lang.Object
messif.algorithms.Algorithm
mtree.forest.AbstractForest
mtree.forest.Forest
- All Implemented Interfaces:
- java.io.Serializable
public class Forest
- extends AbstractForest
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class messif.algorithms.Algorithm |
messif.algorithms.Algorithm.AlgorithmConstructor |
Fields inherited from class messif.algorithms.Algorithm |
algorithmName, bgExecutionList, log, maximalConcurrentOperations, operationExecutor, runningOperations |
Constructor Summary |
Forest()
Creates a new instance of Forest. |
Forest(int size,
int pivotCount,
messif.objects.StreamGenericAbstractObjectIterator<messif.objects.LocalAbstractObject> pivotIterator)
|
Forest(int size,
long intNodeCap,
long leafCap,
int pivotCount,
messif.objects.StreamGenericAbstractObjectIterator<messif.objects.LocalAbstractObject> pivotIterator,
int npd,
int nhr,
double maxLeafRadius,
double maxFatFactor,
int minReorganizeLeaf,
double insRadius,
int maxSpanningTree)
|
Method Summary |
boolean |
insert(messif.operations.InsertOperation insOper)
Implemented class AbstractForest |
Methods inherited from class messif.algorithms.Algorithm |
backgroundExecuteOperation, executeOperation, finalize, getAnnotatedConstructors, getConstructorArgumentDescriptions, getConstructorDescription, getConstructorDescriptionSimple, getExecutorParamClasses, getName, getRunningOperationsCount, getSupportedOperations, getSupportedOperations, initializeExecutor, restoreFromFile, restoreFromFile, storeToFile, waitBackgroundExecuteOperation, waitBackgroundExecuteOperation |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Forest
public Forest()
throws java.lang.InstantiationException,
messif.algorithms.AlgorithmMethodException
- Creates a new instance of Forest. Forest consists of linear list of trees.
At first forest attempts to insert new object into first tree. If object
isn't inserted then forest attempts to insert new object into second tree etc.
In the worst case new object is inserted into last tree (last tree from the
linear list).
- Throws:
java.lang.InstantiationException
messif.algorithms.AlgorithmMethodException
Forest
public Forest(int size,
int pivotCount,
messif.objects.StreamGenericAbstractObjectIterator<messif.objects.LocalAbstractObject> pivotIterator)
throws java.lang.InstantiationException,
messif.algorithms.AlgorithmMethodException
- Throws:
java.lang.InstantiationException
messif.algorithms.AlgorithmMethodException
Forest
public Forest(int size,
long intNodeCap,
long leafCap,
int pivotCount,
messif.objects.StreamGenericAbstractObjectIterator<messif.objects.LocalAbstractObject> pivotIterator,
int npd,
int nhr,
double maxLeafRadius,
double maxFatFactor,
int minReorganizeLeaf,
double insRadius,
int maxSpanningTree)
throws java.lang.InstantiationException,
messif.algorithms.AlgorithmMethodException
- Throws:
java.lang.InstantiationException
messif.algorithms.AlgorithmMethodException
insert
public boolean insert(messif.operations.InsertOperation insOper)
- Implemented class AbstractForest
- Specified by:
insert
in class AbstractForest