Commit f864f507 authored by Tong Li's avatar Tong Li

优化

parent 6ba23982
...@@ -304,7 +304,7 @@ int opcount=allOperations.size(); ...@@ -304,7 +304,7 @@ int opcount=allOperations.size();
best.setScenarioID(sceneId); best.setScenarioID(sceneId);
// best.setOperatRel(_entryRel); // best.setOperatRel(_entryRel);
if(best.getInitMachines()==null) if(best.getInitMachines()==null||best.getInitMachines().size()==0)
{ {
best.setInitMachines(ProductionDeepCopyUtil.deepCopyList(machines,Machine.class)); best.setInitMachines(ProductionDeepCopyUtil.deepCopyList(machines,Machine.class));
} }
......
...@@ -40,7 +40,7 @@ public class PlanResultServiceTest { ...@@ -40,7 +40,7 @@ public class PlanResultServiceTest {
// sortService.test1(); // sortService.test1();
// nsgaiiUtils.Test(); // nsgaiiUtils.Test();
planResultService.execute2("F6747C64865D4609989D943709939331");//2000 planResultService.execute2("E29F2B3ADA8149F6B916B5119296A92B");//2000
// planResultService.execute2("08B1D87FE1B84ECDBAC2E546DDB6FB81");//2000 // planResultService.execute2("08B1D87FE1B84ECDBAC2E546DDB6FB81");//2000
// planResultService.execute2("0428340BB4F540938F1FB5599F03E8A4");//5000 // planResultService.execute2("0428340BB4F540938F1FB5599F03E8A4");//5000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment