COIN-OR::LEMON - Graph Library

Changeset 274:28728f3945c5 in lemon-0.x for src/work


Ignore:
Timestamp:
04/01/04 23:06:53 (16 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@386
Message:

bin_heap merge-olva

Location:
src/work
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/bin_heap_demo.cc

    r258 r274  
    5454  heap.set("korte", 3.4);
    5555
    56   cout << "heap.get(\"alma\") = "
    57        << heap.get("alma")
    58        << endl;
    5956  cout << "heap[\"alma\"] = "
    6057       << heap["alma"]
     
    6360  cout << "heap.top() = "
    6461       << heap.top() << endl;
    65   cout << "heap.topPrio() = "
    66        << heap.topPrio() << endl;
     62  cout << "heap.prio() = "
     63       << heap.prio() << endl;
    6764
    6865  cout << "heap.decrease(\"alma\", 1.2);\n";
     
    7168  cout << "heap.top() = "
    7269       << heap.top() << endl;
    73   cout << "heap.topPrio() = "
    74        << heap.topPrio() << endl;
     70  cout << "heap.prio() = "
     71       << heap.prio() << endl;
    7572
    7673  cout << "heap.set(\"alma\", 22);\n";
     
    7976  cout << "heap.top() = "
    8077       << heap.top() << endl;
    81   cout << "heap.topPrio() = "
    82        << heap.topPrio() << endl;
     78  cout << "heap.prio() = "
     79       << heap.prio() << endl;
    8380
    8481  cout << "heap.size() = "
     
    8986  cout << "heap.top() = "
    9087       << heap.top() << endl;
    91   cout << "heap.topPrio() = "
    92        << heap.topPrio() << endl;
     88  cout << "heap.prio() = "
     89       << heap.prio() << endl;
    9390
    9491  cout << "heap.state(\"szilva\") = "
Note: See TracChangeset for help on using the changeset viewer.