info.aduna.linkmap.transform
Class VertexCountFilterTransform
java.lang.Object
info.aduna.linkmap.transform.VertexCountFilterTransform
- All Implemented Interfaces:
- Transform
public class VertexCountFilterTransform
- extends Object
- implements Transform
VertexCountFilterTransform filters a specified number of Vertices and the
Edges connected to them from a Graph, based on a descending ordering of the
weights of the Vertices.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NR_EXISTING_OBJECTS
public static final int DEFAULT_NR_EXISTING_OBJECTS
- The default value of the "number of objects" attribute.
- See Also:
- Constant Field Values
DEFAULT_THRESHOLD
public static final int DEFAULT_THRESHOLD
- The default value of the threshold attribute.
- See Also:
- Constant Field Values
VertexCountFilterTransform
public VertexCountFilterTransform()
getNrExistingVertices
public int getNrExistingVertices()
setThreshold
public void setThreshold(int threshold)
getThreshold
public int getThreshold()
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.