PerceivedRelation

Source:

Local role: Epistemic wrapper around one copied SpaceRelation.

Big-picture role: Actor-relative space-topology knowledge element in Perception.

Inheritance:

  • dataclass

Parameters and fields:

  • relation: SpaceRelation
  • epistemic_status: str
  • noise_metadata: JsonMap

Methods:

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

Example:

from ometeotl_core.model.perception import PerceivedRelation

pr = PerceivedRelation(
    relation=relation,
    epistemic_status="hypothesis",
    noise_metadata={},
)
print(pr.relation.relation_type)   # e.g. "adjacent"
print(pr.epistemic_status)         # "hypothesis"

data = pr.to_dict()

See also:

Ometeotl

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