mtree.forest
Class Forest2

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

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

Forest2

public Forest2()
        throws java.lang.InstantiationException,
               messif.algorithms.AlgorithmMethodException
Creates a new instance of Forest2. Forest2 consists of list of trees. At first forest inserts first object into first tree. Second object is inserted into second tree etc. When some object is inserted into last tree then next object is inserted into first tree etc. This is round-robin alternate.

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

Forest2

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

Forest2

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