BeliefUpdatedEvent

data class BeliefUpdatedEvent(val tick: Int, val agent: String, val belief: String) : SimulationEvent(source)

Agent belief update event used for BDI observability in the GUI.

Constructors

Link copied to clipboard
constructor(tick: Int, agent: String, belief: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val tick: Int
Link copied to clipboard
open override val type: String

Functions

Link copied to clipboard

Serializes a simulation event as a single JSONL line.

Link copied to clipboard
fun SimulationEvent.toJsonObject(): JsonObject

Converts a simulation event to the JSON object used by the JSONL event stream.