zenplots (version 1.0.0)

next_move_tidy: Determine the next position to move to and the turn out of there

Description

Determine the next position to move to and the turn out of there

Usage

next_move_tidy(plotNo, nPlots, curpath)

Arguments

plotNo

current plot number

nPlots

total number of plots

curpath

the current path

Value

a list containing the next position to move to (nextpos) and the turn out of there (nextout); Interpretation: nextpos: position of plot number plotNo+1 in the (non-trimmed) occupancy matrix nextout: turn out of nextpos