Struct GridN::Cell

Nested Relationships

This struct is a nested type of Template Class GridN.

Inheritance Relationships

Base Type

  • public BaseCell

Struct Documentation

struct Cell : public BaseCell

Definition of a cell in this grid.

Public Functions

Cell() = default
~Cell() override = default

Public Members

unsigned int neighbors = {0}

The number of neighbors.

bool border = {true}

A flag indicating whether this cell is on the border or not.