Renamed Engine2 to EnhancedBestFitEngine

This commit is contained in:
AJ
2023-03-01 21:59:24 -05:00
parent 2ce685bb83
commit d3ab49a7d2
3 changed files with 8 additions and 5 deletions

View File

@@ -1,11 +1,13 @@
using System;
using SawCut.Nesting;
using SawCut;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace SawCut.Nesting
{
public class Engine2 : IEngine
public class EnhancedBestFitEngine : IEngine
{
public double StockLength { get; set; }
@@ -155,4 +157,5 @@ namespace SawCut.Nesting
return false;
}
}
}
}

View File

@@ -22,7 +22,7 @@ namespace SawCut.Nesting
foreach (var bin in bins)
{
var e = new Engine2();
var e = new BestFitWithImproveAttempt();
e.MaxBinCount = bin.Quantity;
e.StockLength = bin.Length;
e.Spacing = Spacing;

View File

@@ -51,7 +51,7 @@
<Compile Include="Nesting\IEngine.cs" />
<Compile Include="Nesting\MultiBinEngine.cs" />
<Compile Include="Nesting\Result.cs" />
<Compile Include="Nesting\Engine2.cs" />
<Compile Include="Nesting\EnhancedBestFitEngine.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Tolerance.cs" />
</ItemGroup>