COIN-OR::LEMON - Graph Library

Changeset 1167:ccbca6ba8b59 in lemon-0.x


Ignore:
Timestamp:
02/22/05 11:23:08 (20 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1571
Message:

Corrected spelling errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/maps.dox

    r1083 r1167  
    44\page maps-page Maps
    55
    6 Maps play central role in LEMON. As their name suggests, they map a
     6Maps play a central role in LEMON. As their name suggests, they map a
    77certain range of \e keys to certain \e values. Each map has two
    88<tt>typedef</tt>'s to determine the types of keys and values, like this:
     
    4747\c ListGraph::OutEdgeIt etc.)
    4848
    49 There are two ways the assign a new value to a key
     49There are two ways to assign a new value to a key
    5050
    5151- In case of a <em>reference map</em> <tt>operator[]</tt>
     
    7171\subsection read-maps Readable Maps
    7272
    73 Readable maps are very frequently used as the input of the
    74 algorithms.  For this purpose the most straightforward way is the use of the
     73Readable maps are very frequently used as the input of an
     74algorithm.  For this purpose the most straightforward way is the use of the
    7575default maps provided by LEMON's graph structures.
    7676Very often however, it is more
     
    116116public:
    117117  Value operator[](Key e) const {
    118     return orig_len.get(e)-pot.get(G.target(e))-pot.get(G.source(e));
     118    return orig_len.get(e)-(pot.get(G.target(e))-pot.get(G.source(e)));
    119119  }
    120120 
Note: See TracChangeset for help on using the changeset viewer.