author | deba |
Sat, 14 May 2005 17:26:56 +0000 | |
changeset 1416 | 1b481ced25e7 |
permissions | -rw-r--r-- |
ladanyi@1412 | 1 |
// -*- C++ -*- // |
ladanyi@1412 | 2 |
|
ladanyi@1412 | 3 |
#ifndef ALL_INCLUDE_H |
ladanyi@1412 | 4 |
#define ALL_INCLUDE_H |
ladanyi@1412 | 5 |
|
ladanyi@1412 | 6 |
#include <fstream> |
ladanyi@1412 | 7 |
#include <iostream> |
ladanyi@1412 | 8 |
|
ladanyi@1412 | 9 |
#include <vector> |
ladanyi@1412 | 10 |
|
ladanyi@1412 | 11 |
#include <lemon/list_graph.h> |
ladanyi@1412 | 12 |
#include <lemon/graph_reader.h> |
ladanyi@1412 | 13 |
#include <lemon/graph_writer.h> |
ladanyi@1412 | 14 |
#include <lemon/graph_utils.h> |
ladanyi@1412 | 15 |
#include <lemon/maps.h> |
ladanyi@1412 | 16 |
#include <lemon/error.h> |
ladanyi@1412 | 17 |
#include <lemon/xy.h> |
ladanyi@1412 | 18 |
|
ladanyi@1412 | 19 |
enum {WIDTH, COLOR, TEXT, PROPERTY_NUM};// properties; |
ladanyi@1412 | 20 |
#define RANGE 3 |
ladanyi@1412 | 21 |
#define WIN_WIDTH 900 |
ladanyi@1412 | 22 |
#define WIN_HEIGHT 600 |
ladanyi@1412 | 23 |
|
ladanyi@1412 | 24 |
|
ladanyi@1412 | 25 |
#ifndef MAIN_PART |
ladanyi@1412 | 26 |
extern std::string * property_strings; |
ladanyi@1412 | 27 |
extern double * property_defaults; |
ladanyi@1412 | 28 |
#endif //MAIN_PART |
ladanyi@1412 | 29 |
|
ladanyi@1412 | 30 |
using namespace lemon; |
ladanyi@1412 | 31 |
|
ladanyi@1412 | 32 |
typedef xy<double> Coordinates; |
ladanyi@1412 | 33 |
typedef ListGraph Graph; |
ladanyi@1412 | 34 |
typedef Graph::NodeMap<Coordinates> CoordinatesMap; |
ladanyi@1412 | 35 |
typedef Graph::Node Node; |
ladanyi@1412 | 36 |
typedef Graph::EdgeIt EdgeIt; |
ladanyi@1412 | 37 |
typedef Graph::NodeIt NodeIt; |
ladanyi@1412 | 38 |
|
ladanyi@1412 | 39 |
#endif // ALL_INCLUDE_H |