Lean  $LEAN_TAG$
QuantConnect.Optimizer.Parameters.OptimizationStepParameterEnumerator Class Reference

Enumerates all possible values for specific optimization parameter More...

Inheritance diagram for QuantConnect.Optimizer.Parameters.OptimizationStepParameterEnumerator:
[legend]

Public Member Functions

 OptimizationStepParameterEnumerator (OptimizationStepParameter optimizationParameter)
 Creates an instance of OptimizationStepParameterEnumerator More...
 
override bool MoveNext ()
 Advances the enumerator to the next element of the collection. More...
 
- Public Member Functions inherited from QuantConnect.Optimizer.Parameters.OptimizationParameterEnumerator< OptimizationStepParameter >
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
void Reset ()
 Sets the enumerator to its initial position, which is before the first element in the collection. More...
 

Properties

override string Current [get]
 Gets the element in the collection at the current position of the enumerator. More...
 
- Properties inherited from QuantConnect.Optimizer.Parameters.OptimizationParameterEnumerator< OptimizationStepParameter >
OptimizationParameter [get]
 The target optimization parameter to enumerate More...
 
int Index [get, set]
 The current enumeration state More...
 
abstract string Current [get]
 Gets the element in the collection at the current position of the enumerator. More...
 

Additional Inherited Members

- Protected Member Functions inherited from QuantConnect.Optimizer.Parameters.OptimizationParameterEnumerator< OptimizationStepParameter >
 OptimizationParameterEnumerator (T optimizationParameter)
 

Detailed Description

Enumerates all possible values for specific optimization parameter

Definition at line 23 of file OptimizationStepParameterEnumerator.cs.

Constructor & Destructor Documentation

◆ OptimizationStepParameterEnumerator()

QuantConnect.Optimizer.Parameters.OptimizationStepParameterEnumerator.OptimizationStepParameterEnumerator ( OptimizationStepParameter  optimizationParameter)

Creates an instance of OptimizationStepParameterEnumerator

Parameters
optimizationParameterStep-based optimization parameter

Definition at line 29 of file OptimizationStepParameterEnumerator.cs.

Member Function Documentation

◆ MoveNext()

override bool QuantConnect.Optimizer.Parameters.OptimizationStepParameterEnumerator.MoveNext ( )
virtual

Advances the enumerator to the next element of the collection.

Returns
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Exceptions
T:System.InvalidOperationExceptionThe collection was modified after the enumerator was created.

Implements QuantConnect.Optimizer.Parameters.OptimizationParameterEnumerator< OptimizationStepParameter >.

Definition at line 54 of file OptimizationStepParameterEnumerator.cs.

Property Documentation

◆ Current

override string QuantConnect.Optimizer.Parameters.OptimizationStepParameterEnumerator.Current
get

Gets the element in the collection at the current position of the enumerator.

Returns
The element in the collection at the current position of the enumerator.

Definition at line 38 of file OptimizationStepParameterEnumerator.cs.


The documentation for this class was generated from the following file: