This uses distinct state machines for each behaviour, that have their own internal statistical model.