PropertyComplexityEvaluator

Types

Link copied to clipboard
data class EvaluationResult(val complexityScore: Float, val isTooComplex: Boolean)

Represents the evaluation result for a property.

Functions

Link copied to clipboard
fun clearPropertyData(propertyId: Int)

Clears all stored stats and cached evaluation for a specific property.

Link copied to clipboard

Calculates the complexity score based on weighted factors and caches the result.

Link copied to clipboard
fun isPropertyEvaluated(propertyId: Int): Boolean

method to check if a property is evaluated or not

Link copied to clipboard
fun isPropertySimple(propertyId: Int): Boolean

Shortcut to determine if the property is considered simple (i.e., not too complex).

Link copied to clipboard
fun processPropertyEvaluation(mapApi: MapApi, propertyId: Int)