from minimax_example import run_example
from saport.minimax.model import Equilibrium, Strategy

run_example("games/3_3_mixed_neg.txt", 
            [], 
            Equilibrium(-0.14, 
                Strategy([0.43, 0.21, 0.36]),
                Strategy([0.43, 0.29, 0.29])
            ))
from minimax_example import run_example
from saport.minimax.model import Equilibrium, Strategy

eq = Equilibrium(1.0, Strategy([0.0, 1.0, 0.0, 0.0]),
                 Strategy([0.0, 0.0, 1.0, 0.0, 0.0]))

run_example("games/4_5_pure.txt", [eq], eq)
Beispiel #3
0
from minimax_example import run_example
from saport.minimax.model import Equilibrium, Strategy

eq = Equilibrium(1.0, Strategy([0, 1, 0, 0]), Strategy([0, 0, 1, 0, 0]))

run_example("games/4_5_pure.txt", [eq], eq)
Beispiel #4
0
from minimax_example import run_example
from saport.minimax.model import Equilibrium, Strategy

run_example("games/3_3_mixed_nonneg.txt", [],
            Equilibrium(2.0, Strategy([0, 0, 1]), Strategy([0.8, 0.2, 0])))