move_up_down: Move up and down

Description Usage Arguments Value

View source: R/move.R

Description

Moves the solution for a single admin unit randomly up and for a different single admin unit randomly down

Usage

1
move_up_down(solution, min_solution, max_solution)

Arguments

solution

Proposed solution (vector of indices)

min_solution

Min solution index

max_solution

Max solution index

Value

Solution with one up and one down move


pwinskill/coop documentation built on Oct. 11, 2020, 11:29 a.m.