COIN-OR::LEMON - Graph Library

Changeset 1034:be6ee857b72d in lemon-0.x


Ignore:
Timestamp:
12/09/04 16:30:12 (15 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1424
Message:

Undir list and smart graph

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/list_graph.h

    r1012 r1034  
    2525#include <lemon/clearable_graph_extender.h>
    2626#include <lemon/extendable_graph_extender.h>
    27 
    2827#include <lemon/iterable_graph_extender.h>
    29 
    3028#include <lemon/alteration_observer_registry.h>
    31 
    3229#include <lemon/default_map.h>
     30
     31#include <lemon/undir_graph_extender.h>
    3332
    3433#include <list>
     
    502501   
    503502  };
     503
     504
     505  /**************** Undirected List Graph ****************/
     506
     507  typedef ErasableUndirGraphExtender<
     508    ClearableUndirGraphExtender<
     509    ExtendableUndirGraphExtender<
     510    MappableUndirGraphExtender<
     511    IterableUndirGraphExtender<
     512    AlterableUndirGraphExtender<
     513    UndirGraphExtender<ListGraphBase> > > > > > > ErasableUndirListGraphBase;
     514
     515  class UndirListGraph : public ErasableUndirListGraphBase {
     516  };
     517
    504518 
    505519  /// @} 
  • src/lemon/smart_graph.h

    r1011 r1034  
    3232#include <lemon/default_map.h>
    3333
     34#include <lemon/undir_graph_extender.h>
     35
    3436#include <lemon/utility.h>
    3537
     
    346348    };
    347349  };
     350
     351
     352  /**************** Undirected List Graph ****************/
     353
     354  typedef ClearableUndirGraphExtender<
     355    ExtendableUndirGraphExtender<
     356    MappableUndirGraphExtender<
     357    IterableUndirGraphExtender<
     358    AlterableUndirGraphExtender<
     359    UndirGraphExtender<SmartGraphBase> > > > > > UndirSmartGraphBase;
     360
     361  class UndirSmartGraph : public UndirSmartGraphBase {
     362  };
     363
    348364 
    349365  /// @} 
  • src/test/undir_graph_test.cc

    r1030 r1034  
    3434  checkConcept<ErasableUndirGraph, Graph>();
    3535
     36  checkConcept<UndirGraph, UndirListGraph>();
     37  checkConcept<ErasableUndirGraph, UndirListGraph>();
     38
     39  checkConcept<UndirGraph, UndirSmartGraph>();
     40  checkConcept<ExtendableUndirGraph, UndirSmartGraph>();
     41
    3642  checkConcept<UndirGraph, UndirGraph>();
    3743
Note: See TracChangeset for help on using the changeset viewer.