Add Initial Design

From SUMOwiki
Revision as of 15:48, 10 May 2007 by Dgorissen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The toolbox comes with a number of sample selection algorithms, both for experimental design (initial samples) and sequential design. Of course you are free to add your own.

The available initial designs can be found in the folder src/matlab/initialDesigns. Adding a new type means creating a new class in this folder analogous to the existing ones (subclass InitialDesign). Two files are required:

  • a constructor for reading in the configuration extracted from the XML file
  • a generate.m file that returns an initial set of data points according to some algorithm