Material Clustering Benchmark
StopCondition.cs
Go to the documentation of this file.
2{
3 public static class StopCondition
4 {
5 public const float varianceChangeThreshold = 1e-4f;
6
7 /// <summary>
8 /// Stop when the number of failed swaps exceeds this value.
9 /// </summary>
10 public const int maxFailedSwaps = 0;
11 public const int maxIterations = 20;
12 }
13}
const int maxFailedSwaps
Stop when the number of failed swaps exceeds this value.