Class VertexScoreTransformer<V,S>
- java.lang.Object
-
- edu.uci.ics.jung.algorithms.scoring.util.VertexScoreTransformer<V,S>
-
- All Implemented Interfaces:
org.apache.commons.collections4.Transformer<V,S>
public class VertexScoreTransformer<V,S> extends java.lang.Object implements org.apache.commons.collections4.Transformer<V,S>
A Transformer convenience wrapper around VertexScorer.
-
-
Field Summary
Fields Modifier and Type Field Description protected VertexScorer<V,S>
vs
The VertexScorer instance that provides the values returned bytransform
.
-
Constructor Summary
Constructors Constructor Description VertexScoreTransformer(VertexScorer<V,S> vs)
Creates an instance based on the specified VertexScorer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S
transform(V v)
Returns the score for this vertex.
-
-
-
Field Detail
-
vs
protected VertexScorer<V,S> vs
The VertexScorer instance that provides the values returned bytransform
.
-
-
Constructor Detail
-
VertexScoreTransformer
public VertexScoreTransformer(VertexScorer<V,S> vs)
Creates an instance based on the specified VertexScorer.
-
-