Boost C++ Libraries: Ticket #6950: grid_graph dimensions and dim length https://svn.boost.org/trac10/ticket/6950 <p> Hello, </p> <p> I see that the documentation for grid_graph at <a href="http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/grid_graph.html">http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/grid_graph.html</a> 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. </p> <p> 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. </p> <p> Maybe the documentation being intended to specify the lower limit for a dimension length rather than a dimensionality and requires a fix? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6950 Trac 1.4.3 Jeremiah Willcock Sat, 22 Sep 2012 20:09:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6950#comment:1 https://svn.boost.org/trac10/ticket/6950#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/80642" title="Removed incorrect note about restrictions on graph dimensionality and ...">[80642]</a>) Removed incorrect note about restrictions on graph dimensionality and fixed other typos; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6950" title="#6950: Bugs: grid_graph dimensions and dim length (closed: fixed)">#6950</a> </p> Ticket