OpenTTD
|
Yapf Node for road YAPF. More...
#include <yapf_node_road.hpp>
Public Types | |
typedef CYapfNodeT< Tkey_, CYapfRoadNodeT< Tkey_ > > | base |
![]() | |
typedef Tkey_ | Key |
typedef CYapfRoadNodeT< Tkey_ > | Node |
Public Member Functions | |
void | Set (CYapfRoadNodeT *parent, TileIndex tile, Trackdir td, bool is_choice) |
![]() | |
void | Set (Node *parent, TileIndex tile, Trackdir td, bool is_choice) |
Node * | GetHashNext () |
void | SetHashNext (Node *pNext) |
TileIndex | GetTile () const |
Trackdir | GetTrackdir () const |
const Tkey_ & | GetKey () const |
int | GetCost () const |
int | GetCostEstimate () const |
bool | operator< (const Node &other) const |
void | Dump (DumpTarget &dmp) const |
Data Fields | |
TileIndex | m_segment_last_tile |
Trackdir | m_segment_last_td |
![]() | |
Tkey_ | m_key |
Node * | m_hash_next |
Node * | m_parent |
int | m_cost |
int | m_estimate |
Yapf Node for road YAPF.
Definition at line 17 of file yapf_node_road.hpp.