gabm.abm.democracy.political_party module

Political Party module for GABM.

class gabm.abm.democracy.political_party.PoliticalParty(party_id: PoliticalPartyID, name: str, ideology: str)

Bases: OpinionatedGroup

For representing a political party.

Attributes:

id (PoliticalPartyID): Unique identifier for the political party. name (str): The name of the political party. ideology (str): The ideology of the political party.

class gabm.abm.democracy.political_party.PoliticalPartyID(party_id: int)

Bases: GABMID

A unique identifier for a PoliticalParty instance.

Attributes:

party_id (int): The unique identifier for the political party.