baumfalk / TrafficMAS

TrafficMAS, the code
MIT License
0 stars 0 forks source link

Allow conditions on actions #26

Closed baumfalk closed 9 years ago

baumfalk commented 9 years ago

Currently, every action is taken into account every deliberation step. That is not always needed. For example, when we there only is one lane, we don't need to think about ChangeLane. Maybe we can make this a general option for actions, by using the expression in #23. This is a more general version of #25 .

Maxic commented 9 years ago

This can now be filled in for every action individually with the Action.isRelevant() method, implemented in 2b8f9a50