bholt / experiments-new

Library for running and tabulating experiments and parameter sweeps.
2 stars 1 forks source link

Calculated params #9

Open bholt opened 11 years ago

bholt commented 11 years ago

Reintroduce params that can be calculated based on other params.

Could do this the same as before, with a hacky syntax. Better: define with lambdas and @param syntax (use instance_eval on lambda binding).

E.g.:

params {
  nnode 2, 4
  ppn      2
  nproc ->{ @nnode * @ppn }
}