summaryrefslogtreecommitdiff
path: root/progress.h
blob: f4eae6bc2efe44b93b6e1d6f0f5e8ae5f2422723 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * progress.h
 *
 * by Joern Thyssen <jth@gnubg.org>, 2003
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of version 3 or later of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * $Id: progress.h,v 1.11 2013/06/16 02:16:20 mdpetch Exp $
 */

#ifndef PROGRESS_H
#define PROGRESS_H

#include "eval.h"
#include "rollout.h"

extern void


RolloutProgressStart(const cubeinfo * pci, const int n,
                     rolloutstat aars[][2], rolloutcontext * pes, char asz[][40], gboolean multiple, void **pp);

extern void


RolloutProgress(float aarOutput[][NUM_ROLLOUT_OUTPUTS],
                float aarStdDev[][NUM_ROLLOUT_OUTPUTS],
                const rolloutcontext * prc,
                const cubeinfo aci[],
                unsigned int initial_game_count,
                const int iGame,
                const int iAlternative,
                const int nRank,
                const float rJsd, const int fStopped, const int fShowRanks, int fCubeRollout, void *pUserData);

extern int
 RolloutProgressEnd(void **pp, gboolean destroy);

#endif                          /* PROGRESS_H */