> So you are saying that only the generic Graph should be mutable, thats > fine. Just make all derived FooGraph's immutable.
WHAT ? O_o And what do you do with your graph once that is is immutable ? You create a whole copy when you want to add an edge ? And if you have a GenericGraph on which you want to use a function that is only available for perfect graphs you have to copy it again to use PerfectGraph.something ? And if your graphs has several properties at once and you want to use one method of each... One graph per propety ? O_O;;;; That's going a bit far just to shorten the length of our files O_o;;;; Nathann -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org