mtree.forest
Class Forest3

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

public class Forest3
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
Forest3()
          Creates a new instance of Forest3.
Forest3(int size, int pivotCount, messif.objects.StreamGenericAbstractObjectIterator<messif.objects.LocalAbstractObject> pivotIterator)
           
Forest3(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

Forest3

public Forest3()
        throws java.lang.InstantiationException,
               messif.algorithms.AlgorithmMethodException
Creates a new instance of Forest3. Forest3 is same as Forest2 with one exception: inserting object can be refused by given tree. If inserting object is refused by given tree then is inserted into last tree (number of "round-robin" trees in Forest3 is about 1 less than in Forest2).

Throws:
java.lang.InstantiationException
messif.algorithms.AlgorithmMethodException

Forest3

public Forest3(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

Forest3

public Forest3(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