OpenTTD Source  20240919-master-gdf0233f4c2
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_ m_key
 
Node * m_hash_next
 
Node * m_parent
 
int m_cost
 
int m_estimate
 
bool m_is_choice
 

Detailed Description

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

Yapf Node base.

Definition at line 59 of file yapf_node.hpp.


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