OpenTTD Source: CYapfRegion_TypesT< Tpf_, Tnode_list > Struct Template Reference

OpenTTD Source 14.0-beta1

Public Types
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< Types > | PfBase
| Pathfinder components (modules). More...
typedef CYapfFollowRegionT< Types > | PfFollow
| Node follower.
typedef CYapfOriginRegionT< Types > | PfOrigin
| Origin provider.
typedef CYapfDestinationRegionT< Types > | PfDestination
| Destination/distance provider.
typedef CYapfSegmentCostCacheNoneT< Types > | PfCache
| Segment cost cache provider.
typedef CYapfCostRegionT< Types > | PfCost
| 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 278 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 287 of file yapf_ship_regions.cpp.

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

- src/pathfinder/yapf/yapf_ship_regions.cpp