Print

Print


SimState.finish() is called at the end of every run, i.e. every job when you use -repeat on the command line.  Is there a function that's only called after the last run?  I have been looking, but haven't found one.

A related, nitpicky question: Page 92 of the v. 19 (June 2015) manual describes the doLoop(...) methods in sim.engine.SimState, and says that when the methods run ".... Finally, stop() is called on the instance."  For the first doLoop method, at least, the instance in question is clearly a SimState, since "The generator will be called to produce an instance of the desired SimState subclass."  However, SimState doesn't have a stop() method.  Is this a typo?  Should it be finish()?  (Or is this is a reference to a Stoppable that's available from the SimState?)

Thanks-

Marshall

Marshall Abrams, Associate Professor 
Department of Philosophy, University of Alabama at Birmingham
Email: [log in to unmask]; Phone: (205) 996-7483;  Fax: (205) 975-6610
Mail: HB 414A, 900 13th Street South, Birmingham, AL 35294-1260;  Office: HB 418
Website: http://members.logical.net/~marshall