routing
Class DecisionPoint

java.lang.Object
  extended by routing.DecisionPoint

public class DecisionPoint
extends java.lang.Object


Field Summary
private  java.util.HashSet<Edge> edges
           
private  double heuristicCost
           
private  java.util.ArrayList<java.lang.String> hints
           
private  long id
           
private  double pathCost
           
private  double routeComplexity
          The route complexity: 0 - low complexiy 1 - high complexity
private  double xCoord
           
private  double yCoord
           
 
Constructor Summary
DecisionPoint(long id, double x, double y)
           
 
Method Summary
 void addEdge(Edge edge)
           
 boolean equals(java.lang.Object obj)
          Deep, not shallow, equals.
 java.util.HashSet<Edge> getEdges()
           
 double getHeuristicCost()
           
 java.util.ArrayList<java.lang.String> getHints()
           
 long getId()
           
 double getPathCost()
           
 double getRouteComplexity()
           
 double getXCoord()
           
 double getYCoord()
           
 void setHeuristicCost(double cost)
           
 void setHints(java.util.ArrayList<java.lang.String> hints)
           
 void setPathCost(double cost)
           
 void setRouteComplexity(double routeComplexity)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

heuristicCost

private double heuristicCost

pathCost

private double pathCost

edges

private java.util.HashSet<Edge> edges

id

private long id

xCoord

private double xCoord

yCoord

private double yCoord

hints

private java.util.ArrayList<java.lang.String> hints

routeComplexity

private double routeComplexity
The route complexity: 0 - low complexiy 1 - high complexity

Constructor Detail

DecisionPoint

public DecisionPoint(long id,
                     double x,
                     double y)
Parameters:
coord -
coord2 -
id -
edges -
Method Detail

addEdge

public void addEdge(Edge edge)

getEdges

public java.util.HashSet<Edge> getEdges()

getHints

public java.util.ArrayList<java.lang.String> getHints()
Returns:
Returns the hints.

setHints

public void setHints(java.util.ArrayList<java.lang.String> hints)
Parameters:
hints - The hints to set.

getHeuristicCost

public double getHeuristicCost()
Returns:
Returns the cost.

getPathCost

public double getPathCost()

getId

public long getId()
Returns:
Returns the id.

getXCoord

public double getXCoord()
Returns:
Returns the xCoord.

getYCoord

public double getYCoord()
Returns:
Returns the yCoord.

setHeuristicCost

public void setHeuristicCost(double cost)
Parameters:
cost - The cost to set.

setPathCost

public void setPathCost(double cost)

getRouteComplexity

public double getRouteComplexity()

setRouteComplexity

public void setRouteComplexity(double routeComplexity)

equals

public boolean equals(java.lang.Object obj)
Deep, not shallow, equals.

Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)