# yapf Directory Reference

## Files
file | follow_track.hpp [code]
| Template function for track followers.

file | nodelist.hpp [code]
| List of nodes used for the A-star pathfinder.

file | yapf.h [code]
| Entry point for OpenTTD to YAPF.

file | yapf.hpp [code]
| Base includes/functions for YAPF.

file | yapf_base.hpp [code]
| Base classes for YAPF.

file | yapf_common.hpp [code]
| Commonly used classes for YAPF.

file | yapf_costbase.hpp [code]
| Handling of cost determination.

file | yapf_costcache.hpp [code]
| Caching of segment costs.

file | yapf_costrail.hpp [code]
| Cost determination for rails.

file | yapf_destrail.hpp [code]
| Determining the destination for rail vehicles.

file | yapf_node.hpp [code]
| Node in the pathfinder's graph.

file | yapf_node_rail.hpp [code]
| Node tailored for rail pathfinding.

file | yapf_node_road.hpp [code]
| Node tailored for road pathfinding.

file | yapf_rail.cpp [code]
| The rail pathfinding.

file | yapf_road.cpp [code]
| The road pathfinding.

file | yapf_ship.cpp [code]
| Implementation of YAPF for ships.