retour_op {fpopw}R Documentation

retour_op

Description

Function used internally by Fpop and Fpop_w to do the backtracking and recover the best set of changes from 1 to i

Usage

retour_op(path, i)

Arguments

path

vector of length n containing the best last changes for any j in [1, n]. This vector is computed in the Fpop and Fpop_w using the colibri_op_c or colibri_op_weight_c function.

i

the last position to consider to start the backtracking.

Value

set of optimal changes up to i.


[Package fpopw version 1.1 Index]