gui/all_include.h
author alpar
Thu, 09 Jun 2005 09:49:56 +0000
changeset 1459 2ee881cf30a8
parent 1435 8e85e6bbefdf
child 1468 d0ccb2fdeeff
permissions -rw-r--r--
- InDegMap fixed
- OutDegMap added
- test cases added for them both
ladanyi@1442
     1
// -*- C++ -*- //
ladanyi@1442
     2
ladanyi@1442
     3
#ifndef ALL_INCLUDE_H
ladanyi@1442
     4
#define ALL_INCLUDE_H
ladanyi@1442
     5
ladanyi@1442
     6
#include <fstream>
ladanyi@1442
     7
#include <iostream>
ladanyi@1442
     8
ladanyi@1442
     9
#include <vector>
ladanyi@1442
    10
ladanyi@1442
    11
#include <lemon/list_graph.h>
ladanyi@1442
    12
#include <lemon/graph_reader.h>
ladanyi@1442
    13
#include <lemon/graph_writer.h>
ladanyi@1442
    14
#include <lemon/graph_utils.h>
ladanyi@1442
    15
#include <lemon/maps.h>
ladanyi@1442
    16
#include <lemon/error.h>
ladanyi@1442
    17
#include <lemon/xy.h>
ladanyi@1442
    18
ladanyi@1442
    19
enum {WIDTH, COLOR, TEXT, PROPERTY_NUM};// properties;
ladanyi@1442
    20
#define RANGE 3
ladanyi@1442
    21
#define WIN_WIDTH 900
ladanyi@1442
    22
#define WIN_HEIGHT 600
ladanyi@1442
    23
ladanyi@1442
    24
ladanyi@1442
    25
#ifndef MAIN_PART
ladanyi@1442
    26
extern std::string * property_strings;
ladanyi@1442
    27
extern double * property_defaults;
ladanyi@1442
    28
#endif //MAIN_PART
ladanyi@1442
    29
ladanyi@1442
    30
using namespace lemon;
ladanyi@1442
    31
ladanyi@1442
    32
typedef xy<double> Coordinates;
ladanyi@1442
    33
typedef ListGraph Graph;
ladanyi@1442
    34
typedef Graph::NodeMap<Coordinates> CoordinatesMap;
ladanyi@1442
    35
typedef Graph::Node Node;
ladanyi@1442
    36
typedef Graph::EdgeIt EdgeIt;
ladanyi@1442
    37
typedef Graph::NodeIt NodeIt;
ladanyi@1442
    38
ladanyi@1442
    39
#endif // ALL_INCLUDE_H