The PEAK Developers' Center   PyConGenericFunctions UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Version as of 2007-08-11 07:13:13

Clear message


Writing Efficient Rule-Driven Software in Python

Author
Phillip J. Eby
Contact-Info
mailto:pje@telecommunity.com
Requested-Timeslot
45 minutes

Summary

In the design of applications, rules are everywhere: business rules, game rules, routing rules, "expert systems", code and query optimizers, and rule-based "agents" and triggers. But to implement rules, they have to be converted into code -- usually in the form of decision trees that become increasingly difficult to maintain as the number of rules grows. Recent developments in computer science, however, make it possible to automatically convert rules into decision trees that are guaranteed to be correct and efficient, even for large numbers of rules, without using a specialized logic or rule language like Prolog or Lisp. This presentation will give an overview of how to implement rule-driven systems directly in Python, using Python itself as the language for specifying rules, with faster development and execution times than would be obtained by hand-coding if-then trees. Examples will be based on the predicate dispatch implementation included in the latest version of the PyProtocols package.

Part 1: The Rules We Live By

Part 2: Implementing Rules with PyProtocols' dispatch package

Part 3: Past, Present, and Future

(Bonus material, for use if above runs short and there are no questions)

System Message: WARNING/2 (data/backup/PyConGenericFunctions.1186830793, line 272)

Bullet list ends without a blank line; unexpected unindent.
[http://adjure.1accesshost.com/85.html hentai anime porn-] | [http://statically.9cy.com/63.html hot housewives] | [http://judgeships.g0g.net/22.html boob titty] | [http://myukolayiv.fcpages.com/65.html spanked housewife] | [http://emanated.00freehost.com/66.html lesbian female domination] | [http://concede.envy.nu/18.html pissing accidents paula] | [http://congests.exactpages.com/19.html mini tongue vibrator] | [http://statically.9cy.com/89.html sexy fem dom] | [http://woeful.741.com/35.html male ass gaping] | [http://ascendency.100freemb.com/32.html shemale girl movie] | [http://confessing.ibnsites.com/39.html group of dick] | [http://supercool.wtcsites.com/90.html black clit] | [http://judgeships.g0g.net/59.html asian twinks] | [http://confessing.ibnsites.com/75.html glory holes wives] | [http://neologism.wtcsites.com/39.html petite teen sucking] | [http://pannier.ibnsites.com/ gush girl] | [http://mateys.ibnsites.com/47.html feathers torture feet] | [http://childproof.kogaryu.com/80.html hypno fem dom] | [http://emanated.00freehost.com/63.html gay smooth twinks] | [http://whiteys.kogaryu.com/53.html homo group intercourse] | [http://fort.envy.nu/73.html plumper messy cum] | [http://tawdriest.freewebsitehosting.com/71.html sweet boob] | [http://bullwhip.o-f.com/63.html feamle ejaculation] | [http://ascendency.100freemb.com/20.html spanking skinny girls] | [http://molybdenum.fcpages.com/94.html gran hermano porno] | [http://lucent.envy.nu/22.html bukkake in clothes]

PythonPowered
EditText of this page (last modified 2007-08-11 07:13:13)
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck