Material Clustering Benchmark
StopCondition.cs
Go to the documentation of this file.
1
namespace
ClusteringAlgorithms
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
}
ClusteringAlgorithms.StopCondition
Definition:
StopCondition.cs:4
ClusteringAlgorithms.StopCondition.varianceChangeThreshold
const float varianceChangeThreshold
Definition:
StopCondition.cs:5
ClusteringAlgorithms.StopCondition.maxIterations
const int maxIterations
Definition:
StopCondition.cs:11
ClusteringAlgorithms.StopCondition.maxFailedSwaps
const int maxFailedSwaps
Stop when the number of failed swaps exceeds this value.
Definition:
StopCondition.cs:10
ClusteringAlgorithms
Definition:
ADispatcher.cs:5
Assets
Code
ClusteringTest
ClusteringAlgorithms
Utility
StopCondition.cs
Generated by
1.9.4