aboutsummaryrefslogtreecommitdiffstats
path: root/include/structs.h
blob: 3b5c55013191675f65133500f78ee7966d693206 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _STRUCTS_H
#define _STRUCTS_H

#include <time.h>

struct item {
	double p;
	double w;
};

struct data {
	long int N;
	struct item * items;
	double allp;
	double allw;
};

struct front_item {
	struct item i;
	struct front_item * next;
	struct front_item * prev;
  clock_t time;
};
#endif