Class MedoidGenerator<T>

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<Clustering<T>,​T>
kieker.analysis.generic.clustering.MedoidGenerator<T>
Type Parameters:
T - data type
All Implemented Interfaces:
teetime.stage.basic.ITransformation<Clustering<T>,​T>

public class MedoidGenerator<T>
extends teetime.stage.basic.AbstractTransformation<Clustering<T>,​T>
This stage calculates the medoid of the clusters using the trimmed algorithm. A medoid is a representative object of a cluster where the medoid has the least difference to all other objects in the cluster.
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
    MedoidGenerator​(IDistanceFunction<T> distanceFunction)  
  • Method Summary

    Modifier and Type Method Description
    protected void execute​(Clustering<T> clustering)  

    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

  • Method Details

    • execute

      protected void execute​(Clustering<T> clustering) throws java.lang.Exception
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<Clustering<T>>
      Throws:
      java.lang.Exception