juliencegarra / OpenMATB

OpenMATB: A Multi-Attribute Task Battery promoting task customization, software extendability and experiment replicability
Other
43 stars 32 forks source link

Feature: condition on event #21

Closed thomakl closed 1 year ago

thomakl commented 1 year ago

Hi,

I would like to create a scenario with a conditional event such as : IF (sysmon,light1,on AND sysmon,light2,on): THEN{track:automaticsolver:off}

Do you think it can be done ? Cheers,

benoitvalery commented 1 year ago

Hi @thomakl, I close this issue since this is not the philosophy of OpenMATB which is, for now, to implement deterministic scenarios. The best way is to do things manually:

0:00:05;sysmon;lights-1-on;true
0:00:05;sysmon;lights-2-on;true
0:00:05;sysmon;automaticsolver;off

You can also think about a scenario generator which could handle the conditioning, and output predetermined scenario, as needed by the MATB philosophy.