Concept class
A fundamental unit of knowledge or perception in the consciousness system.
Concepts are the atoms from which thoughts are built. Each concept carries its own activation level, emotional weight, and semantic relationships.
Constructors
-
Concept({required String id, required String content, double activationLevel = 0.5, DateTime? creationTime, Map<
String, dynamic> ? properties, SemanticVector? embedding, EmotionalValence emotionalValence = EmotionalValence.neutral, double emotionalIntensity = 0.0, PerceptionModality modality = PerceptionModality.abstract, double familiarity = 0.5, double contextualRelevance = 0.5})
Properties
- accessCount ↔ int
-
Access count — used to compute familiarity and importance.
getter/setter pair
- activationLevel ↔ double
-
Current activation level in the global workspace (0.0 – 1.0).
getter/setter pair
- content → String
-
Human-readable content / label.
final
- contextualRelevance ↔ double
-
How relevant this concept is to the current context.
getter/setter pair
- creationTime → DateTime
-
When this concept was first created / observed.
final
- embedding → SemanticVector?
-
Optional high-dimensional semantic embedding.
final
- emotionalIntensity → double
-
Strength of the emotional charge (0.0 = flat, 1.0 = intense).
final
- emotionalValence → EmotionalValence
-
Emotional valence associated with this concept.
final
- emotionalWeight → double
-
Emotional weight contribution.
no setter
- familiarity ↔ double
-
How familiar this concept is (0.0 = brand new, 1.0 = very familiar).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Globally unique identifier for this concept.
final
- lastActivated ↔ DateTime
-
Last time this concept was activated.
getter/setter pair
- modality → PerceptionModality
-
Primary sensory channel through which this concept was acquired.
final
- noveltyScore → double
-
Novelty: inverse of familiarity.
no setter
-
properties
→ Map<
String, dynamic> -
Arbitrary key-value properties (e.g. colour, size, speed).
final
- recencyScore → double
-
Recency score: higher for recently created/activated concepts.
no setter
-
IDs of concepts that are semantically or causally linked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateSalience(
) → double - Composite salience score used by the attention spotlight.
-
copyWith(
{double? activationLevel, double? familiarity, double? contextualRelevance, Map< String, dynamic> ? properties}) → Concept - Returns a copy of this concept with updated fields.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited