((AbstractRanking) ranking).setGraph(graph);
for (Node node : graph.getNodes().toArray()) {
Object rank = ranking.getValue(node);
Object result = null;
if (rank != null) {
float normalizedValue = ranking.normalize(rank);
if (transformer.isInBounds(normalizedValue)) {
result = transformer.transform(node, normalizedValue);
}
}
rankingResult.addResult(node, rank, result);