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
-
Constructor Summary
Constructors Constructor Description MedoidGenerator(IDistanceFunction<T> distanceFunction) -
Method Summary
Modifier and Type Method Description protected voidexecute(Clustering<T> clustering)Methods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPortMethods 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
-
Constructor Details
-
Method Details
-
execute
- Specified by:
executein classteetime.framework.AbstractConsumerStage<Clustering<T>>- Throws:
java.lang.Exception
-