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

@@ -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; }
}
}
}