equal
deleted
inserted
replaced
1788 /// that were marked \c true by an algorithm. |
1788 /// that were marked \c true by an algorithm. |
1789 /// For example it makes easier to store the nodes in the processing |
1789 /// For example it makes easier to store the nodes in the processing |
1790 /// order of Dfs algorithm, as the following examples show. |
1790 /// order of Dfs algorithm, as the following examples show. |
1791 /// \code |
1791 /// \code |
1792 /// std::vector<Node> v; |
1792 /// std::vector<Node> v; |
1793 /// dfs(g,s).processedMap(loggerBoolMap(std::back_inserter(v))).run(); |
1793 /// dfs(g).processedMap(loggerBoolMap(std::back_inserter(v))).run(s); |
1794 /// \endcode |
1794 /// \endcode |
1795 /// \code |
1795 /// \code |
1796 /// std::vector<Node> v(countNodes(g)); |
1796 /// std::vector<Node> v(countNodes(g)); |
1797 /// dfs(g,s).processedMap(loggerBoolMap(v.begin())).run(); |
1797 /// dfs(g).processedMap(loggerBoolMap(v.begin())).run(s); |
1798 /// \endcode |
1798 /// \endcode |
1799 /// |
1799 /// |
1800 /// \note The container of the iterator must contain enough space |
1800 /// \note The container of the iterator must contain enough space |
1801 /// for the elements or the iterator should be an inserter iterator. |
1801 /// for the elements or the iterator should be an inserter iterator. |
1802 /// |
1802 /// |