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

Public Member Functions

void AttributeClustersKM (ClusteringTextures clusteringTextures)
 
 DispatcherKnecht (ComputeShader computeShader, bool doRandomizeEmptyClusters, ClusteringRTsAndBuffers clusteringRTsAndBuffers)
 
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...
 
override void RunClustering (ClusteringTextures clusteringTextures)
 
RunUntilConvergesResult RunUntilConverges (ClusteringTextures clusteringTextures)
 
void UpdateClusterCenters (ClusteringTextures clusteringTextures, bool rejectOld)
 

Properties

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

Detailed Description

Definition at line 5 of file DispatcherKnecht.cs.

Constructor & Destructor Documentation

◆ DispatcherKnecht()

ClusteringAlgorithms.DispatcherKnecht.DispatcherKnecht ( ComputeShader  computeShader,
bool  doRandomizeEmptyClusters,
ClusteringRTsAndBuffers  clusteringRTsAndBuffers 
)
inline

Definition at line 10 of file DispatcherKnecht.cs.

Member Function Documentation

◆ AttributeClustersKM()

void ClusteringAlgorithms.WrapperStopCondition.AttributeClustersKM ( ClusteringTextures  clusteringTextures)
inlineinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 50 of file WrapperStopCondition.cs.

◆ Dispose()

void ClusteringAlgorithms.WrapperStopCondition.Dispose ( )
inlineinherited

Definition at line 23 of file WrapperStopCondition.cs.

◆ GetVariance()

float? ClusteringAlgorithms.WrapperStopCondition.GetVariance ( )
inlineinherited

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()

override void ClusteringAlgorithms.DispatcherKnecht.RunClustering ( ClusteringTextures  clusteringTextures)
inlinevirtual

Reimplemented from ClusteringAlgorithms.WrapperStopCondition.

Definition at line 30 of file DispatcherKnecht.cs.

◆ RunUntilConverges()

RunUntilConvergesResult ClusteringAlgorithms.WrapperStopCondition.RunUntilConverges ( ClusteringTextures  clusteringTextures)
inlineinherited

Definition at line 96 of file WrapperStopCondition.cs.

◆ UpdateClusterCenters()

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

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 42 of file WrapperStopCondition.cs.

Property Documentation

◆ abstractParameters

DispatcherParameters ClusteringAlgorithms.WrapperStopCondition.abstractParameters
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 40 of file WrapperStopCondition.cs.

◆ clusteringRTsAndBuffers

ClusteringRTsAndBuffers ClusteringAlgorithms.WrapperStopCondition.clusteringRTsAndBuffers
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 38 of file WrapperStopCondition.cs.

◆ doesReadback

bool ClusteringAlgorithms.WrapperStopCondition.doesReadback
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 31 of file WrapperStopCondition.cs.

◆ doRandomizeEmptyClusters

bool ClusteringAlgorithms.WrapperStopCondition.doRandomizeEmptyClusters
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 36 of file WrapperStopCondition.cs.

◆ name

override string ClusteringAlgorithms.DispatcherKnecht.name
get

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 28 of file DispatcherKnecht.cs.

◆ numIterations

int ClusteringAlgorithms.WrapperStopCondition.numIterations
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 37 of file WrapperStopCondition.cs.

◆ useFullResTexRef

bool ClusteringAlgorithms.WrapperStopCondition.useFullResTexRef
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 55 of file WrapperStopCondition.cs.

◆ usesStopCondition

bool ClusteringAlgorithms.WrapperStopCondition.usesStopCondition
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 32 of file WrapperStopCondition.cs.

◆ warningCounter

int ClusteringAlgorithms.WrapperStopCondition.warningCounter
getinherited

Implements ClusteringAlgorithms.IDispatcher.

Definition at line 33 of file WrapperStopCondition.cs.


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