public class QualityAggregatorImpl extends Object implements QualityAggregator
Constructor and Description |
---|
QualityAggregatorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
shutdown()
Called when the instance of the transformer is no longer needed.
|
void |
transformGraph(TransformedGraph inputGraph,
TransformationContext context)
Compute aggregated score of all scores of graph in the clean database and the score of the new graph
(restrained to graphs published by the same publisher who published the currently processed graph).
|
public void transformGraph(TransformedGraph inputGraph, TransformationContext context) throws TransformerException
transformGraph
in interface Transformer
inputGraph
- holder for the transformed graph.context
- context of the transformationTransformerException
- exceptionpublic void shutdown() throws TransformerException
Transformer
shutdown
in interface Transformer
TransformerException
- exceptionCopyright © 2013. All Rights Reserved.