How about just serializing the object? -Greg 2011/8/8 Sébastien Brisard <sebastien.bris...@m4x.org>
> Hi, > a useful feature for *any* iterative algorithm would be the > possibility to call a "monitor" at the end of each iteration. What > would this monitor do would pretty much depend on the user's mood: > periodically backup the state of the algorithm (in order to restart it > in case of a crash), log a set of tabulated values (to plot the > convergence of the algorithm), ... > The idea would be to come up with a design as general as possible. > Gilles proposed (see MATH-581) to use java.util.Observable. This > sounds very attractive to me. Any comments? > Best regards, > Sebastien > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >