Creating links between inputs for strategy tester

 

Hello


Is it possible to link several inputs before testing?

For example, if I have 1 boolean input and 1 double input, and when the boolean is set to false, I don't want the strategy tester to bother testing all the range of the double input because it will have no effect.

Is that even possible?

 

I don't think that will work.

This will abort the tests when the parameter is false.

But there are other parameters that still need to be tested when  a specific one is false. This would abort those tests.

 
Alon D:

I don't think that will work.

This will abort the tests when the parameter is false.

But there are other parameters that still need to be tested when  a specific one is false. This would abort those tests.

Read the logic properly, William's solution will do exactly as you asked.
If the bool is true, it'll run everything. If false, it'll run only if the double is at default value. All other inputs will be tested when at default value.
 
La_patates:
Read the logic properly, William's solution will do exactly as you asked.
If the bool is true, it'll run everything. If false, it'll run only if the double is at default value. All other inputs will be tested when at default value.

This return INIT_PARAMETERS_INCORRECT  aborts this pass in the genetic optimization - fine - but it is still counted as a valid pass so that it influences termination criterion - hmmm :(