snapshot method

void snapshot()

Implementation

void snapshot() {
  // ignore: avoid_print
  print('''
╔══════════════════════════════════════════╗
║        CONSCIOUS STATE SNAPSHOT          ║
╠══════════════════════════════════════════╣
║ Timestamp : $timestamp
║ Focus     : $focusedConceptId
║ Coherence : ${(coherence * 100).toStringAsFixed(1)}%
╠══════════════════════════════════════════╣
║ Workspace (${workspace.length} concepts):
${workspace.map((c) => '║   • ${c.content} [${(c.activationLevel * 100).toStringAsFixed(0)}%]').join('\n')}
╠══════════════════════════════════════════╣
║ Inferences (${inferencesGenerated.length}):
${inferencesGenerated.map((i) => '║   → ${i.conclusion} [${(i.confidence * 100).toStringAsFixed(0)}%]').join('\n')}
╚══════════════════════════════════════════╝
''');
}