Exemple #1
0
	def __init__(self):
		actionSelectorFactory = ActionSelectorFactory()
		interpreterFactory = InterpreterFactory()
		InterpreterClass = interpreterFactory.get_interpreter()
		ActionSelectorClass = ActionSelectorFactory().create()

		self.profile = PersonProfile()
		self.working_memory = WorkingMemory()
		self.a_s = ActionSelectorClass(self.working_memory, self.profile)
		self.interpreter = InterpreterClass(self.working_memory, self.profile)
Exemple #2
0
    def __init__(self):
        actionSelectorFactory = ActionSelectorFactory()
        interpreterFactory = InterpreterFactory()
        InterpreterClass = interpreterFactory.get_interpreter()
        ActionSelectorClass = ActionSelectorFactory().create()

        self.profile = PersonProfile()
        self.working_memory = WorkingMemory()
        self.a_s = ActionSelectorClass(self.working_memory, self.profile)
        self.interpreter = InterpreterClass(self.working_memory, self.profile)