Skip to content

Commit

Permalink
.m
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirreke committed Oct 10, 2022
1 parent 67a3a15 commit 48c9ff7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions code_submit/q1_main.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"../data/dataA/dataA3.csv",
"../data/dataA/dataA4.csv"
];

height = 2440;
width = 1220;

Expand All @@ -13,7 +12,6 @@

for k = 1:length(file)
[data_ori, material_index] = data_pre_fun(file(k));

if length(material_index) ~= 1
error("there is more than 1 material in dataA file");
end
Expand All @@ -26,7 +24,6 @@
ratios(k) = ratio_2;
results{k} = bins_2;
end

fprintf("数据集dataA%d的最优排样策略的板材利用率为%.2f\n ",k,100*ratios(k));
end

Expand Down

0 comments on commit 48c9ff7

Please sign in to comment.