[Boost-bugs] [Boost C++ Libraries] #6950: grid_graph dimensions and dim length

Subject: [Boost-bugs] [Boost C++ Libraries] #6950: grid_graph dimensions and dim length
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-29 10:10:53


#6950: grid_graph dimensions and dim length
--------------------------------------------+-------------------------------
 Reporter: Sergey Mitsyn <svm at jinr.ru> | Owner: jewillco
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
--------------------------------------------+-------------------------------
 Hello,

 I see that the documentation for grid_graph at
 http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/grid_graph.html says
 that the number of dimensions should be greater than 2, but I can't really
 see why is that important while looking at the source code, and the test
 passes even for 1 dimension.

 But it is clear that a dimension length must be greater than 2 if the
 dimension is wrapped, as in the opposite case (length=2) it is impossible
 to distinguish between wrapping and non-wrapping edge.

 Maybe the documentation being intended to specify the lower limit for a
 dimension length rather than a dimensionality and requires a fix?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6950>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC