Interface: ConstraintGraphStats
@kortexya/reasoninglayer / ConstraintGraphStats
Interface: ConstraintGraphStats
Section titled “Interface: ConstraintGraphStats”Defined in: src/types/constraints.ts:127
Statistics about the constraint graph.
Properties
Section titled “Properties”activeConstraints
Section titled “activeConstraints”activeConstraints:
number
Defined in: src/types/constraints.ts:135
The constraints the engine decides now: an instance constraint whose status
is satisfied, violated or type_mismatch, and every tracker dependency.
A declaration is never active.
cycleCount
Section titled “cycleCount”cycleCount:
number
Defined in: src/types/constraints.ts:139
Number of entries in cycles.
determinedVariables
Section titled “determinedVariables”determinedVariables:
number
Defined in: src/types/constraints.ts:137
Variable nodes whose slot holds a value.
totalConstraints
Section titled “totalConstraints”totalConstraints:
number
Defined in: src/types/constraints.ts:129
Constraint nodes in graph.nodes, of every scope (declaration, instance, dependency).
totalVariables
Section titled “totalVariables”totalVariables:
number
Defined in: src/types/constraints.ts:141
Variable nodes in graph.nodes.