View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide

example

GameDescription gamed;


class mycell : public CellModel
{
public:
virtual cellModel clone() { return new mycm; }

virtual bool compute(addr_vec &profile) {
// compute the payoffs
profile.U[i]=...;
return true;
}
};

int main()
{
FDDS__solver slv(&gamed, new mycell, new FDDS_solver_thread);

slv.generate_initial_safe_base(); // prepare
slv.run(); // algorithm
GameDescription res;
slv.reduced_game(res); // take the results
}