OpenTTD Source
20241111-master-gce64d5f5d9
|
Yapf Node for road YAPF. More...
#include <yapf_node_road.hpp>
Public Types | |
typedef CYapfNodeT< Tkey_, CYapfRoadNodeT< Tkey_ > > | base |
Public Types inherited from CYapfNodeT< Tkey_, CYapfRoadNodeT< Tkey_ > > | |
typedef Tkey_ | Key |
typedef CYapfRoadNodeT< Tkey_ > | Node |
Public Member Functions | |
void | Set (CYapfRoadNodeT *parent, TileIndex tile, Trackdir td, bool is_choice) |
Public Member Functions inherited from CYapfNodeT< Tkey_, CYapfRoadNodeT< Tkey_ > > | |
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 | GetIsChoice () const |
bool | operator< (const Node &other) const |
void | Dump (DumpTarget &dmp) const |
Data Fields | |
TileIndex | segment_last_tile |
Trackdir | segment_last_td |
Data Fields inherited from CYapfNodeT< Tkey_, CYapfRoadNodeT< Tkey_ > > | |
Tkey_ | key |
Node * | hash_next |
Node * | parent |
int | cost |
int | estimate |
bool | is_choice |
Yapf Node for road YAPF.
Definition at line 20 of file yapf_node_road.hpp.