rockemsockemrationalagents

find nash equilibrium with fictitious play
git clone https://wehaveforgeathome.hates.computer/rockemsockemrationalagents.git
Log | Files | Refs | LICENSE

commit a04a9612c126be62f0531dae50597f8f799b86d7
parent 855f35f324e067082cec61b8241e61f56a888cc0
Author: Ryan Wolf <rwolf@borderstylo.com>
Date:   Tue,  2 Mar 2010 22:43:34 -0800

to celebrate 250% speed increase, increased iterations 1000%

Diffstat:
Mresera.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resera.pl b/resera.pl @@ -47,7 +47,7 @@ my $b = [ my $choices = [[0,0], [0,0]]; -my $iterations = 10000; +my $iterations = 100000; for (my $n = 0; $n < $iterations; $n++) { my $this_choice = choice($choices, $m, $b);