OpenTTD
|
CYapfSegmentCostCacheNoneT - the formal only yapf cost cache provider that implements PfNodeCacheFetch() and PfNodeCacheFlush() callbacks. More...
#include <yapf_costcache.hpp>
Public Types | |
typedef Types::Tpf | Tpf |
the pathfinder class (derived from THIS class) | |
typedef Types::NodeList::Titem | Node |
this will be our node type |
Public Member Functions | |
bool | PfNodeCacheFetch (Node &n) |
Called by YAPF to attach cached or local segment cost data to the given node. | |
void | PfNodeCacheFlush (Node &n) |
Called by YAPF to flush the cached segment cost data back into cache storage. |
CYapfSegmentCostCacheNoneT - the formal only yapf cost cache provider that implements PfNodeCacheFetch() and PfNodeCacheFlush() callbacks.
Used when nodes don't have CachedData defined (they don't count with any segment cost caching).
Definition at line 23 of file yapf_costcache.hpp.
|
inline |
Called by YAPF to attach cached or local segment cost data to the given node.
Definition at line 33 of file yapf_costcache.hpp.
|
inline |
Called by YAPF to flush the cached segment cost data back into cache storage.
Current cache implementation doesn't use that.
Definition at line 42 of file yapf_costcache.hpp.