-
Notifications
You must be signed in to change notification settings - Fork 1
/
gambit.h
31 lines (25 loc) · 869 Bytes
/
gambit.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* gambit.h
* interfaces to the GAMBIT program
* 14 June 2000
*/
/* include before: <stdio.h>, "rat.h" */
/* open file for GAMBIT interfacing with that name, abort if fails
* print opening brace into that file
* set internal Boolean variable to remember comma separation
*/
void gambopenfile(char *filename) ;
/* print closing brace into file for GAMBIT interfacing
* close file
*/
void gambclosefile(void) ;
/* print to gambit interface file
* equilibrium computed in solz[] by runlemke()
* knows by itself if to print comma before that or not
*/
void gambshoweq(void) ;
/* gives the realization plan rplan of player pl
* as behaviour strategy as list (= behavior strategy) of lists
* (= probability distributions) of rationals with braces and commas
* to the file pointed to by fp
*/
void glistbehavstrat(FILE *fp, int pl, Rat *rplan);