mtree.forest
Class Forest4

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

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

Forest4

public Forest4()
        throws java.lang.InstantiationException,
               messif.algorithms.AlgorithmMethodException
Creates a new instance of Forest4. Forest4 consists of list of trees. Forest attempts to insert new object into such tree where distance between new object and object from root is minimum. If any refused object exists then is inserted into last tree.

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

Forest4

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

Forest4

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