UtilityFunction

Source:

Local role: Abstract utility interface required by the model layer.

Big-picture role: Domain-neutral contract defining how actor-relative perceived states are scored under an interpretive framework.

Inheritance:

  • abstract base class

Core contract:

  • framework_id property
  • is_multi_criteria property
  • evaluate(perception, actor, context) -> UtilityFrame

Helper behavior:

  • deterministic missing-metric resolution policies
  • standardized UtilityFrame construction helpers

Concrete game-layer implementations:

Ometeotl

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