Determining calculation order for group of related calculations

Ian Kelly ian.g.kelly at gmail.com
Fri Jan 28 18:38:49 EST 2011


On Fri, Jan 28, 2011 at 4:29 PM,  <python at bdurham.com> wrote:
> Wondering if there's a Python library or algorithm for determining the order
> in which a group of calculations should be performed when some calculations
> reference the result of other equations. I don't need anything as fancy as a
> spreadsheet engine, however I do need to detect recursive equations and
> treat these situations as errors.

A google search for "python topological sort" returns lots of results.



More information about the Python-list mailing list