-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreateModel2.m
More file actions
53 lines (45 loc) · 1.43 KB
/
CreateModel2.m
File metadata and controls
53 lines (45 loc) · 1.43 KB
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
51
52
53
function model=CreateModel2()
PredList={[], 1, 1, 7, 4, 2, 3, 7, 4, 4, 2, 3, 9, [9 12], 2, 10, [13 14], 13, 8, [5 10 18], 16, [11 17 18], [20 22], [19 23], [10 15 28], 11, [7 8], [21 27], 19, [6 24 25], [26 28], [29 30 31]};
t=[1 8 4 3 3 8 5 9 2 7 3 2 6 3 9 7 6 5 3 7 2 7 2 3 3 7 9 3 7 2 2 0];
N=numel(t);
R=[ 0 1 0 0
4 0 0 2
9 0 0 0
0 0 0 3
3 0 0 0
0 0 0 8
4 0 0 0
0 1 0 0
6 0 0 0
0 0 0 1
4 5 0 0
0 7 0 0
4 0 0 0
0 8 0 0
3 0 0 0
0 0 0 5
0 0 0 8
0 0 0 7
0 1 0 0
0 10 0 0
0 0 0 6
2 0 0 0
3 0 0 0
0 9 0 0
4 0 0 0
0 0 4 0
0 0 0 7
0 8 0 0
0 7 0 0
0 7 0 0
0 0 2 0
0 0 0 0];
nR=size(R,2);
Rmax=[11 13 4 16];
model.N=N;
model.t=t;
model.PredList=PredList;
model.nR=nR;
model.R=R;
model.Rmax=Rmax;
end