Page 92 - DCAP506_ARTIFICIAL_INTELLIGENCE
P. 92

Artificial Intelligence




                    Notes          6.4.2 Control  Knowledge

                                   An algorithm comprises: logic component, that mentions the knowledge to be utilized in solving
                                   problems, and manage component, that identifies the problem-solving approaches by means of
                                   which that knowledge is utilized.
                                   Therefore, Algorithm = Logic + Control. The logic component identifies the meaning of the
                                   algorithm while the control  component  only  affects its  competence. An  algorithm may  be
                                   formulated in dissimilar manners, generating similar behavior. One formulation, may have a
                                   apparent statement in logic component but utilize a complicated problem solving strategy in
                                   the control component. The other formulation may have a complex logic component but utilize
                                   a simple problem-solving approach. The competence of an algorithm can frequently be improved
                                   by enhancing the control component without altering the logic of the algorithm and thus without
                                   altering the meaning of the algorithm.

                                   The approach in databases is  towards the division of  logic and  control. The programming
                                   languages these days do not differentiate between them.
                                   Computer programs will be more frequently accurate, more simply enhanced, and more readily
                                   adapted to new troubles  when programming languages divide logic and  control, and when
                                   execution mechanisms offer more powerful  problem-solving amenities of the type given by
                                   intelligent theorem-proving systems.



                                     Did u know?  The programmer mentions both logic and control in a single language.

                                       !

                                     Caution  The execution mechanism utilizes only the most rudimentary problem-solving
                                     capabilities.





                                      Task  Discuss how to improve the competence of an algorithm.
                                   Self Assessment


                                   Fill in the blanks:
                                   13.  The ........................................... component  identifies the meaning of the algorithm while
                                       the control component only affects its competence.
                                   14.  The ........................................... of an algorithm can frequently be improved by enhancing
                                       the control component without altering the logic of the algorithm and thus without altering
                                       the meaning of the algorithm.
                                   15.  The approach in ........................................... is towards the division of logic and control.

                                   6.5 Summary


                                      In Declarative knowledge representation, knowledge is  signified as static collection  of
                                       details which are influenced by common procedures.







          86                                LOVELY PROFESSIONAL UNIVERSITY
   87   88   89   90   91   92   93   94   95   96   97