Class MTreeGeneratorStage<T>

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<List<T>,MTree<T>>
kieker.analysis.generic.clustering.mtree.MTreeGeneratorStage<T>
Type Parameters:
T - The type, which the objects should have
All Implemented Interfaces:
teetime.stage.basic.ITransformation<List<T>,MTree<T>>

public class MTreeGeneratorStage<T> extends teetime.stage.basic.AbstractTransformation<List<T>,MTree<T>>
A stage to generate an M-Tree with objects of a generic type, with a given distance function.
Since:
2.0.0
Author:
Lars Jürgensen
  • Field Summary

    Fields inherited from class teetime.stage.basic.AbstractTransformation

    outputPort

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    MTreeGeneratorStage(IDistanceFunction<T> distanceFunction, int minNodeCapacity, int maxNodeCapacity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    execute(List<T> models)
     
    int
     
    int
     
    void
    setMaxNodeCapacity(int maxNodeCapacity)
     
    void
    setMinNodeCapacity(int minNodeCapacity)
     

    Methods inherited from class teetime.stage.basic.AbstractTransformation

    getOutputPort

    Methods inherited from class teetime.framework.AbstractConsumerStage

    createInputPort, execute, getInputPort

    Methods inherited from class teetime.framework.AbstractStage

    abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface teetime.stage.basic.ITransformation

    getInputPort
  • Constructor Details

    • MTreeGeneratorStage

      public MTreeGeneratorStage(IDistanceFunction<T> distanceFunction)
    • MTreeGeneratorStage

      public MTreeGeneratorStage(IDistanceFunction<T> distanceFunction, int minNodeCapacity, int maxNodeCapacity)
  • Method Details

    • execute

      protected void execute(List<T> models) throws Exception
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<List<T>>
      Throws:
      Exception
    • getMaxNodeCapacity

      public int getMaxNodeCapacity()
    • setMaxNodeCapacity

      public void setMaxNodeCapacity(int maxNodeCapacity)
    • getMinNodeCapacity

      public int getMinNodeCapacity()
    • setMinNodeCapacity

      public void setMinNodeCapacity(int minNodeCapacity)