InferenceEngine class
Derives new conclusions from active workspace concepts.
Inference types
- Rule-based: Forward chaining using InferenceRule instances.
- Associative: Concepts related in the graph trigger each other.
- Causal: Temporal + linguistic cues drive cause-effect inferences.
- Pattern-based: Recurring patterns predict the next concept.
- Memory-driven: Similar past memories suggest current context.
Constructors
- InferenceEngine({required ConceptualGraph graph, required MemoryManager memory, ConsciousnessLogger? logger})
Properties
-
allRules
→ List<
InferenceRule> -
Returns all built-in rules (useful for inspection/debugging).
no setter
- causalEngine → CausalInferenceEngine
-
Returns the causal engine (for external inspection).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- patternRecognizer → PatternRecognizer
-
Returns the pattern recognizer (for external inspection).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRule(
InferenceRule rule) → void - Adds a custom InferenceRule to the engine.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeRule(
String ruleId) → void -
Removes a rule by its
ruleId. -
runInferenceCycle(
List< Concept> activeConcepts) → List<Inference> -
Runs a complete inference cycle over
activeConcepts. -
synthesiseThought(
List< Concept> active) → String -
Synthesises a coherent natural-language thought from
activeconcepts. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited