Renamed Engine2 to EnhancedBestFitEngine
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
using System;
|
using SawCut.Nesting;
|
||||||
|
using SawCut;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace SawCut.Nesting
|
namespace SawCut.Nesting
|
||||||
{
|
{
|
||||||
public class Engine2 : IEngine
|
public class EnhancedBestFitEngine : IEngine
|
||||||
{
|
{
|
||||||
public double StockLength { get; set; }
|
public double StockLength { get; set; }
|
||||||
|
|
||||||
@@ -156,3 +158,4 @@ namespace SawCut.Nesting
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ namespace SawCut.Nesting
|
|||||||
|
|
||||||
foreach (var bin in bins)
|
foreach (var bin in bins)
|
||||||
{
|
{
|
||||||
var e = new Engine2();
|
var e = new BestFitWithImproveAttempt();
|
||||||
e.MaxBinCount = bin.Quantity;
|
e.MaxBinCount = bin.Quantity;
|
||||||
e.StockLength = bin.Length;
|
e.StockLength = bin.Length;
|
||||||
e.Spacing = Spacing;
|
e.Spacing = Spacing;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<Compile Include="Nesting\IEngine.cs" />
|
<Compile Include="Nesting\IEngine.cs" />
|
||||||
<Compile Include="Nesting\MultiBinEngine.cs" />
|
<Compile Include="Nesting\MultiBinEngine.cs" />
|
||||||
<Compile Include="Nesting\Result.cs" />
|
<Compile Include="Nesting\Result.cs" />
|
||||||
<Compile Include="Nesting\Engine2.cs" />
|
<Compile Include="Nesting\EnhancedBestFitEngine.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Tolerance.cs" />
|
<Compile Include="Tolerance.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user