Source

Manhattan#

A distance metric that constrains movement to horizontal and vertical, similar to navigating the city blocks of Manhattan. An example of a game that uses this type of movement is a checkers board.

Parameters#

This kernel does not have any parameters.

Example#

use Rubix\ML\Kernels\Distance\Manhattan;

$kernel = new Manhattan();