CoherenceManager class

Evaluates the internal consistency of the global workspace and produces CoherenceReport objects to guide attention management.

Constructors

CoherenceManager({ConsciousnessLogger? logger})

Properties

coherenceTrend → int
Whether coherence is trending up (+1), down (-1), or stable (0).
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

averageCoherence({int n = 10}) → double
Running average coherence over the last n cycles.
evaluate({required List<Concept> workspaceConcepts, required ConceptualGraph graph}) → double
Computes the overall coherence of workspaceConcepts given the graph.
evaluateDetailed({required List<Concept> workspaceConcepts, required ConceptualGraph graph}) → CoherenceReport
Produces a full CoherenceReport for diagnostic purposes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited