def __init__(self, agent_address: Address) -> None: """ Initialize dialogues. :param agent_address: the address of the agent for whom dialogues are maintained :return: None """ Dialogues.__init__(self, agent_address=agent_address) self._dialogue_stats = FipaDialogueStats()
def __init__(self) -> None: """ Initialize dialogues. :return: None """ BaseDialogues.__init__(self) self._dialogues_as_seller = {} # type: Dict[DialogueLabel, Dialogue] self._dialogues_as_buyer = {} # type: Dict[DialogueLabel, Dialogue]
def __init__(self) -> None: """ Initialize dialogues. :return: None """ Dialogues.__init__(self) self._initiated_dialogues = {} # type: Dict[DialogueLabel, FIPADialogue] self._dialogues_as_seller = {} # type: Dict[DialogueLabel, FIPADialogue] self._dialogues_as_buyer = {} # type: Dict[DialogueLabel, FIPADialogue] self._dialogue_stats = FIPADialogueStats()
def __init__(self, agent_address: Address) -> None: """ Initialize dialogues. :param agent_address: the address of the agent for whom dialogues are maintained :return: None """ Dialogues.__init__( self, agent_address=agent_address, end_states=cast(FrozenSet[Dialogue.EndState], self.END_STATES), )
def setup(cls): """Initialise the class.""" cls.dialogue_label = DialogueLabel(dialogue_reference=(str(0), ''), dialogue_opponent_pbk="opponent", dialogue_starter_pbk="starter") cls.dialogue = Dialogue(dialogue_label=cls.dialogue_label) cls.dialogues = Dialogues()