Class AStar.Path
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.blockandconnector.routing.AStar.Path
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<AStar.Path>
 
 public class AStar.Path extends java.lang.Object implements java.lang.Comparable<AStar.Path> 
- 
- 
Constructor SummaryConstructors Constructor Description Path()Default c'tor.Path(AStar.Path p)C'tor by copy another object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AStar.Path p)Compare to another object using the total cost f.TgetPoint()Get the last point on the path.voidsetPoint(T p)Set the
 
- 
- 
- 
Field Detail- 
pointpublic T point 
 - 
fpublic java.lang.Double f 
 - 
gpublic java.lang.Double g 
 - 
parentpublic AStar.Path parent 
 
- 
 - 
Constructor Detail- 
Pathpublic Path() Default c'tor.
 - 
Pathpublic Path(AStar.Path p) C'tor by copy another object.- Parameters:
- p- The path object to clone.
 
 
- 
 - 
Method Detail- 
compareTopublic int compareTo(AStar.Path p) Compare to another object using the total cost f.- Specified by:
- compareToin interface- java.lang.Comparable<AStar.Path>
- Parameters:
- p- The object to compare to.
- Returns:
- less than 0This object is smaller than- 0;- 0Object are the same.- bigger than 0This object is bigger than p.
- See Also:
- Comparable#compareTo()
 
 - 
getPointpublic T getPoint() Get the last point on the path.- Returns:
- The last point visited by the path.
 
 - 
setPointpublic void setPoint(T p) Set the
 
- 
 
-