COIN-OR::LEMON - Graph Library

source: lemon-0.x/gui/all_include.h @ 1587:8f1c317ebeb4

Last change on this file since 1587:8f1c317ebeb4 was 1585:0e3ef435bdc3, checked in by Hegyi Péter, 19 years ago

Initializing adding new maps.

File size: 1.1 KB
RevLine 
[1442]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
[1512]19enum {E_WIDTH, E_COLOR, E_TEXT, EDGE_PROPERTY_NUM}; // edge properties;
20enum {N_RADIUS, N_COLOR, N_TEXT, NODE_PROPERTY_NUM}; // node properties;
[1550]21enum {MOVE, CREATE_NODE, CREATE_EDGE, ERASER, EDGE_MAP_EDIT, NODE_MAP_EDIT, TOOL_NUM}; // tools;
[1442]22#define RANGE 3
23#define WIN_WIDTH 900
24#define WIN_HEIGHT 600
[1585]25#define ALMOST_ONE 0.9999999999
[1442]26
27#ifndef MAIN_PART
[1512]28extern std::vector <std::string> edge_property_strings;
29extern std::vector <double> edge_property_defaults;
30extern std::vector <std::string> node_property_strings;
31extern std::vector <double> node_property_defaults;
[1442]32#endif //MAIN_PART
33
34using namespace lemon;
35
36typedef xy<double> Coordinates;
37typedef ListGraph Graph;
38typedef Graph::NodeMap<Coordinates> CoordinatesMap;
39typedef Graph::Node Node;
40typedef Graph::EdgeIt EdgeIt;
41typedef Graph::NodeIt NodeIt;
42
43#endif // ALL_INCLUDE_H
Note: See TracBrowser for help on using the repository browser.