COIN-OR::LEMON - Graph Library

Changeset 2498:290e43cddc1a in lemon-0.x for lemon/smart_graph.h


Ignore:
Timestamp:
10/19/07 17:21:07 (17 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3337
Message:

Bug fix in undirected graphs (adding loops)
Bug fix in undirected edgesets (alteration notifying)

Redesigned undirected edgesets (like the smart or ugraph)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r2456 r2498  
    186186  typedef GraphExtender<SmartGraphBase> ExtendedSmartGraphBase;
    187187
    188   /// \ingroup graphs
    189 
    190   ///A smart graph class.
    191 
     188  ///\ingroup graphs
     189  ///
     190  ///\brief A smart graph class.
     191  ///
    192192  ///This is a simple and fast graph implementation.
    193193  ///It is also quite memory efficient, but at the price
     
    572572
    573573      edges[n].next_out = nodes[v.id].first_out;
    574       edges[n | 1].next_out = nodes[u.id].first_out;
    575        
    576574      nodes[v.id].first_out = n;
     575
     576      edges[n | 1].next_out = nodes[u.id].first_out;   
    577577      nodes[u.id].first_out = (n | 1);
    578578
Note: See TracChangeset for help on using the changeset viewer.