fpmas 1.6
moore_range.h
Go to the documentation of this file.
1#ifndef FPMAS_MOORE_RANGE_H
2#define FPMAS_MOORE_RANGE_H
3
8#include "moore.h"
9#include "von_neumann.h"
10
11namespace fpmas { namespace model {
20 template<typename GridConfig>
22
32 template<typename GridConfig>
34
39 template<typename CellType>
59 return {std::max(range.getSize(), 0l), std::max(range.getSize(), 0l)};
60 }
61 };
62
67 template<typename CellType>
68 struct MooreRangePerimeter<MooreGrid<CellType>> {
86 return {0, std::max(range.getSize(), 0l)};
87 }
88 };
89
115 template<typename GridConfig>
117
118
119}}
120#endif
Definition: grid.h:623
Definition: fpmas.cpp:3
Definition: grid.h:507
Definition: grid.h:548
DiscretePoint operator()(const GridRange< MooreGrid< CellType >, MooreRangeConfig< MooreGrid< CellType > > > &range) const
Definition: moore_range.h:83
DiscretePoint operator()(const GridRange< VonNeumannGrid< CellType >, MooreRangeConfig< VonNeumannGrid< CellType > > > &range) const
Definition: moore_range.h:56
Definition: moore_range.h:21