Difference between revisions of "SED:SED reference"

From SUMOwiki
Jump to navigationJump to search
Line 5: Line 5:
 
=== SequentialDesign(problemStruct) ===
 
=== SequentialDesign(problemStruct) ===
  
Create a sequentual design object for the specified problem, as described in problemStruct. For more information, see the [[SED:SED_toolbox#You_want_to_use_the_more_advanced_features_of_the_SED_Toolbox|main page]].
+
Create a sequentual design object for the specified problem, as described in problemStruct. Uses the default algorithm ('''mc-intersite-projected-threshold''') to generate the design. For more information, see the [[SED:SED_toolbox#You_want_to_use_the_more_advanced_features_of_the_SED_Toolbox|main page]].
 +
 
 +
=== SequentialDesign('problem.xml') ===
 +
 
 +
Create a sequentual design object for the specified problem, as described in the problem.xml XML file. Uses the default algorithm ('''mc-intersite-projected-threshold''') to generate the design. For more information, see the [[SED:SED_toolbox#You_want_to_use_the_more_advanced_features_of_the_SED_Toolbox|main page]].
 +
 
 +
=== SequentialDesign(problemStruct, 'methods/method.xml') ===
 +
 
 +
Create a sequentual design object for the specified problem, as described in problemStruct. Uses the algorithm described in methods/method.xml to generate the design. For more information, see the [[SED:SED_toolbox#You_want_to_use_the_more_advanced_features_of_the_SED_Toolbox|main page]].
 +
 
 +
=== SequentialDesign('problem.xml', 'methods/method.xml') ===
 +
 
 +
Create a sequentual design object for the specified problem, as described in the problem.xml XML file. Uses the algorithm described in methods/method.xml to generate the design. For more information, see the [[SED:SED_toolbox#You_want_to_use_the_more_advanced_features_of_the_SED_Toolbox|main page]].
 +
 
 +
=== getInitialDesign() ===
 +
 
 +
The initial design is a set of samples which is generated in advance, to get the sequential design algorithm started. In the SED Toolbox, these are typically kept very low (most methods need at least 2 points to get going, so the initial design will be 2 points). Note that the initial design ''might not respect the constraints''. You can manually remove the initial points from the design, or you can request all the points excluding the initial design using the getAllPointsWithoutInitialDesign() function.

Revision as of 14:17, 24 January 2011

This page describes the different functions available in the SequentialDesign class, which is the main entry point for using the SED Toolbox. There are three ways to create an instance of this class, as described in the different use cases in the main documentation page. Additionally, several functions are available to make it easy for the user to generate, plot and get data about the design produced by your SequentialDesign instance. In the sections below, we describe each function that is available to the user.

SequentialDesign

SequentialDesign(problemStruct)

Create a sequentual design object for the specified problem, as described in problemStruct. Uses the default algorithm (mc-intersite-projected-threshold) to generate the design. For more information, see the main page.

SequentialDesign('problem.xml')

Create a sequentual design object for the specified problem, as described in the problem.xml XML file. Uses the default algorithm (mc-intersite-projected-threshold) to generate the design. For more information, see the main page.

SequentialDesign(problemStruct, 'methods/method.xml')

Create a sequentual design object for the specified problem, as described in problemStruct. Uses the algorithm described in methods/method.xml to generate the design. For more information, see the main page.

SequentialDesign('problem.xml', 'methods/method.xml')

Create a sequentual design object for the specified problem, as described in the problem.xml XML file. Uses the algorithm described in methods/method.xml to generate the design. For more information, see the main page.

getInitialDesign()

The initial design is a set of samples which is generated in advance, to get the sequential design algorithm started. In the SED Toolbox, these are typically kept very low (most methods need at least 2 points to get going, so the initial design will be 2 points). Note that the initial design might not respect the constraints. You can manually remove the initial points from the design, or you can request all the points excluding the initial design using the getAllPointsWithoutInitialDesign() function.