de.aitools.iv.graphdrawing.datastructures.graph.algorithms
Class SortedEdges

java.lang.Object
  extended by de.aitools.iv.graphdrawing.datastructures.graph.algorithms.SortedEdges
All Implemented Interfaces:
GraphProcedure

public class SortedEdges
extends java.lang.Object
implements GraphProcedure

computes a sorted array of a node's adjacent weighted edges. TODO: sort the edges of the hole graph.

Author:
tim.gollub@medien.uni-weimar.de

Field Summary
static int ALL
           
 
Constructor Summary
SortedEdges()
           
 
Method Summary
 WeightedEdge[] execute(WeightedGraph g)
           
 void setNodeId(int i)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final int ALL
See Also:
Constant Field Values
Constructor Detail

SortedEdges

public SortedEdges()
Method Detail

execute

public WeightedEdge[] execute(WeightedGraph g)
Specified by:
execute in interface GraphProcedure

setNodeId

public void setNodeId(int i)