mtree.forest
Class Forest5
java.lang.Object
messif.algorithms.Algorithm
mtree.forest.AbstractForest
mtree.forest.Forest5
- All Implemented Interfaces:
- java.io.Serializable
public class Forest5
- 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 |
Forest5()
Creates a new instance of Forest5. |
Forest5(int size,
int pivotCount,
messif.objects.StreamGenericAbstractObjectIterator<messif.objects.LocalAbstractObject> pivotIterator)
|
Forest5(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 |
Forest5
public Forest5()
throws java.lang.InstantiationException,
messif.algorithms.AlgorithmMethodException
- Creates a new instance of Forest5. Forest5 consists of list of trees.
Forest attempts to insert new object into tree[i] as long as distance
between new object and pivots[i] is minimum (for all i; i = forest size - 1).
If any refused object exists then is inserted into last tree.
- Throws:
java.lang.InstantiationException
messif.algorithms.AlgorithmMethodException
Forest5
public Forest5(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
Forest5
public Forest5(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