Table of Contents

Interface IComplexityMetrics

Namespace
DotCompute.Abstractions.Analysis
Assembly
DotCompute.Abstractions.dll

Common interface for all complexity metrics implementations.

public interface IComplexityMetrics

Properties

CacheEfficiency

Gets the cache efficiency estimate (0.0 to 1.0).

double CacheEfficiency { get; }

Property Value

double

ComplexityFactor

Gets the complexity factor.

double ComplexityFactor { get; }

Property Value

double

ComplexityScore

Gets the normalized complexity score (0.0 to 10.0).

double ComplexityScore { get; }

Property Value

double

ComputationalComplexity

Gets the computational complexity score.

int ComputationalComplexity { get; }

Property Value

int

IsDataDependent

Gets whether the complexity is data-dependent.

bool IsDataDependent { get; }

Property Value

bool

MemoryBound

Gets whether the operation is memory-bound.

bool MemoryBound { get; }

Property Value

bool

MemoryComplexity

Gets the memory complexity score.

int MemoryComplexity { get; }

Property Value

int

MemoryUsage

Gets the memory usage in bytes.

long MemoryUsage { get; }

Property Value

long

OperationCount

Gets the estimated operation count.

long OperationCount { get; }

Property Value

long

OverallComplexity

Gets the overall complexity score.

int OverallComplexity { get; }

Property Value

int

ParallelizationComplexity

Gets the parallelization complexity score.

int ParallelizationComplexity { get; }

Property Value

int

ParallelizationPotential

Gets the parallelization potential (0.0 to 1.0).

double ParallelizationPotential { get; }

Property Value

double