OpenTTD
linkgraph_base.h
Go to the documentation of this file.
1 /* $Id: linkgraph_base.h 25354 2013-06-09 12:58:37Z fonsinchen $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * 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.
6  * 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.
7  * 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 <http://www.gnu.org/licenses/>.
8  */
9 
12 #ifndef LINKGRAPH_BASE_H
13 #define LINKGRAPH_BASE_H
14 
15 #include "linkgraph.h"
16 #include "linkgraphschedule.h"
17 
18 typedef LinkGraph::Node Node;
19 typedef LinkGraph::Edge Edge;
21 
25 
26 
27 #endif /* LINKGRAPH_BASE_H */
Constant node class.
Definition: linkgraph.h:339
Updatable node class.
Definition: linkgraph.h:374
EdgeWrapper< const BaseEdge > ConstEdge
A constant edge class.
Definition: linkgraph.h:288
Declaration of link graph schedule used for cargo distribution.
An iterator for const edges.
Definition: linkgraph.h:309
An updatable edge class.
Definition: linkgraph.h:293
Wrapper for an edge (const or not) allowing retrieval, but no modification.
Definition: linkgraph.h:77
Declaration of link graph classes used for cargo distribution.
An iterator for non-const edges.
Definition: linkgraph.h:324
Node(LinkGraph *lg, NodeID node)
Constructor.
Definition: linkgraph.h:381