This commit is contained in:
AJ
2021-10-07 09:12:38 -04:00
parent 5af1daac11
commit fc557d2500
22 changed files with 45 additions and 62 deletions

View File

@@ -1,7 +1,6 @@
using System;
using System.Text.RegularExpressions;
using System.Text;
using SawCut;
using System.Text.RegularExpressions;
namespace SawCut
{
@@ -73,4 +72,4 @@ namespace SawCut
}
}
}
}
}

View File

@@ -45,4 +45,4 @@ namespace SawCut
return $"Length: {totalLength}, {remainingLength} remaining, {Items.Count} items, {utilitation}% utilization";
}
}
}
}

View File

@@ -6,4 +6,4 @@
public double Length { get; set; }
}
}
}

View File

@@ -1,7 +1,7 @@
using System;
using System.Text.RegularExpressions;
using System.Text;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace SawCut
{
@@ -82,4 +82,4 @@ namespace SawCut
return true;
}
}
}
}

View File

@@ -8,4 +8,4 @@
public int Priority { get; set; }
}
}
}

View File

@@ -103,4 +103,4 @@ namespace SawCut.Nesting
return (found != null);
}
}
}
}

View File

@@ -57,7 +57,7 @@ namespace SawCut.Nesting
FillBin(bin);
int count = 0;
while (TryImprovePacking(bin))
{
count++;
@@ -71,7 +71,7 @@ namespace SawCut.Nesting
.ThenBy(b => b.Items.Count)
.ToList();
}
private void FillBin(Bin bin)
{
for (int i = 0; i < Items.Count; i++)
@@ -155,4 +155,4 @@ namespace SawCut.Nesting
return false;
}
}
}
}

View File

@@ -6,4 +6,4 @@ namespace SawCut.Nesting
{
Result Pack(List<BinItem> items);
}
}
}

View File

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
namespace SawCut.Nesting
@@ -67,4 +66,4 @@ namespace SawCut.Nesting
return result;
}
}
}
}

View File

@@ -14,4 +14,4 @@ namespace SawCut.Nesting
public List<Bin> Bins { get; set; }
}
}
}

View File

@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
@@ -33,4 +32,4 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]