Professional Documents
Culture Documents
n = 6; //number of departments
p = 4; //number of floors
ne = 1; //number of elevators
//1 2 3 4 5 6
f = [[0, 0, 0, 5, 0, 0],
[0, 0, 0, 3, 0, 0],
[0, 0, 0, 2, 0, 0],
[0, 0, 0, 0, 4, 4],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0]];
ch = [[0, 1, 1, 1, 1, 1],
[0, 0, 1, 1, 1, 1],
[0, 0, 0, 1, 1, 1],
[0, 0, 0, 0, 1, 1],
[0, 0, 0, 0, 0, 1],
[0, 0, 0, 0, 0, 0]];
cv = [[0, 5, 5, 5, 5, 5],
[0, 0, 5, 5, 5, 5],
[0, 0, 0, 5, 5, 5],
[0, 0, 0, 0, 5, 5],
[0, 0, 0, 0, 0, 5],
[0, 0, 0, 0, 0, 0]];