Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

giny.util
Class NodeDistances  view NodeDistances download NodeDistances.java

java.lang.Object
  extended byginy.util.NodeDistances

public class NodeDistances
extends java.lang.Object


Field Summary
protected  int[][] distances
           
protected  boolean done
           
static int INFINITY
           
protected  java.util.List nodesList
           
protected  giny.model.GraphPerspective perspective
           
protected  double progress
           
protected  double progressTarget
           
 
Constructor Summary
NodeDistances(java.util.List nodes_list, int[][] distances, boolean wait, giny.model.GraphPerspective perspective)
           
NodeDistances(java.util.List nodes_list, int[][] distances, giny.model.GraphPerspective perspective)
           
 
Method Summary
 java.lang.Object construct()
           
 double getCurrentProgressValue()
           
 int[][] getDistances()
           
 java.lang.String getName()
           
 double getTargetProgressValue()
           
 boolean isFinished()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFINITY

public static final int INFINITY
See Also:
Constant Field Values

nodesList

protected java.util.List nodesList

perspective

protected giny.model.GraphPerspective perspective

distances

protected int[][] distances

progress

protected double progress

progressTarget

protected double progressTarget

done

protected boolean done
Constructor Detail

NodeDistances

public NodeDistances(java.util.List nodes_list,
                     int[][] distances,
                     giny.model.GraphPerspective perspective)

NodeDistances

public NodeDistances(java.util.List nodes_list,
                     int[][] distances,
                     boolean wait,
                     giny.model.GraphPerspective perspective)
Method Detail

getCurrentProgressValue

public double getCurrentProgressValue()

getTargetProgressValue

public double getTargetProgressValue()

getName

public java.lang.String getName()

isFinished

public boolean isFinished()

construct

public java.lang.Object construct()

getDistances

public int[][] getDistances()