6 // types of work given to a slave
10 // 256 characters for file name should be enough
11 #define NCHAR_FNAME 256
13 typedef unsigned char Byte
;
15 // Type to describe a job to be done in a node
16 //TODO: merge with packed version to avoid extra copy by MPI
17 typedef struct Work_t
{
18 // "structural" parameters:
22 // clustering parameters [to be completed]:
24 uint32_t clustOnMedoids
; //a boolean, but 1 byte storage would be inefficient
25 uint32_t p_for_dissims
;
28 // Type returned by a worker (clusters labels and medoids)
29 //TODO: merge with packed version to avoid extra copy by MPI
30 typedef struct Result_t
{
31 // parameters describing sizes
33 // informative parameters:
35 uint32_t* medoids_ranks
;
38 // data structure to store a customer ID + [time-]serie
39 typedef struct PowerCurve
{