public class VertexScoreTransformer<V,S>
extends java.lang.Object
implements org.apache.commons.collections15.Transformer<V,S>
| Modifier and Type | Field and Description |
|---|---|
protected VertexScorer<V,S> |
vs
The VertexScorer instance that provides the values returned by
transform. |
| Constructor and Description |
|---|
VertexScoreTransformer(VertexScorer<V,S> vs)
Creates an instance based on the specified VertexScorer.
|
| Modifier and Type | Method and Description |
|---|---|
S |
transform(V v)
Returns the score for this vertex.
|
protected VertexScorer<V,S> vs
transform.public VertexScoreTransformer(VertexScorer<V,S> vs)
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence