infovis.graph.clustering
Class VertexOrderComparator

java.lang.Object
  extended by infovis.graph.clustering.VertexOrderComparator
All Implemented Interfaces:
IntComparator, RowComparator, Serializable

public class VertexOrderComparator
extends Object
implements RowComparator, Serializable

Version:
$Revision: 1.5 $
Author:
Jean-Daniel Fekete
See Also:
Serialized Form

Constructor Summary
VertexOrderComparator(Graph graph)
           
 
Method Summary
 int compare(int edge1, int edge2)
           
 boolean isValueUndefined(int row)
          Returns true if the value at the specified row is undefined.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cern.colt.function.IntComparator
equals
 

Constructor Detail

VertexOrderComparator

public VertexOrderComparator(Graph graph)
Method Detail

compare

public int compare(int edge1,
                   int edge2)
Specified by:
compare in interface IntComparator

isValueUndefined

public boolean isValueUndefined(int row)
Description copied from interface: RowComparator
Returns true if the value at the specified row is undefined.

Specified by:
isValueUndefined in interface RowComparator
Parameters:
row - the row.
Returns:
true if the value at the specified row is undefined.


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.