Class DelegateToEdgeTransformer<V,E>
java.lang.Object
edu.uci.ics.jung.algorithms.scoring.util.DelegateToEdgeTransformer<V,E>
- All Implemented Interfaces:
com.google.common.base.Function<VEPair<V,
,E>, Number> Function<VEPair<V,
E>, Number>
public class DelegateToEdgeTransformer<V,E>
extends Object
implements com.google.common.base.Function<VEPair<V,E>,Number>
A
Transformer<VEPair,Number
that delegates its operation to a
Transformer<E,Number>
. Mainly useful for technical reasons inside
AbstractIterativeScorer; in essence it allows the edge weight instance
variable to be of type VEPair,W
even if the edge weight
Transformer
only operates on edges.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDelegateToEdgeTransformer
(com.google.common.base.Function<? super E, ? extends Number> delegate) Creates an instance with the specified delegate Function. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
delegate
The Function to which this instance delegates its function.
-
-
Constructor Details
-
Method Details