Big Chemical Encyclopedia

Chemical substances, components, reactions, process design ...

Articles Figures Tables About

Recursive logic algorithms

In the following, we thus only consider recursive logic algorithms where some well-founded relation can be defined between the recursive literals and the head. We thus have to enforce that a synthesis mechanism doesn t design non-terminating recursion (for ground queries). [Pg.87]

Within a restricted setting, the MSG Method infers, from a finite set of general examples, a non-recursive logic algorithm that is defined in terms of the =/2 primitive only, and that is correct wrt a natural extension of the given examples. The underlying algorithm is non-deterministic. [Pg.144]

However, it may happen that the instance of Solve or SolveNonMin is defined as a full-fledged, possibly recursive, logic algorithm. Different methods need to be applied then. We discuss one such method in Section 14.2.4. [Pg.178]

Example 13-4 During the synthesis of LAipermutation-int-L), the MSG Method is invoked as in Example 10-12. The first result is subject to Heuristic 13-2, because there are too many cliques, which lets expect that LA(pcPermutation) wouldn t behave as intended on a goal such aspcPermutation a,[b,c4,ef]R). The same holds for the second result. The intended relation for LA(pcPermutation) is indeed the one underlying the stuff/3 predicate, and thus requires a recursive logic algorithm. We show in Section 14.2.4 how this can be obtained. [Pg.182]

The Synthesis Method assumes that there is a single sub-case of the recursive case (w=l), and that procCompi(HX,TY,Y), which is hereafter denoted procComp HX,TY,Y), is defined by a full-fledged recursive logic algorithm. The synthesis of LA procComp) may thus be achieved by the following sequence of tasks ... [Pg.199]

Example 5-4 The following logic algorithm for insert(EEfi) has been designed with L as induction parameter. Parameter E is an auxiliary parameter. Note that the non-minimal form gives rise to two cases, one of them without a recursive atom. [Pg.67]

Several aspects of logic algorithm design can be discussed now. We first propose a useful terminology for logic algorithm classification, and then show in what sense minimal cases and non-recursive non-minimal cases, though syntactically similar, are totally different concepts. [Pg.71]

As the logic algorithms of this book exhibit, not all non-minimal cases are recursive. Indeed, prefix-traversal logic algorithms have non-recursive non-minimal cases. But some structural cases of logic algorithms in Chapter 4, or [Deville 90], seem hard to classify. There are several potential reasons to this. [Pg.74]

A first reason is that non-recursive non-minimal cases of prefix-scan logic algorithms can often be merged with their minimal cases. The resulting algorithm looks like it has no minimal case. It exhibits cases whose structural forms are not mutually exclusive, and is thus easy to detect as being a rewriting of the canonical version. [Pg.74]

It is important to understand that such logic algorithms with non-recursive, non-minimal cases are the result of re-writing canonical logic algorithms, rather than unpleasant aberrations. [Pg.75]

Let s close in now on the MSG Method. Intuitively, its objective is to infer a logic algorithm of a predicate r n, given a finite set of examples of rhi The method should be applicable if the intended relation (from which the examples are extracted) can be expressed by a logic algorithm that is defined solely in terms of the =/2 primitive (hence is non-recursive, among others). This is feasible iff, in the intended relation, some parameters are somehow syntactically constructed from some other parameters. [Pg.134]

So why not immediately use the Synthesis Method The reason is that both methods tackle different classes of problems. The MSG Method and the Synthesis Method are a joint answer to the same overall problem how to infer, from a finite set of general examples of an unknown relation that is however known to feature a given dataflow pattern between its parameters, a logic algorithm that is correct wrt a natural extension of the given examples. The MSG Method is the base case of the answer, because it doesn t look for recursion, and the Synthesis Method is the structure case of the answer, because it does look for recursion. [Pg.144]

Third, we only aim at the synthesis of single-loop logic algorithms. In other words, we assume that the only loop is the one that is achieved in the schema by the recursion on the induction parameter, and that none of the instances of the predicate-variables is defined recursively (possibly as a divide-and-conquer logic algorithm). [Pg.152]

This amounts to splitting the non-minimal case into two non-mandatory cases, called the non-recursive non-minimal case and the recursive non-minimal case, respectively. For convenience, we drop the qualifier non-minimal from these two names. Recursion may be useless in the sense that the recursively computed TY are not needed for the computation of Y. Useless recursion wouldn t affect the correctness of a logic algorithm, though. Its elimination is thus rather a matter of algorithm optimization. The following objectives of the strategy ... [Pg.171]

This logic algorithm is totally correct wrt the intended relation. The main obstacle is the detection that recursion is useless in the second disjunct. ... [Pg.208]

In terms of alternative techniques to the MSG Method, there is of course the whole literature on empirical learning, and inductive logic programming (ILP), as surveyed in Chapter 3. But it should be noted that the MSG Method only aims at the synthesis of a sub-class of concept descriptions, namely non-recursive algorithms that are implemented in terms of the =/2 primitive only, and whose intended relation, though unknown as a whole, is however known to feature a given dataflow pattern between... [Pg.143]


See other pages where Recursive logic algorithms is mentioned: [Pg.198]    [Pg.203]    [Pg.211]    [Pg.198]    [Pg.203]    [Pg.211]    [Pg.46]    [Pg.51]    [Pg.58]    [Pg.66]    [Pg.66]    [Pg.73]    [Pg.76]    [Pg.81]    [Pg.86]    [Pg.86]    [Pg.105]    [Pg.109]    [Pg.122]    [Pg.144]    [Pg.173]    [Pg.173]    [Pg.193]    [Pg.195]    [Pg.197]    [Pg.212]    [Pg.214]    [Pg.255]    [Pg.404]    [Pg.11]    [Pg.168]    [Pg.35]    [Pg.25]    [Pg.54]   
See also in sourсe #XX -- [ Pg.87 ]




SEARCH



Logic algorithm

Recursion

Recursion algorithms

Recursive

Recursive algorithm

© 2024 chempedia.info