Menu

#117 Lattice2DGenerator always generates non-toroidal lattices

Possible Bug
open
nobody
5
2009-05-24
2009-05-23
Csq
No

In edu.uci.ics.jung.algorithms.generators.Lattice2DGenerator:

Lattice2DGenerator always generates toroidal lattices - regardless of the isToroidal parameter passed to the constructor.

The graph generating code is wrong around lines 103-105

Discussion

  • Csq

    Csq - 2009-05-24
    • summary: Lattice2DGenerator always generates toroidal lattices --> Lattice2DGenerator always generates non-toroidal lattices
     
  • Csq

    Csq - 2009-05-24

    Sorry, I miscalculated it, it is not toroidal, but anyway it generates the same graph regardless of the isToroidal parameter.

     

Log in to post a comment.

MongoDB Logo MongoDB