Package kieker.visualization.trace
Class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<G>
kieker.visualization.trace.AbstractGraphFilter<G,V,E,O>
- Type Parameters:
G
- The graph that is processed by this filterV
- The vertex type of the graphE
- The edge type of the graphO
- The type of the graph's elements origins
- Direct Known Subclasses:
DescriptionDecoratorFilter
,TraceColoringFilter
public abstract class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O>
extends teetime.framework.AbstractConsumerStage<G>
Abstract superclass for all graph filters.
- Since:
- 1.6
- Author:
- Holger Knoche
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractGraphFilter()
Creates a new filter with the given configuration. -
Method Summary
Modifier and Type Method Description protected void
execute(G graph)
Processes the given graph.protected abstract IOriginRetentionPolicy
getDesiredOriginRetentionPolicy()
teetime.framework.OutputPort<G>
getOutputPort()
protected abstract G
performConcreteGraphProcessing(G graph)
This method encapsulates the concrete graph processing performed by the concrete filters.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
-
Constructor Details
-
AbstractGraphFilter
public AbstractGraphFilter()Creates a new filter with the given configuration.
-
-
Method Details
-
getDesiredOriginRetentionPolicy
protected abstract IOriginRetentionPolicy getDesiredOriginRetentionPolicy() throws AnalysisConfigurationException- Throws:
AnalysisConfigurationException
-
execute
Processes the given graph.- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<G extends AbstractGraph<V,E,O>>
- Parameters:
graph
- The graph to process- Throws:
java.lang.Exception
-
getOutputPort
-
performConcreteGraphProcessing
This method encapsulates the concrete graph processing performed by the concrete filters.- Parameters:
graph
- The graph to process- Returns:
- The processed graph, which may be the same as the input graph
-