|
From: Nick C. <nic...@ve...> - 2002-12-12 18:45:58
|
Hi, I refactored the controller (small c) hierarchy over the last few days. The point here was to isolate the basic semantics of a controller in an Interface. This new Interface is IController and the basic semantics have to do with the execution of a model, starting, stopping etc. BaseController implements these semantics, and retains backward compatibility with all its weird little utility methods. BatchController and AbstractGUIController add different ways of dealing with parameters and Controller adds an actual GUI (buttons and so forth) on top of AbstractGUIController. I'd rather do this with wrapping, but it was easier to preserve backward compatibility w/r to Controller this way. Wrapping can be revisited later. just to keep y'all in the loop, Nick -- Nick Collier Social Science Research Computing University of Chicago http://repast.sourceforge.net |