gen_multi_bdprob: Generate a new bd problem by modifying or combining existing...

gen_multi_bdprobR Documentation

Generate a new bd problem by modifying or combining existing problem(s)

Description

Sometimes it may be useful to combine 2 or more bd problems into one bigger problem since it may have the potential to produce a more difficult compound problem. If nothing else, it bears some resemblance to having a larger landscape with subregion characteristics.

Usage

gen_multi_bdprob(parameters, starting_dir, integerize, bdprob_1 = NULL)

Arguments

parameters

parameters list for the run, usually derived from project.yaml and can have a varying number and set of elements depending on the run

starting_dir

string containing full path of top directory where problems and/or runs are to be created

integerize

function to use in converting floats to ints

bdprob_1

a Xu biodiversity problem object

Details

This function is intended to allow either wrapping a distribution around an existing problem or combining two problems. However, at the moment, it only allows wrapping. Combining two problems is pretty straightforward but has not been implemented yet and probably won't be implemented unless there is a demand for it.

Dummy code that was in here to demonstrate high-level parts of that combination (i.e., combine_2_bdprobs()) have been removed but can be found in github versions of the code up until around commit 1c0fbba6 on Feb 4, 2017.

Value

Returns a multi-BD_Prob


langfob/bdpg documentation built on Dec. 8, 2022, 5:33 a.m.