| distr.root | R Documentation |
Calculates the value of the objective function for one stratum under an assumed distribution, given the remaining range d and the stratum width y (on the scaled axis).
distr.root(d, y, c, my_env)
d |
numeric: remaining distance/range on the (scaled) axis |
y |
numeric: width of the first stratum on the (scaled) axis |
c |
numeric: per stratum cost multiplier (Ch[k]) |
my_env |
environment: holds distribution name, scaled parameters, and scaling constants ('initval', 'maxval', etc.) |
Used by the DP recurrences in the "distribution-known" pathway. All distribution parameters are interpreted on the "scaled" axis (initval .. initval+dist), consistent with 'strata.distr()'.
numeric: sqrt(objective) or -1 if branch is infeasible/invalid
Karuna Reddy <karuna.reddy@auckland.ac.nz>
MGM Khan <mgm.khan@usp.ac.fj>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.