COIN-OR::LEMON - Graph Library

Changeset 220:7deda4d6a07a in lemon-0.x for src/work/jacint/fib_heap.h


Ignore:
Timestamp:
03/20/04 21:06:23 (16 years ago)
Author:
jacint
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@316
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/jacint/fib_heap.h

    r217 r220  
    144144   
    145145
    146 
    147 
    148146    PrioType& operator[](const Item& it) {
    149147      return container[iimap[it]].prio;
    150148    }
     149
    151150   
    152151    const PrioType& operator[](const Item& it) const {
     
    154153    }
    155154
    156 //     const PrioType get(const Item& it) const {
    157 //       return container[iimap[it]].prio;
    158 //     }
    159 
     155
     156    const PrioType get(const Item& it) const {
     157      return container[iimap[it]].prio;
     158    }
     159   
    160160    void pop() {
    161161      /*The first case is that there are only one root.*/
Note: See TracChangeset for help on using the changeset viewer.