OpenTTD Source: MCFHandler< Tpass > Class Template Reference

OpenTTD Source 12.0-beta1

Public Member Functions
MCFHandler< Tpass > Class Template Reference

Link graph handler for MCF. More...

`#include <mcf.h>`

Inheritance diagram for MCFHandler< Tpass >:

## Public Member Functions
virtual void | Run (LinkGraphJob &job) const
| Run the calculation. More...
virtual | ~MCFHandler ()
| Destructor. More...
Public Member Functions inherited from ComponentHandler
virtual | ~ComponentHandler ()
| 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 77 of file mcf.h.

## Constructor & Destructor Documentation

## ◆ ~MCFHandler()

template<class Tpass >

virtual MCFHandler< Tpass >::~MCFHandler | ( |  | ) |
| inlinevirtual

Destructor.

Has to be given because of virtual Run().

Definition at line 89 of file mcf.h.

## Member Function Documentation

## ◆ Run()

template<class Tpass >

virtual void MCFHandler< Tpass >::Run | ( | LinkGraphJob & | job | ) | const
| inlinevirtual

Run the calculation.

Parameters

  graph | Component to be calculated.

Implements ComponentHandler.

Definition at line 84 of file mcf.h.

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

- src/linkgraph/mcf.h