info.aduna.linkmap.transform
Class ConstantWeightTransform
java.lang.Object
info.aduna.linkmap.transform.ConstantWeightTransform
- All Implemented Interfaces:
- Transform
public class ConstantWeightTransform
- extends Object
- implements Transform
ConstantWeightTransform sets all the weights in a Graph to a constant value.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantWeightTransform
public ConstantWeightTransform()
getVertexWeight
public float getVertexWeight()
setVertexWeight
public void setVertexWeight(float vertexWeight)
getEdgeWeight
public float getEdgeWeight()
setEdgeWeight
public void setEdgeWeight(float edgeWeight)
transform
public Graph transform(Graph graph)
- Description copied from interface:
Transform
- Transform the specified Graph and return the transformed Graph.
- Specified by:
transform in interface Transform
Copyright © 1997-2008 Aduna. All Rights Reserved.