fpmas 1.6
Public Member Functions | List of all members
fpmas::model::ChebyshevDistance Class Reference

#include <moore_grid.h>

Public Member Functions

DiscreteCoordinate operator() (const DiscretePoint &p1, const DiscretePoint &p2) const
 

Detailed Description

Function object used to compute the Chebyshev distance between two DiscretePoints.

Member Function Documentation

◆ operator()()

DiscreteCoordinate fpmas::model::ChebyshevDistance::operator() ( const DiscretePoint p1,
const DiscretePoint p2 
) const
inline

Computes the Chebyshev distance between p1 and p2.

Returns
Chebyshev distance between p1 and p2

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