info.aduna.linkmap.transform
Class VertexCountFilterTransform

java.lang.Object
  extended by 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.


Field Summary
static int DEFAULT_NR_EXISTING_OBJECTS
          The default value of the "number of objects" attribute.
static int DEFAULT_THRESHOLD
          The default value of the threshold attribute.
 
Constructor Summary
VertexCountFilterTransform()
           
 
Method Summary
 int getNrExistingVertices()
           
 int getThreshold()
           
 void setThreshold(int threshold)
           
 Graph transform(Graph graph)
          Transform the specified Graph and return the transformed Graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

VertexCountFilterTransform

public VertexCountFilterTransform()
Method Detail

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.