Class VertexScoreTransformer<V,S>
- java.lang.Object
-
- edu.uci.ics.jung.algorithms.scoring.util.VertexScoreTransformer<V,S>
-
- All Implemented Interfaces:
com.google.common.base.Function<V,S>
,java.util.function.Function<V,S>
public class VertexScoreTransformer<V,S> extends java.lang.Object implements com.google.common.base.Function<V,S>
A Function 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
apply(V v)
-
-
-
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.- Parameters:
vs
- the VertexScorer which will retrieve the score for each vertex
-
-