/** * Creates a new user/environment simulator. * * @param system the main dialogue system to which the simulator should connect * @param domain the dialogue domain for the simulator not be created */ public Simulator(DialogueSystem system, Domain domain) { this.system = system; this.domain = domain; simulatorState = domain.getInitialState().copy(); simulatorState.setParameters(domain.getParameters()); this.system.changeSettings(domain.getSettings()); }