fpmas 1.5
Public Member Functions | List of all members
fpmas::model::VonNeumannRangePerimeter< MooreGrid< CellType > > Struct Template Reference

#include <von_neumann_range.h>

Public Member Functions

DiscretePoint operator() (const GridRange< MooreGrid< CellType >, VonNeumannRangeConfig< MooreGrid< CellType > > > &range) const
 

Detailed Description

template<typename CellType>
struct fpmas::model::VonNeumannRangePerimeter< MooreGrid< CellType > >

VonNeumannRangePerimeter specialization corresponding to a VonNeumannRange used on a MooreGrid.

Member Function Documentation

◆ operator()()

template<typename CellType >
DiscretePoint fpmas::model::VonNeumannRangePerimeter< MooreGrid< CellType > >::operator() ( const GridRange< MooreGrid< CellType >, VonNeumannRangeConfig< MooreGrid< CellType > > > &  range) const
inline

Returns the perimeter of the specified VonNeumann range on a MooreGrid.

In this particular case, the perimeter corresponds to (0, range.getSize()). See GridRangeConfig::Perimeter for more information about the definition of a "perimeter".

Parameters
rangeVonNeumann range for which the perimeter must be computed

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