PerceivedSpace

Source:

Local role: Epistemic wrapper around one copied Space.

Big-picture role: Captures actor-relative certainty and noise metadata in Perception.

Inheritance:

  • dataclass

Parameters and fields:

  • space: Space
  • epistemic_status: str
  • noise_metadata: JsonMap

Methods:

  • to_dict(...)
  • from_dict(...)
  • __post_init__(...)

Example:

from ometeotl_core.model.perception import PerceivedSpace

# Produced automatically by Sensor.sense(); construct manually for tests
pspace = PerceivedSpace(
    space=space,
    epistemic_status="certain",
    noise_metadata={},
)
print(pspace.epistemic_status)   # "certain"
print(pspace.space.kind)         # e.g. "physical"

data = pspace.to_dict()
pspace2 = PerceivedSpace.from_dict(data)

See also:

Ometeotl

A Python library to build complex multi-agent simulations, wargames, and AI-driven strategies