com.ebmwebsourcing.geasytools.geasygraph.impl.alphastar
Class AlphaNode

java.lang.Object
  extended by com.ebmwebsourcing.geasytools.geasygraph.impl.Node
      extended by 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)
           
 
Method Summary
 double getFCost()
           
 double getGCost()
           
 double getHCost()
           
 IAlphaNode getParentNode()
           
 void setFCost(double f)
           
 void setGCost(double g)
           
 void setHCost(double h)
           
 void setParentNode(IAlphaNode node)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ebmwebsourcing.geasytools.geasygraph.impl.Node
addAdjacentNode, equals, getAdjacentNodes, getId, getX, getY, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.geasytools.geasygraph.api.INode
addAdjacentNode, getAdjacentNodes, getId, getX, getY
 

Constructor Detail

AlphaNode

public AlphaNode(java.lang.String id,
                 float x,
                 float y)
Method Detail

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.