OpenTTD Source  20240919-master-gdf0233f4c2
CYapfShipNodeT< Tkey_ > Struct Template Reference

Yapf Node for ships. More...

#include <yapf_node_ship.hpp>

Inheritance diagram for CYapfShipNodeT< Tkey_ >:
CYapfNodeT< Tkey_, CYapfShipNodeT< Tkey_ > >

Public Types

typedef CYapfNodeT< Tkey_, CYapfShipNodeT< Tkey_ > > base
 
- Public Types inherited from CYapfNodeT< Tkey_, CYapfShipNodeT< Tkey_ > >
typedef Tkey_ Key
 
typedef CYapfShipNodeT< Tkey_ > Node
 

Public Member Functions

void Set (CYapfShipNodeT *parent, TileIndex tile, Trackdir td, bool is_choice)
 
- Public Member Functions inherited from CYapfNodeT< Tkey_, CYapfShipNodeT< Tkey_ > >
void Set (Node *parent, TileIndex tile, Trackdir td, bool is_choice)
 
NodeGetHashNext ()
 
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 m_segment_last_tile
 
Trackdir m_segment_last_td
 
- Data Fields inherited from CYapfNodeT< Tkey_, CYapfShipNodeT< Tkey_ > >
Tkey_ m_key
 
Nodem_hash_next
 
Nodem_parent
 
int m_cost
 
int m_estimate
 
bool m_is_choice
 

Detailed Description

template<class Tkey_>
struct CYapfShipNodeT< Tkey_ >

Yapf Node for ships.

Definition at line 15 of file yapf_node_ship.hpp.


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