OpenTTD Source 20260206-master-g4d4e37dbf1
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.
Public Member Functions inherited from ComponentHandler
virtual ~ComponentHandler ()=default
 Destroy the handler.

Detailed Description

template<class Tpass>
class MCFHandler< Tpass >

Link graph handler for MCF.

Creates MultiCommodityFlow instance according to the template parameter.

Definition at line 83 of file mcf.h.

Member Function Documentation

◆ Run()

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

Run the calculation.

Parameters
jobComponent to be calculated.

Implements ComponentHandler.

Definition at line 90 of file mcf.h.


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