On Fri, 18 Sep 2009 at 12:52PM +0200, Nathann Cohen wrote: > I have another question, linked to this one : Suppose the user has > some graph, and starts the function is_perfect ( which I have yet to > write, if possible, but this is just an example ). If the graph is > perfect, could we store it in the graph and remember it ?
I think you're describing "lazy attributes". I don't really know anything about them, except they only get computed when you ask for them, and are remembered afterwards. There's a bunch of this stuff in the combinat tree, if I remember correctly. Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature