-
Notifications
You must be signed in to change notification settings - Fork 3
/
BSF-Types.h
37 lines (33 loc) · 1.37 KB
/
BSF-Types.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
31
32
33
34
35
36
37
/*==============================================================================
Project: Bulk Synchronous Farm (BSF)
Theme: BSF Skeleton
Module: BSF-Types.h (Problem Independent Types)
Prefix: BT
Author: Leonid B. Sokolinsky
This source code is a part of BSF Skeleton (https://github.com/leonid-sokolinsky/BSF-skeleton)
==============================================================================*/
#pragma once
#include "Problem-bsfTypes.h" // Predefined BSF Problem Types
//=========================== BSF Types ===============================
struct BT_order_T {
char exit; // true, if worker must stop
int jobCase;
int iterCounter;
PT_bsf_parameter_T parameter;
};
struct BT_extendedReduceElem_T {// Extended element type of reduce list
PT_bsf_reduceElem_T elem; // Element of reduce list
int reduceCounter; // Reduce Counter
};
struct BT_extendedReduceElem_T_1 {// Extended element type of reduce list
PT_bsf_reduceElem_T_1 elem; // Element of reduce list
int reduceCounter; // Reduce Counter
};
struct BT_extendedReduceElem_T_2 {// Extended element type of reduce list
PT_bsf_reduceElem_T_2 elem; // Element of reduce list
int reduceCounter; // Reduce Counter
};
struct BT_extendedReduceElem_T_3 {// Extended element type of reduce list
PT_bsf_reduceElem_T_3 elem; // Element of reduce list
int reduceCounter; // Reduce Counter
};