performdocking.h 862 Bytes
Newer Older
lvs's avatar
lvs committed
1
2
3
#ifndef PERFORMDOCKING_H_
#define PERFORMDOCKING_H_

4
#include "ext_headers.h"
lvs's avatar
lvs committed
5
6
7
8
9
10
#include "processgrid.h"
#include "miscellaneous.h"
#include "processligand.h"
#include "getparameters.h"
#include "calcenergy.h"	
#include "processresult.h"
11
12

using std::vector;
lvs's avatar
lvs committed
13
14
15

#define ELAPSEDSECS(stop,start) ((float) stop-start)/((float) CLOCKS_PER_SEC)

16
17
18
19
20
21
22
int docking_with_fpga(const     Gridinfo* 	mygrid,
         	      /*const*/ float* 	        cpu_floatgrids,
		                Dockpars*	mypars,
		      const     Liganddata* 	myligand_init,
		      const     int* 	        argc,
		                char**		argv,
		                clock_t 	clock_start_program);
lvs's avatar
lvs committed
23
24
25
26
27
28
29

double check_progress(int* evals_of_runs,
		      int generation_cnt,
		      int max_num_of_evals,
		      int max_num_of_gens,
		      int num_of_runs);

30
#endif /* PERFORMDOCKING_H_ */