# builders.domain.agent
Domain specification
Domain
# MultiAgent
A domain must inherit this class if it is multi-agent (i.e hosting multiple independent agents).
Agents are identified by (string) agent names.
# get_agents MultiAgent
get_agents(
self
) -> set[str]
Return the set of available agents ids.
# SingleAgent
A domain must inherit this class if it is single-agent (i.e hosting only one agent).
# get_agents MultiAgent
get_agents(
self
) -> set[str]
Return a singleton for single agent domains.
We must be here consistent with skdecide.core.autocast()
which transforms a single agent domain
into a multi agents domain whose only agent has the id "agent".