edu.uci.ics.jung.algorithms.scoring.util
Class VertexScoreTransformer<V,S>
java.lang.Object
edu.uci.ics.jung.algorithms.scoring.util.VertexScoreTransformer<V,S>
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<V,S>
public class VertexScoreTransformer<V,S>
- extends Object
- implements org.apache.commons.collections15.Transformer<V,S>
A Transformer convenience wrapper around VertexScorer.
Field Summary |
protected VertexScorer<V,S> |
vs
The VertexScorer instance that provides the values returned by transform . |
Method Summary |
S |
transform(V v)
Returns the score for this vertex. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vs
protected VertexScorer<V,S> vs
- The VertexScorer instance that provides the values returned by
transform
.
VertexScoreTransformer
public VertexScoreTransformer(VertexScorer<V,S> vs)
- Creates an instance based on the specified VertexScorer.
transform
public S transform(V v)
- Returns the score for this vertex.
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<V,S>
Copyright © 2011. All Rights Reserved.