COIN-OR::LEMON - Graph Library

Changeset 676:7ec5e7e6c7b4 in lemon-0.x for src/work/deba


Ignore:
Timestamp:
06/08/04 08:44:05 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@914
Message:

c++ setting for emacs
Empty commands for doxygen

Location:
src/work/deba
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/work/deba/map_defines.h

    r674 r676  
     1// -*- c++ -*-
    12#ifndef MAP_DEFINES_H
    23#define MAP_DEFINES_H
  • src/work/deba/map_registry.h

    r627 r676  
    55
    66using namespace std;
     7
     8namespace hugo {
    79
    810/**
     
    1214    event.
    1315*/
    14 
    15 namespace hugo {
    16 
    1716  template <typename G, typename K, typename KIt>
    1817  class MapRegistry {
     
    2423
    2524
     25    ///.
     26
     27    ///.
     28    ///
    2629    class MapBase {
    2730    public:
     
    138141    public:
    139142       
     143    ///.
    140144    MapRegistry() {}
    141145       
     146    ///.
    142147    MapRegistry(const MapRegistry&) {}
    143148               
     149    ///.
    144150    MapRegistry& operator=(const MapRegistry&) {
    145151      for (it = container.begin(); it != container.end(); ++it) {
     
    150156    }
    151157                               
     158    ///.
    152159    ~MapRegistry() {
    153160      typename Container::iterator it;
     
    162169    public:
    163170       
     171    ///.
    164172    void attach(MapBase& map) {
    165173      if (map.registry) {
     
    171179    }
    172180       
     181    ///.
    173182    void detach(MapBase& map) {
    174183      container.back()->registry_index = map.registry_index;
     
    180189       
    181190               
     191    ///.
    182192    virtual void add(Key& key) {
    183193      typename Container::iterator it;
     
    187197    }   
    188198               
     199    ///.
    189200    virtual void erase(Key& key) {
    190201      typename Container::iterator it;
  • src/work/deba/test_graph.h

    r674 r676  
    3535   
    3636    typedef ListGraph Graph;
    37  
    38     CREATE_MAP_REGISTRIES
    39     CREATE_MAPS(ArrayMapFactory)
    40 
     37    
     38    CREATE_MAP_REGISTRIES;
     39    CREATE_MAPS(ArrayMapFactory);
     40   
    4141  private:
    42 
     42   
    4343    int node_id;
    4444    int edge_id;
    4545    int _node_num;
    4646    int _edge_num;
    47 
     47   
    4848    node_item* _first_node;
    4949    node_item* _last_node;
Note: See TracChangeset for help on using the changeset viewer.