A-Lounsbury / pysimultaneous

A class for handling simultaneous games with any number of players
0 stars 0 forks source link

Translate maxStrat function #13

Closed A-Lounsbury closed 3 months ago

A-Lounsbury commented 3 months ago

Translate the maxStrat function from gt.

A-Lounsbury commented 3 months ago

Not sure what these lines translate to:

if (!payoffMatrix.at(m).at(i).at(j))
     cout << "\t\tNOT\n";

and I'm not really sure what it was even for. It looks like a test that ought to be removed. (This is line 2024 of SimGame_obsoletions_removed.h.)

A-Lounsbury commented 3 months ago

Apart from lines 2024 and 2025, it's written and only needs to be tested.

A-Lounsbury commented 3 months ago

I've tested it, and it seems to work as expected.