OpenTTD Source: src/linkgraph/linkgraph_base.h Source File

OpenTTD Source 15.3

linkgraph_base.h
Go to the documentation of this file.
1/*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
10#ifndef LINKGRAPH_BASE_H
11#define LINKGRAPH_BASE_H
12
13#include "linkgraph.h"
14#include "linkgraphschedule.h"
15
16typedef LinkGraph::BaseNode Node;
17typedef LinkGraph::BaseEdge Edge;
18
19typedef const LinkGraph::BaseNode ConstNode;
20typedef const LinkGraph::BaseEdge ConstEdge;
21
22
23#endif /* LINKGRAPH_BASE_H */
linkgraph.h
Declaration of link graph classes used for cargo distribution.
linkgraphschedule.h
Declaration of link graph schedule used for cargo distribution.
LinkGraph::BaseEdge
An edge in the link graph.
Definition linkgraph.h:42
LinkGraph::BaseNode
Node of the link graph.
Definition linkgraph.h:90