Material Clustering Benchmark
ClusteringAlgorithms.WrapperStopCondition Class Reference
Inheritance diagram for ClusteringAlgorithms.WrapperStopCondition:
ClusteringAlgorithms.IDispatcher ClusteringAlgorithms.DispatcherKnecht

Classes

class  RunUntilConvergesResult
 

Public Member Functions

void AttributeClustersKM (ClusteringTextures clusteringTextures)
 
void Dispose ()
 
float? GetVariance ()
 Computes variance for the current cluster centers. Depending on this.useFullResTexRef uses either working resolution (this.clusteringRTsAndBuffers.texturesWorkRes), or full resolution (this.clusteringRTsAndBuffers.texturesFullRes) input.

Sets incorrect attribution. Does not restore to save performance. More...
 
virtual void RunClustering (ClusteringTextures clusteringTextures)
 
RunUntilConvergesResult RunUntilConverges (ClusteringTextures clusteringTextures)
 
void UpdateClusterCenters (ClusteringTextures clusteringTextures, bool rejectOld)
 
 WrapperStopCondition (ASimpleDispatcer wrappedDispatcher)
 

Properties

DispatcherParameters abstractParameters [get]
 
ClusteringRTsAndBuffers clusteringRTsAndBuffers [get]
 
bool doesReadback [get]
 
bool doRandomizeEmptyClusters [get]
 
virtual string name [get]
 
int numIterations [get]
 
bool useFullResTexRef [get]
 
bool usesStopCondition [get]
 
int warningCounter [get]
 

Detailed Description

Definition at line 6 of file WrapperStopCondition.cs.

Constructor & Destructor Documentation

◆ WrapperStopCondition()

ClusteringAlgorithms.WrapperStopCondition.WrapperStopCondition ( ASimpleDispatcer  wrappedDispatcher)
inline

Definition at line 10 of file WrapperStopCondition.cs.

Member Function Documentation

◆ AttributeClustersKM()

void ClusteringAlgorithms.WrapperStopCondition.AttributeClustersKM ( ClusteringTextures  clusteringTextures)
inline

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 50 of file WrapperStopCondition.cs.

◆ Dispose()

void ClusteringAlgorithms.WrapperStopCondition.Dispose ( )
inline

Definition at line 23 of file WrapperStopCondition.cs.

◆ GetVariance()

float? ClusteringAlgorithms.WrapperStopCondition.GetVariance ( )
inline

Computes variance for the current cluster centers. Depending on this.useFullResTexRef uses either working resolution (this.clusteringRTsAndBuffers.texturesWorkRes), or full resolution (this.clusteringRTsAndBuffers.texturesFullRes) input.

Sets incorrect attribution. Does not restore to save performance.

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 57 of file WrapperStopCondition.cs.

◆ RunClustering()

virtual void ClusteringAlgorithms.WrapperStopCondition.RunClustering ( ClusteringTextures  clusteringTextures)
inlinevirtual

Implements ClusteringAlgorithms.IDispatcher.

Reimplemented in ClusteringAlgorithms.DispatcherKnecht.

Definition at line 91 of file WrapperStopCondition.cs.

◆ RunUntilConverges()

RunUntilConvergesResult ClusteringAlgorithms.WrapperStopCondition.RunUntilConverges ( ClusteringTextures  clusteringTextures)
inline

Definition at line 96 of file WrapperStopCondition.cs.

◆ UpdateClusterCenters()

void ClusteringAlgorithms.WrapperStopCondition.UpdateClusterCenters ( ClusteringTextures  clusteringTextures,
bool  rejectOld 
)
inline

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 42 of file WrapperStopCondition.cs.

Property Documentation

◆ abstractParameters

DispatcherParameters ClusteringAlgorithms.WrapperStopCondition.abstractParameters
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 40 of file WrapperStopCondition.cs.

◆ clusteringRTsAndBuffers

ClusteringRTsAndBuffers ClusteringAlgorithms.WrapperStopCondition.clusteringRTsAndBuffers
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 38 of file WrapperStopCondition.cs.

◆ doesReadback

bool ClusteringAlgorithms.WrapperStopCondition.doesReadback
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 31 of file WrapperStopCondition.cs.

◆ doRandomizeEmptyClusters

bool ClusteringAlgorithms.WrapperStopCondition.doRandomizeEmptyClusters
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 36 of file WrapperStopCondition.cs.

◆ name

virtual string ClusteringAlgorithms.WrapperStopCondition.name
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 35 of file WrapperStopCondition.cs.

◆ numIterations

int ClusteringAlgorithms.WrapperStopCondition.numIterations
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 37 of file WrapperStopCondition.cs.

◆ useFullResTexRef

bool ClusteringAlgorithms.WrapperStopCondition.useFullResTexRef
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 55 of file WrapperStopCondition.cs.

◆ usesStopCondition

bool ClusteringAlgorithms.WrapperStopCondition.usesStopCondition
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 32 of file WrapperStopCondition.cs.

◆ warningCounter

int ClusteringAlgorithms.WrapperStopCondition.warningCounter
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 33 of file WrapperStopCondition.cs.


The documentation for this class was generated from the following file: