| SystemPerformanceOptimizerOptimize Method |
Runs a Cross-Entropy program designed to optimize
a system's performance in the
specified context.
Namespace:
Novacta.Analytics.Advanced
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public SystemPerformanceOptimizationResults Optimize(
SystemPerformanceOptimizationContext context,
double rarity,
int sampleSize
)
Public Function Optimize (
context As SystemPerformanceOptimizationContext,
rarity As Double,
sampleSize As Integer
) As SystemPerformanceOptimizationResults
public:
SystemPerformanceOptimizationResults^ Optimize(
SystemPerformanceOptimizationContext^ context,
double rarity,
int sampleSize
)
member Optimize :
context : SystemPerformanceOptimizationContext *
rarity : float *
sampleSize : int -> SystemPerformanceOptimizationResults
Parameters
- context
- Type: Novacta.Analytics.AdvancedSystemPerformanceOptimizationContext
The Cross-Entropy context
representing the optimization problem to solve. - rarity
- Type: SystemDouble
The rarity applied by the Cross-Entropy method.
- sampleSize
- Type: SystemInt32
The size of the samples drawn during the
sampling step of the Cross-Entropy method.
Return Value
Type:
SystemPerformanceOptimizationResultsThe results of the Cross-Entropy optimizer.
Exceptions Remarks
For a thorough description of the method and an example
of how to use it,
see the remarks
about the SystemPerformanceOptimizer class.
See Also