runOneRep: runOneRep function

Description Usage Arguments Details

View source: R/OptimizeByLOESS.R

Description

Utility function for optimizeByLOESS Sample a budget according to allowable ranges for the different stages and run a rep of the breeding scheme with that budget

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
runOneRep(
  replication,
  percentRanges,
  initializeFunc,
  productPipeline,
  populationImprovement,
  targetBudget,
  bsp,
  seed = NULL
)

Arguments

replication

Integer replication

percentRanges

Real matrix with F1 + nStages allowable budget ranges

initializeFunc

Function for runBreedingScheme

productPipeline

Function for runBreedingScheme

populationImprovement

Function for runBreedingScheme

targetBudget

Real how much to spend total. See CostControlFile

bsp

List breeding scheme parameters

seed=NULL

Integer seed to initialize pseudo-random number generator

Details

Allows sampling the budget and running the simulation in one function


jeanlucj/AlfSimHlpR documentation built on Nov. 7, 2021, 5:10 p.m.