OpenTTD Source  1.11.0-beta2
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 <http://www.gnu.org/licenses/>.
6  */
7 
10 #ifndef LINKGRAPH_BASE_H
11 #define LINKGRAPH_BASE_H
12 
13 #include "linkgraph.h"
14 #include "linkgraphschedule.h"
15 
16 typedef LinkGraph::Node Node;
17 typedef LinkGraph::Edge Edge;
19 
23 
24 
25 #endif /* LINKGRAPH_BASE_H */
LinkGraph::Node
Updatable node class.
Definition: linkgraph.h:373
LinkGraph::EdgeIterator
An iterator for non-const edges.
Definition: linkgraph.h:323
LinkGraph::ConstNode
Constant node class.
Definition: linkgraph.h:338
LinkGraph::Edge
An updatable edge class.
Definition: linkgraph.h:292
LinkGraph::EdgeWrapper
Wrapper for an edge (const or not) allowing retrieval, but no modification.
Definition: linkgraph.h:76
LinkGraph::ConstEdge
EdgeWrapper< const BaseEdge > ConstEdge
A constant edge class.
Definition: linkgraph.h:287
linkgraphschedule.h
LinkGraph::ConstEdgeIterator
An iterator for const edges.
Definition: linkgraph.h:308
linkgraph.h
LinkGraph::Node::Node
Node(LinkGraph *lg, NodeID node)
Constructor.
Definition: linkgraph.h:380