Table of Contents

Interface IAdvancedComplexityMetrics

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

Extended interface for advanced complexity metrics.

public interface IAdvancedComplexityMetrics : IComplexityMetrics
Inherited Members

Properties

CanBenefitFromSharedMemory

Gets whether the operation can benefit from shared memory optimization.

bool CanBenefitFromSharedMemory { get; }

Property Value

bool

ComputationalComplexityClass

Gets the computational complexity class (Big O notation).

ComplexityClass ComputationalComplexityClass { get; }

Property Value

ComplexityClass

ComputeComplexity

Gets the compute complexity as a numeric value.

double ComputeComplexity { get; }

Property Value

double

MemoryAccessPatterns

Gets memory access patterns that affect complexity.

IReadOnlyList<MemoryAccessComplexity> MemoryAccessPatterns { get; }

Property Value

IReadOnlyList<MemoryAccessComplexity>

MemoryAccesses

Gets the memory access count.

long MemoryAccesses { get; }

Property Value

long

OperationComplexity

Gets detailed per-operation complexity breakdown.

IReadOnlyDictionary<string, double> OperationComplexity { get; }

Property Value

IReadOnlyDictionary<string, double>

SpaceComplexity

Gets the space complexity.

ComplexityClass SpaceComplexity { get; }

Property Value

ComplexityClass

WorstCaseScenario

Gets the worst-case complexity scenario.

string WorstCaseScenario { get; }

Property Value

string