com.ebmwebsourcing.geasytools.geasygraph.impl.alphastar
Class AlphaNode
java.lang.Object
com.ebmwebsourcing.geasytools.geasygraph.impl.Node
com.ebmwebsourcing.geasytools.geasygraph.impl.alphastar.AlphaNode
- All Implemented Interfaces:
- IAlphaNode, INode
public class AlphaNode
- extends Node
- implements IAlphaNode
|
Constructor Summary |
AlphaNode(java.lang.String id,
float x,
float y)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AlphaNode
public AlphaNode(java.lang.String id,
float x,
float y)
getParentNode
public IAlphaNode getParentNode()
- Specified by:
getParentNode in interface IAlphaNode
getFCost
public double getFCost()
- Specified by:
getFCost in interface IAlphaNode
getGCost
public double getGCost()
- Specified by:
getGCost in interface IAlphaNode
getHCost
public double getHCost()
- Specified by:
getHCost in interface IAlphaNode
setFCost
public void setFCost(double f)
- Specified by:
setFCost in interface IAlphaNode
setGCost
public void setGCost(double g)
- Specified by:
setGCost in interface IAlphaNode
setHCost
public void setHCost(double h)
- Specified by:
setHCost in interface IAlphaNode
setParentNode
public void setParentNode(IAlphaNode node)
- Specified by:
setParentNode in interface IAlphaNode
toString
public java.lang.String toString()
- Overrides:
toString in class Node
Copyright © 2010-2011 Petals Link. All Rights Reserved.