grid.h File Reference

Contains factories to generate grids. More...

#include <config.h>
#include <list>

Go to the source code of this file.

Namespaces

namespace  factory
 

Contains predefined ways to initialize a graph.


Functions

template<typename Graph , class Model >
bool factory::hex_grid (size_t N, size_t M, Graph &G, Model &model, bool torus=false)
 Build a hexagonal grid with N lines and M columns.
template<typename Graph , class Model >
bool factory::square_grid (size_t N, size_t M, Graph &G, Model &model, bool torus=false, bool connect8=false)
 Create a square grid with N lines and M columns.

Detailed Description

Contains factories to generate grids.

Definition in file grid.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:37:53 2013 for VVE by  doxygen 1.6.3