COIN-OR::LEMON - Graph Library

source: glemon-0.x/all_include.h @ 9:0bb1675306cb

gui
Last change on this file since 9:0bb1675306cb was 9:0bb1675306cb, checked in by Hegyi Péter, 19 years ago

Hopefully, node creation works well, after a small structural consideration.

File size: 859 bytes
Line 
1// -*- C++ -*- //
2
3#ifndef ALL_INCLUDE_H
4#define ALL_INCLUDE_H
5
6#include <fstream>
7#include <iostream>
8
9#include <vector>
10
11#include <lemon/list_graph.h>
12#include <lemon/graph_reader.h>
13#include <lemon/graph_writer.h>
14#include <lemon/graph_utils.h>
15#include <lemon/maps.h>
16#include <lemon/error.h>
17#include <lemon/xy.h>
18
19enum {WIDTH, COLOR, TEXT, PROPERTY_NUM}; // edge properties;
20enum {MOVE, CREATE_NODE, CREATE_EDGE, TOOL_NUM}; // tools;
21#define RANGE 3
22#define WIN_WIDTH 900
23#define WIN_HEIGHT 600
24
25
26#ifndef MAIN_PART
27extern std::string * property_strings;
28extern double * property_defaults;
29#endif //MAIN_PART
30
31using namespace lemon;
32
33typedef xy<double> Coordinates;
34typedef ListGraph Graph;
35typedef Graph::NodeMap<Coordinates> CoordinatesMap;
36typedef Graph::Node Node;
37typedef Graph::EdgeIt EdgeIt;
38typedef Graph::NodeIt NodeIt;
39
40#endif // ALL_INCLUDE_H
Note: See TracBrowser for help on using the repository browser.