Euphoria
eu::core::WallCounter Struct Reference

#include <table_bool.h>

Public Member Functions

 WallCounter (const BoolTable &w, Lrud< core::OutsideRule > r, int x, int y)
 
int count (int step, bool include_self, NeighborhoodAlgorithm algorithm) const
 

Public Attributes

const BoolTableworld
 
Lrud< core::OutsideRuleoutside_rule
 
int cx
 
int cy
 

Detailed Description

Definition at line 97 of file table_bool.h.

Constructor & Destructor Documentation

◆ WallCounter()

eu::core::WallCounter::WallCounter ( const BoolTable w,
Lrud< core::OutsideRule r,
int  x,
int  y 
)

Definition at line 254 of file table_bool.cc.

Member Function Documentation

◆ count()

int eu::core::WallCounter::count ( int  step,
bool  include_self,
NeighborhoodAlgorithm  algorithm 
) const

Definition at line 305 of file table_bool.cc.

Member Data Documentation

◆ cx

int eu::core::WallCounter::cx

Definition at line 101 of file table_bool.h.

◆ cy

int eu::core::WallCounter::cy

Definition at line 102 of file table_bool.h.

◆ outside_rule

Lrud<core::OutsideRule> eu::core::WallCounter::outside_rule

Definition at line 100 of file table_bool.h.

◆ world

const BoolTable& eu::core::WallCounter::world

Definition at line 99 of file table_bool.h.


The documentation for this struct was generated from the following files: