28 inline int CalcHash()
const
30 return m_exitdir | (m_tile << 2);
35 return m_tile == other.m_tile && m_exitdir == other.m_exitdir;
48 inline int CalcHash()
const
50 return m_td | (m_tile << 4);
55 return m_tile == other.m_tile && m_td == other.m_td;
60 template <
class Tkey_,
class Tnode>
80 inline Node *GetHashNext()
85 inline void SetHashNext(Node *pNext)
100 inline const Tkey_& GetKey()
const
105 inline int GetCost()
const
110 inline int GetCostEstimate()
const
115 inline bool operator<(
const Node &other)
const
117 return m_estimate < other.m_estimate;
125 dmp.
WriteLine(
"m_estimate = %d", m_estimate);