netkit.graph.edgecreator
Class EdgeCreatorImp.NbrEntry

java.lang.Object
  extended by netkit.graph.edgecreator.EdgeCreatorImp.NbrEntry
All Implemented Interfaces:
java.lang.Comparable<EdgeCreatorImp.NbrEntry>
Enclosing class:
EdgeCreatorImp

protected final class EdgeCreatorImp.NbrEntry
extends java.lang.Object
implements java.lang.Comparable<EdgeCreatorImp.NbrEntry>

Utility class for sub-classes where necessary


Field Summary
 Node dest
           
 double score
           
 Node source
           
 
Constructor Summary
EdgeCreatorImp.NbrEntry(Node src, Node dest, double score)
           
 
Method Summary
 Edge asEdge()
           
 Edge asEdge(Node src)
           
 int compareTo(EdgeCreatorImp.NbrEntry e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

public final Node source

dest

public final Node dest

score

public final double score
Constructor Detail

EdgeCreatorImp.NbrEntry

public EdgeCreatorImp.NbrEntry(Node src,
                               Node dest,
                               double score)
Method Detail

compareTo

public int compareTo(EdgeCreatorImp.NbrEntry e)
Specified by:
compareTo in interface java.lang.Comparable<EdgeCreatorImp.NbrEntry>

asEdge

public Edge asEdge()

asEdge

public Edge asEdge(Node src)