gambitproject / gambit

Gambit: The package for computation in game theory
http://www.gambit-project.org
GNU General Public License v2.0
406 stars 151 forks source link

Add IsStrictNash, IsBestResponse to pure strategy profiles #107

Closed tturocy closed 10 years ago

tturocy commented 10 years ago

From commit db49a3 (and release 14.0.2) the PureStrategyProfile class has a member function IsNash(), which determines if the profile is a Nash equilibrium of the game.

To this, a few other similar and useful functions can be written:

neo9988 commented 10 years ago

Hello, Can I help solve this issue?

tturocy commented 10 years ago

Yes.