This is the main method of an optimization plugin which should contain the logic to determine what parameters should be used and call the RunSystem(SystemRunSettings, SystemProgressUpdate) method to run the system with a given set of parameters and get the result back.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public abstract List<OptimizationResult> RunOptimization(
	SystemRunSettings runSettings
)
Visual Basic
Public MustOverride Function RunOptimization ( 
	runSettings As SystemRunSettings
) As List(Of OptimizationResult)
Visual C++
public:
virtual List<OptimizationResult^>^ RunOptimization(
	SystemRunSettings^ runSettings
) abstract
F#
abstract RunOptimization : 
        runSettings : SystemRunSettings -> List<OptimizationResult> 

Parameters

runSettings
Type: RightEdge.Common..::..SystemRunSettings
The settings which control the simulation. These can be modified before being passed to the RunSystem(SystemRunSettings, SystemProgressUpdate) method.

Return Value

Type: List<(Of <(<'OptimizationResult>)>)>
A list of optimization results which will be displayed in the optimization result screen.

See Also