OpenTTD Source 20241224-master-gee860a5c8e
|
Yapf Node base. More...
#include <yapf_node.hpp>
Public Types | |
typedef Tkey_ | Key |
typedef Tnode | Node |
Public Member Functions | |
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 | |
Tkey_ | key |
Node * | hash_next |
Node * | parent |
int | cost |
int | estimate |
bool | is_choice |
Yapf Node base.
Definition at line 62 of file yapf_node.hpp.
typedef Tkey_ CYapfNodeT< Tkey_, Tnode >::Key |
Definition at line 63 of file yapf_node.hpp.
typedef Tnode CYapfNodeT< Tkey_, Tnode >::Node |
Definition at line 64 of file yapf_node.hpp.
|
inline |
Definition at line 128 of file yapf_node.hpp.
|
inline |
Definition at line 108 of file yapf_node.hpp.
|
inline |
Definition at line 113 of file yapf_node.hpp.
|
inline |
Definition at line 83 of file yapf_node.hpp.
|
inline |
Definition at line 118 of file yapf_node.hpp.
|
inline |
Definition at line 103 of file yapf_node.hpp.
|
inline |
Definition at line 93 of file yapf_node.hpp.
|
inline |
Definition at line 98 of file yapf_node.hpp.
|
inline |
Definition at line 123 of file yapf_node.hpp.
|
inline |
Definition at line 73 of file yapf_node.hpp.
|
inline |
Definition at line 88 of file yapf_node.hpp.
int CYapfNodeT< Tkey_, Tnode >::cost |
Definition at line 69 of file yapf_node.hpp.
int CYapfNodeT< Tkey_, Tnode >::estimate |
Definition at line 70 of file yapf_node.hpp.
Node* CYapfNodeT< Tkey_, Tnode >::hash_next |
Definition at line 67 of file yapf_node.hpp.
bool CYapfNodeT< Tkey_, Tnode >::is_choice |
Definition at line 71 of file yapf_node.hpp.
Tkey_ CYapfNodeT< Tkey_, Tnode >::key |
Definition at line 66 of file yapf_node.hpp.
Node* CYapfNodeT< Tkey_, Tnode >::parent |
Definition at line 68 of file yapf_node.hpp.