OpenTTD Source  20241111-master-gce64d5f5d9
MCFHandler< Tpass > Class Template Reference

Link graph handler for MCF. More...

#include <mcf.h>

Inheritance diagram for MCFHandler< Tpass >:
ComponentHandler

Public Member Functions

void Run (LinkGraphJob &job) const override
 Run the calculation. More...
 
- Public Member Functions inherited from ComponentHandler
virtual ~ComponentHandler ()=default
 Destroy the handler. More...
 

Detailed Description

template<class Tpass>
class MCFHandler< Tpass >

Link graph handler for MCF.

Creates MultiCommodityFlow instance according to the template parameter.

Definition at line 76 of file mcf.h.

Member Function Documentation

◆ Run()

template<class Tpass >
void MCFHandler< Tpass >::Run ( LinkGraphJob job) const
inlineoverridevirtual

Run the calculation.

Parameters
graphComponent to be calculated.

Implements ComponentHandler.

Definition at line 83 of file mcf.h.


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