private static void DoWork(List<Pcb> list, StreamWriter sw) { // Calculate best-fit rectangle BestFitRectangle calculator = new BestFitRectangle(list); char[,] bestFit = calculator.Calculate(); // Display the best fit solution. Common.DrawSolution(bestFit, BorderSpace, sw); }
private static void DoWork(List <Pcb> list, StreamWriter sw) { // Calculate best-fit rectangle BestFitRectangle calculator = new BestFitRectangle(list); char[,] bestFit = calculator.Calculate(); // Display the best fit solution. Common.DrawSolution(bestFit, BorderSpace, sw); }