ProjectionBatch

Source:

Local role: Deterministic batch of ActionProjection instances for one actor/perception context.

Big-picture role: Batch transport object for first-order projection over a candidate action set.

Inheritance:

  • dataclass

Parameters and fields:

  • actor_id: str
  • source_perception_id: str
  • source_id: str
  • projections: list[ActionProjection]
  • metadata: dict

Methods:

  • to_dict() -> dict
  • from_dict(data) -> ProjectionBatch

See also:

Ometeotl

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