OpenTTD Source  20241108-master-g80f628063a
linkgraphjob.h File Reference

Declaration of link graph job classes used for cargo distribution. More...

#include "../thread.h"
#include "linkgraph.h"
#include <atomic>

Go to the source code of this file.

Data Structures

class  LinkGraphJob
 Class for calculation jobs to be run on link graphs. More...
 
struct  LinkGraphJob::DemandAnnotation
 Demand between two nodes. More...
 
struct  LinkGraphJob::EdgeAnnotation
 Annotation for a link graph edge. More...
 
struct  LinkGraphJob::NodeAnnotation
 Annotation for a link graph node. More...
 
class  Path
 A leg of a path in the link graph. More...
 

Typedefs

typedef std::list< Path * > PathList
 
typedef Pool< LinkGraphJob, LinkGraphJobID, 32, 0xFFFF > LinkGraphJobPool
 Type of the pool for link graph jobs.
 

Variables

LinkGraphJobPool _link_graph_job_pool
 The actual pool with link graph jobs.
 

Detailed Description

Declaration of link graph job classes used for cargo distribution.

Definition in file linkgraphjob.h.