Skip to content
NeuroCognitive Architecture Badge

Planning System

This diagram details the planning component of the NeuroCognitive Architecture (NCA) cognitive control system.

%%{init: {'theme': 'dark', 'themeVariables': { 'primaryColor': '#242424', 'primaryTextColor': '#fff', 'primaryBorderColor': '#555', 'lineColor': '#f8f8f8', 'secondaryColor': '#2b2b2b', 'tertiaryColor': '#1a1a1a'}}}%%
graph TB
    classDef main fill:#1a1a1a,stroke:#555,color:#fff
    classDef component fill:#242424,stroke:#555,color:#fff
    classDef subcomponent fill:#2b2b2b,stroke:#555,color:#fff
    classDef planning fill:#302010,stroke:#555,color:#fff
classDef process fill:#252525,stroke:#555,color:#fff

    subgraph PlanningSystem["Planning System"]
        direction TB
        class PlanningSystem main

        subgraph SequenceGeneration["Sequence Generation"]
            direction TB
            class SequenceGeneration planning
            ActionSequencing[Action<br>Sequencing] --- OperationOrdering[Operation<br>Ordering]
            StepIdentification[Step<br>Identification] --- PathConstruction[Path<br>Construction]
            class ActionSequencing,OperationOrdering,StepIdentification,PathConstruction subcomponent
        end

        subgraph StepPlanning["Step Planning"]
            direction TB
            class StepPlanning planning
            ActionSpecification[Action<br>Specification] --- StepParameters[Step<br>Parameters]
            ResourceAllocation[Resource<br>Allocation] --- StepConstraints[Step<br>Constraints]
            class ActionSpecification,StepParameters,ResourceAllocation,StepConstraints subcomponent
        end

        subgraph OutcomeForecasting["Outcome Forecasting"]
            direction TB
            class OutcomeForecasting planning
            ResultPrediction[Result<br>Prediction] --- StateProjection[State<br>Projection]
            ImpactAssessment[Impact<br>Assessment] --- FeedbackAnticipation[Feedback<br>Anticipation]
            class ResultPrediction,StateProjection,ImpactAssessment,FeedbackAnticipation subcomponent
        end

        subgraph AlternativeGeneration["Alternative Generation"]
            direction TB
            class AlternativeGeneration planning
            OptionGeneraton[Option<br>Generation] --- PlanVariants[Plan<br>Variants]
            ContingencyPlanning[Contingency<br>Planning] --- FallbackOptions[Fallback<br>Options]
            class OptionGeneraton,PlanVariants,ContingencyPlanning,FallbackOptions subcomponent
        end

        subgraph PlanOptimization["Plan Optimization"]
            direction TB
            class PlanOptimization planning
            EfficiencyAnalysis[Efficiency<br>Analysis] --- RedundancyElimination[Redundancy<br>Elimination]
            RiskMinimization[Risk<br>Minimization] --- ResourceOptimization[Resource<br>Optimization]
            class EfficiencyAnalysis,RedundancyElimination,RiskMinimization,ResourceOptimization subcomponent
        end

        subgraph PlanAdaptation["Plan Adaptation"]
            direction TB
            class PlanAdaptation planning
                        ReplanTrigger[Replan<br>Trigger] --- PlanModification[Plan<br>Modification]
            DynamicAdjustment[Dynamic<br>Adjustment] --- ContextualUpdate[Contextual<br>Update]
            class ReplanTrigger,PlanModification,DynamicAdjustment,ContextualUpdate subcomponent
        end
    end

    %% External connections
    GoalManager[Goal<br>Manager] --> SequenceGeneration
    DecisionMaker[Decision<br>Maker] --> AlternativeGeneration
    Metacognition[Metacognition] --> PlanOptimization

    %% Internal connections
    SequenceGeneration --> StepPlanning
    StepPlanning --> OutcomeForecasting
    OutcomeForecasting --> AlternativeGeneration
    AlternativeGeneration --> PlanOptimization
    PlanOptimization --> PlanAdaptation

    %% Feedback loops
    OutcomeForecasting --> SequenceGeneration
    PlanAdaptation --> SequenceGeneration

    %% Output connection
    PlanAdaptation --> ExecutionSystem[Execution<br>System]

    class GoalManager,DecisionMaker,Metacognition,ExecutionSystem subcomponent

Planning System Components

The Planning System is responsible for generating, evaluating, optimizing, and adapting plans to achieve goals. It includes the following key components:

Sequence Generation

  • Action Sequencing: Determines the order of actions in a plan
  • Operation Ordering: Orders lower-level operations within actions
  • Step Identification: Identifies the necessary steps to achieve a goal
  • Path Construction: Builds the sequence of steps forming the plan

Step Planning

  • Action Specification: Defines the details of each action in the plan
  • Step Parameters: Specifies parameters required for each step
  • Resource Allocation: Assigns resources needed for each step
  • Step Constraints: Defines constraints and conditions for each step

Outcome Forecasting

  • Result Prediction: Predicts the likely outcome of executing the plan
  • State Projection: Forecasts the system state after plan execution
  • Impact Assessment: Evaluates the potential impact of the plan
  • Feedback Anticipation: Predicts expected feedback during execution

Alternative Generation

  • Option Generation: Creates alternative actions or steps
  • Plan Variants: Develops different versions of the plan
  • Contingency Planning: Creates backup plans for potential failures
  • Fallback Options: Defines alternative actions if primary steps fail

Plan Optimization

  • Efficiency Analysis: Evaluates the efficiency of the plan
  • Redundancy Elimination: Removes unnecessary steps or actions
  • Risk Minimization: Modifies the plan to reduce potential risks
  • Resource Optimization: Optimizes the use of resources in the plan

Plan Adaptation

  • Replan Trigger: Detects conditions requiring plan modification
  • Plan Modification: Alters the plan based on new information or feedback
  • Dynamic Adjustment: Makes real-time adjustments during execution
  • Contextual Update: Updates the plan based on changes in the environment or context

The Planning System receives goals from the Goal Manager, uses the Decision Maker for evaluating alternatives, and is monitored by the Metacognition system for optimization. It produces plans for the Execution System.