OpenTTD Source 20250918-master-g2d13bcb7b9
|
Yapf Node for road YAPF. More...
#include <yapf_node_road.hpp>
Public Types | |
typedef CYapfNodeT< CYapfNodeKeyExitDir, CYapfRoadNode > | base |
![]() | |
typedef CYapfNodeKeyExitDir | Key |
typedef CYapfRoadNode | Node |
Public Member Functions | |
void | Set (CYapfRoadNode *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 CYapfNodeKeyExitDir & | 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 |
![]() | |
CYapfNodeKeyExitDir | key |
Node * | hash_next |
Node * | parent |
int | cost |
int | estimate |
bool | is_choice |
Yapf Node for road YAPF.
Definition at line 19 of file yapf_node_road.hpp.
Definition at line 20 of file yapf_node_road.hpp.
|
inline |
Definition at line 25 of file yapf_node_road.hpp.
Trackdir CYapfRoadNode::segment_last_td |
Definition at line 23 of file yapf_node_road.hpp.
TileIndex CYapfRoadNode::segment_last_tile |
Definition at line 22 of file yapf_node_road.hpp.