[Lemon-commits] [lemon_svn] alpar: r3013 - hugo/trunk/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 21:51:49 CET 2006
Author: alpar
Date: Sun Oct 22 21:45:57 2006
New Revision: 3013
Modified:
hugo/trunk/lemon/bin_heap.h
hugo/trunk/lemon/maps.h
Log:
Docfix.
maps.h is still very fuzzy.
Modified: hugo/trunk/lemon/bin_heap.h
==============================================================================
--- hugo/trunk/lemon/bin_heap.h (original)
+++ hugo/trunk/lemon/bin_heap.h Sun Oct 22 21:45:57 2006
@@ -54,7 +54,6 @@
public:
typedef Item ItemType;
- // FIXME: stl-ben nem ezt hivjak value_type -nak, hanem a kovetkezot...
typedef Prio PrioType;
typedef std::pair<ItemType,PrioType> PairType;
typedef ItemIntMap ItemIntMapType;
Modified: hugo/trunk/lemon/maps.h
==============================================================================
--- hugo/trunk/lemon/maps.h (original)
+++ hugo/trunk/lemon/maps.h Sun Oct 22 21:45:57 2006
@@ -1018,8 +1018,8 @@
///Logical 'not' of a map with writing possibility
///This bool \ref concept::ReadWriteMap "read-write map" returns the
- ///logical negation of value returned by the given map. It is setted
- ///then the negation of the value be setted to the original map.
+ ///logical negation of value returned by the given map. When it is set,
+ ///the opposite value is set to the original map.
///Its \c Key and will be inherited from \c M,
///its Value is <tt>bool</tt>.
template <typename M>
@@ -1064,8 +1064,8 @@
/// \brief Writable bool map for store each true assigned elements.
///
- /// Writable bool map for store each true assigned elements. It will
- /// copies all the true setted keys to the given iterator.
+ /// Writable bool map to store each true assigned elements. It will
+ /// copies all the keys set to true to the given iterator.
///
/// \note The container of the iterator should contain space
/// for each element.
@@ -1100,12 +1100,12 @@
StoreBoolMap(Iterator it, const Functor& functor = Functor())
: _begin(it), _end(it), _functor(functor) {}
- /// Gives back the given first setted iterator.
+ /// Gives back the given iterator set for the first time.
Iterator begin() const {
return _begin;
}
- /// Gives back the iterator after the last setted.
+ /// Gives back the iterator after the last set operation.
Iterator end() const {
return _end;
}
@@ -1126,7 +1126,7 @@
/// a back insertable container.
///
/// Writable bool map for store each true assigned elements in a back
- /// insertable container. It will push back all the true setted keys into
+ /// insertable container. It will push back all the keys set to true into
/// the container. It can be used to retrieve the items into a standard
/// container. The next example shows how can you store the undirected
/// edges in a vector with prim algorithm.
@@ -1165,7 +1165,7 @@
/// a front insertable container.
///
/// Writable bool map for store each true assigned elements in a front
- /// insertable container. It will push front all the true setted keys into
+ /// insertable container. It will push front all the keys set to \c true into
/// the container. For example see the BackInserterBoolMap.
template <typename Container,
typename Functor =
@@ -1196,7 +1196,7 @@
/// an insertable container.
///
/// Writable bool map for store each true assigned elements in an
- /// insertable container. It will insert all the true setted keys into
+ /// insertable container. It will insert all the keys set to \c true into
/// the container. If you want to store the cut edges of the strongly
/// connected components in a set you can use the next code:
///
@@ -1236,10 +1236,10 @@
Functor functor;
};
- /// \brief Fill the true setted elements with a given value.
+ /// \brief Fill the true set elements with a given value.
///
- /// Writable bool map for fill the true setted elements with a given value.
- /// The value can be setted
+ /// Writable bool map to fill the elements set to \c true with a given value.
+ /// The value can set
/// the container.
///
/// The next code finds the connected components of the undirected graph
@@ -1362,7 +1362,7 @@
SettingOrderBoolMap(Map& _map)
: map(_map), counter(0) {}
- /// Number of setted keys.
+ /// Number of set operations.
int num() const {
return counter;
}
More information about the Lemon-commits
mailing list