Train different brains at the same time

Hi
I'm making a game where 2 different heros play against 2 other heros. Lets say i have one mage, one warrior and 2 hunters. All of them need a different brain since they have different skills. So now i was wondering how i am gonna train all these different brains to fight each other?

Is there someone who can point me in the right direction please?

Thanks!

i had a similar problem, but in my case, the 3 brains (let's talk about mage, war, hunt, for simplicity) fought for their own side (3 mages vs 3 war vs 3 hunt), so i was able to just name the behavior components, set the team numbers, and make a config file with the 3 different configurations, using the self-play parameters.
behviors:
Mage:
........
...........
War:
.........
............

that way, during the training, mages get trained for x time, than war, then hunters, that way each x time they will face an improved version of their opponents.

in your case, the problem is that you want to mix the team with different classes.
It could still work, they'll be still trained by behavior name, but they should learn to fight alongside with their partner.

i'm working on a similar project right now (archers & swordmans) let me know if that work, or if you need more detailed instructions