Is there a way for the Optimizer class to reference a Strategy's public variable?
For example, within optimizer:
// Assuming Strategies is a collection or list of the strategy instances
// that optimizer iterates through when running an optimization
Strategies[i].aPublicVariable = 5;
For example, within optimizer:
public class SomeClass: Strategy{
public int aPublicVariable = 0;
}
So, when my custom Optimizer is run it will set the value of aPublicVariable to 5 for every instance of SomeClass.
BigSurf
Comment