mtree.forest
Class Forest

java.lang.Object
  extended by messif.algorithms.Algorithm
      extended by mtree.forest.AbstractForest
          extended by mtree.forest.Forest
All Implemented Interfaces:
java.io.Serializable

public class Forest
extends AbstractForest

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class messif.algorithms.Algorithm
messif.algorithms.Algorithm.AlgorithmConstructor
 
Field Summary
 
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 mtree.forest.AbstractForest
getStatMinMaxDC, getTree, rangeSearch, toString
 
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
 

Constructor Detail

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
Method Detail

insert

public boolean insert(messif.operations.InsertOperation insOper)
Implemented class AbstractForest

Specified by:
insert in class AbstractForest