edu.uci.ics.jung.algorithms.util
Class RandomLocationTransformer<V>
java.lang.Object
edu.uci.ics.jung.algorithms.util.RandomLocationTransformer<V>
- Type Parameters:
V
-
public class RandomLocationTransformer<V>
- extends Object
Transforms the input type into a random location within
the bounds of the Dimension property.
This is used as the backing Transformer for the LazyMap
for many Layouts,
and provides a random location for unmapped vertex keys
the first time they are accessed.
- Author:
- Tom Nelson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomLocationTransformer
public RandomLocationTransformer(Dimension d)
RandomLocationTransformer
public RandomLocationTransformer(Dimension d,
long seed)
transform
public Point2D transform(V v)
Copyright © 2008 null. All Rights Reserved.