Legitimate Algorithms
May 29th, 2008 by kerrysoft and tagged Apache, CRM software, ERP solution, Web
Coherent Algorithms , Harald Ganzinger and David McAllester. ICALP 2002.
It is wide taken that many algorithms can be briefly and clear verbalised as ordered inference rules. Nevertheless, logic programming has been out or keeping for the study of the campaigning time of algorithms because there has not been a clear-cut and accurate model of the run time of a logic program. We lay out a logic programming model of computation appropriate for the study of the run time of a wide of the mark variety of algorithms.
Thusly, there are two independent styles in logic programming. The first is Prolog-style goal-placed, or rearwards, search. The idea is that you have a set of rules, and a goal, and you nondeterministically take rules that might have demonstrated that goal, straining to regain a sequence of deductions that could have shown this goal. It’s sent for backward look since you are straining to reason out backward from the goal towards a good proof.
The other style is, course, sent for frontward search (bewilderingly, this is as well sent for the reverse method in theorem testing). The idea is that you have a goal, and some rules, and a geting going set of facts. You and then hold the rules to the facts you have, lucubrating your database of facts and enabling more deductions. You maintain coming this until either you observe the goal you were stressing to prove in the database of facts, or the database impregnates (ie, no more deductions are demonstrable) and the goal is unprovable. The idea is that your database is an inexplicit data structure, which you update as part of the search. This makes believe frontward look for a particularly lifelike method when you’re proving to cipher closures — graph algorithms, dataflow analyses, that kind of thing.
While we’ve talked over applications of advancing logic programming in front, I called back it might be well to link to a discussion of the methodology of how to particularise algorithms as forward-moving logic programs and examine their complexity.
The language in this paper lets deletion of facts from the database, which is unluckily a non-ordered operation — in clasical and intuitionistic logic, deduction can just increase the number of facts you cognize. But with a change of logic, it can be named consistent. That’ll be the next paper I send a link to.
Relating Posts:
Spring Web Flow 2 release
Big in Japan
Memory Model
Trust Microsoft with Claimspace (my response pending)
Posted in Technology | Comments Off
