plus

open operator fun plus(cell: Cell): Path(source)

Pursues this path to the given cell. This will add the given cell to the end of this path without increasing the cost of this path. If the given cell is not a neighbor of the last cell of this path, an exception will be thrown.

Parameters

cell

the cell to pursue this path to

See also

Throws

if cell is not a neighbor of the last cell of this path