OpenTTD Source  20241121-master-g67a0fccfad
CYapfNodeT< Tkey_, Tnode > Struct Template Reference

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
 

Detailed Description

template<class Tkey_, class Tnode>
struct CYapfNodeT< Tkey_, Tnode >

Yapf Node base.

Definition at line 62 of file yapf_node.hpp.


The documentation for this struct was generated from the following file: