OpenTTD Source  20240919-master-gdf0233f4c2
CYapfRegion_TypesT< Tpf_, Tnode_list > Struct Template Reference

Config struct of YAPF for route planning. More...

Public Types

typedef CYapfRegion_TypesT< Tpf_, Tnode_list > Types
 Shortcut for this struct type.
 
typedef Tpf_ Tpf
 Pathfinder type.
 
typedef DummyFollower TrackFollower
 Track follower helper class.
 
typedef Tnode_list NodeList
 
typedef Ship VehicleType
 
typedef CYapfBaseT< TypesPfBase
 Pathfinder components (modules). More...
 
typedef CYapfFollowRegionT< TypesPfFollow
 Node follower.
 
typedef CYapfOriginRegionT< TypesPfOrigin
 Origin provider.
 
typedef CYapfDestinationRegionT< TypesPfDestination
 Destination/distance provider.
 
typedef CYapfSegmentCostCacheNoneT< TypesPfCache
 Segment cost cache provider.
 
typedef CYapfCostRegionT< TypesPfCost
 Cost provider.
 

Detailed Description

template<class Tpf_, class Tnode_list>
struct CYapfRegion_TypesT< Tpf_, Tnode_list >

Config struct of YAPF for route planning.

Defines all 6 base YAPF modules as classes providing services for CYapfBaseT.

Definition at line 279 of file yapf_ship_regions.cpp.

Member Typedef Documentation

◆ PfBase

template<class Tpf_ , class Tnode_list >
typedef CYapfBaseT<Types> CYapfRegion_TypesT< Tpf_, Tnode_list >::PfBase

Pathfinder components (modules).

Base pathfinder class.

Definition at line 288 of file yapf_ship_regions.cpp.


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