{"id":118,"date":"2018-07-19T06:05:51","date_gmt":"2018-07-19T06:05:51","guid":{"rendered":"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=118"},"modified":"2018-07-19T06:11:53","modified_gmt":"2018-07-19T06:11:53","slug":"more-transform-and-conquer-problems-2","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/chapter\/more-transform-and-conquer-problems-2\/","title":{"rendered":"More Transform and Conquer Problems"},"content":{"raw":"<div>\r\n\r\nThis module 19 focuses on an important design paradigm called Transform and Conquer. This module discusses problems related to polynomial evaluation and faster exponentiation. The learning objectives of this module are\r\n\r\n&nbsp;\r\n\r\n\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To explain Transform and conquer variant representation change.\r\n\r\n\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To explain polynomial evaluation using Horner\u2019s method.\r\n\r\n\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To explain faster exponentiation\r\n\r\n\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To problem reduction method\r\n\r\n&nbsp;\r\n\r\n<strong>Transform and Conquer Design paradigm<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Transform and conquer is a design paradigm where a given problem is transformed to another domain. This can be done for familiarity of simplicity [2,3]. The problem is solved in the new domain. Then, the solutions are converted back to the original domain. In short, transform and conquer proposes two stage solution<\/p>\r\n&nbsp;\r\n\r\n1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 First stage involves the transformation to another problem that is more amenable for solution\r\n\r\n2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Second stage involves solving the new problem where the transformed new problem is solved. Then the solutions are converted back to the original problem.\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Variations of Transform and Conquer<\/strong>\r\n\r\n&nbsp;\r\n\r\nThree variants of transform and conquer are as follows:\r\n\r\n&nbsp;\r\n\r\n\u2013\u00a0 Instance Simplification\r\n\r\n\u2013\u00a0 Representation Change\r\n\r\n\u2013\u00a0 Problem Reduction\r\n\r\n&nbsp;\r\n\r\n<strong>Instance simplification <\/strong>is one variant where the problem transformed to the same problem of simpler or convenient instance.\r\n\r\n<\/div>\r\n&nbsp;\r\n\r\n<strong>Change of Representation<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Change of representation is another useful variant of transform and conquer design paradigm. As part of this technique, two examples are discussed as part of the problem.<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Polynomial Evaluation<\/strong>\r\n\r\n&nbsp;\r\n\r\nOne of the common problem is scientific domain is the evaluation of polynomial. A polynomial is given as follows:\r\n\r\n<img class=\"size-full wp-image-119 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-54.png\" alt=\"\" width=\"680\" height=\"569\" \/>\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-121 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-55.png\" alt=\"\" width=\"659\" height=\"748\" \/>\r\n\r\n<img class=\"size-full wp-image-123 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-56.png\" alt=\"\" width=\"676\" height=\"791\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong>Faster Exponentiation<\/strong>\r\n\r\n&nbsp;\r\n\r\nExponentiation is the problem of finding <em>x<\/em><em>n<\/em><em>.<\/em> The traditional algorithm for solving this is given below:\r\n\r\n&nbsp;\r\n\r\nAlgorithm Exp(x, n)\r\n\r\n&nbsp;\r\n\r\nif n = 1 then\r\n\r\n&nbsp;\r\n\r\nreturn x\r\n\r\n&nbsp;\r\n\r\nelse\r\n\r\n&nbsp;\r\n\r\nreturn x \u00b4 Exp(x,n-1)\r\n\r\n&nbsp;\r\n\r\nend if\r\n\r\n&nbsp;\r\n\r\nend\r\n\r\n&nbsp;\r\n\r\n<strong>Complexity Analysis<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">What is the complexity of this algorithm? The complexity is O(n) as the algorithm requires (<em>n-1<\/em>) multiplications. If the exponent is large, the number of multiplications required would increase considerably. Therefore, a better solution can be provided for finding exponentiation using transform and conquer method.<\/p>\r\n&nbsp;\r\n\r\n<strong>Idea of Faster Exponentiation:<\/strong>\r\n\r\n&nbsp;\r\n\r\nThe concept of fast exponentiation was given in a Hindu literature Chandah Sutra in 200 BC.\r\n<p style=\"text-align: justify\"><em>x<\/em>2 can be computed with one multiplication. If<em> x<\/em>4 needs to be computed, it can be computed as ( <em>x<\/em>2 )2 . In this case, only two multiplications are required instead of traditional four multiplications. Similarly, <em>x<\/em>8 can be computed as (( <em>x<\/em>2 ) 2 )2 with three multiplications. In general, the faster exponentiation can be done using log n computations.<\/p>\r\n&nbsp;\r\n\r\nThe informal algorithm for computing is given as follows:\r\n<ol>\r\n \t<li><em>Represent the exponent as a binary pattern P. Let the maximum number of bits be p.<\/em><\/li>\r\n<\/ol>\r\n<ol start=\"2\">\r\n \t<li><em>Scan the binary bits of pattern P.<\/em><\/li>\r\n<\/ol>\r\n<img class=\"size-full wp-image-124 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-57.png\" alt=\"\" width=\"663\" height=\"582\" \/>\r\n\r\n<img class=\"size-full wp-image-125 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-58.png\" alt=\"\" width=\"713\" height=\"623\" \/>\r\n\r\n<img class=\"size-full wp-image-126 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-59.png\" alt=\"\" width=\"666\" height=\"865\" \/>\r\n<div>\r\n\r\n<em>b<\/em><em>i<\/em><em>\u00a0 <\/em>=1: term = x *\u00a0 term\r\n\r\n&nbsp;\r\n\r\nEnd case\r\n\r\n&nbsp;\r\n\r\nEnd for\r\n\r\n&nbsp;\r\n\r\nReturn Product\r\n\r\n&nbsp;\r\n\r\nEnd.\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Complexity analysis:<\/strong>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The complexity of the algorithm depends on the binary representations of\u00a0 Therefore, the number of multiplications would be between \u00ea log <em>n<\/em> \u00fa and 2 \u00eb 2 \u00fb<\/p>\r\ncomplexity of the algorithm is O(log n).\u00a0 the given number. \u00ea\u00eb log2 <em>n<\/em>\u00fa\u00fb . Hence, the\r\n\r\n<\/div>\r\n&nbsp;\r\n\r\n<strong>Problem Reduction:<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Problem reduction is another variant of this paradigm. Assume that there are two problems A and B. The problem A is unsolvable and problem B has an algorithm. Hence, the logic of problem reduction is the conversion of instance of problem A into instance of problem B using an algorithm. Then the problem A can be solved by invoking the problem solver of B as a subroutine. Then, the result can be converted back. Some of the examples of problem reduction are computation of LCM in terms of GCD, reducing game problems to graph search problems.<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Summary<\/strong>\r\n\r\n&nbsp;\r\n\r\nIn short, one can conclude as part of this module 19 that\r\n<ul>\r\n \t<li>Representation Change is an effective way to solve problems.<\/li>\r\n \t<li>Horner method uses representation Change.<\/li>\r\n \t<li>Faster exponentiation can be done using transform and conquer method.<\/li>\r\n<\/ul>","rendered":"<div>\n<p>This module 19 focuses on an important design paradigm called Transform and Conquer. This module discusses problems related to polynomial evaluation and faster exponentiation. The learning objectives of this module are<\/p>\n<p>&nbsp;<\/p>\n<p>\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To explain Transform and conquer variant representation change.<\/p>\n<p>\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To explain polynomial evaluation using Horner\u2019s method.<\/p>\n<p>\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To explain faster exponentiation<\/p>\n<p>\u2022\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 To problem reduction method<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Transform and Conquer Design paradigm<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Transform and conquer is a design paradigm where a given problem is transformed to another domain. This can be done for familiarity of simplicity [2,3]. The problem is solved in the new domain. Then, the solutions are converted back to the original domain. In short, transform and conquer proposes two stage solution<\/p>\n<p>&nbsp;<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 First stage involves the transformation to another problem that is more amenable for solution<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Second stage involves solving the new problem where the transformed new problem is solved. Then the solutions are converted back to the original problem.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Variations of Transform and Conquer<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Three variants of transform and conquer are as follows:<\/p>\n<p>&nbsp;<\/p>\n<p>\u2013\u00a0 Instance Simplification<\/p>\n<p>\u2013\u00a0 Representation Change<\/p>\n<p>\u2013\u00a0 Problem Reduction<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Instance simplification <\/strong>is one variant where the problem transformed to the same problem of simpler or convenient instance.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>Change of Representation<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Change of representation is another useful variant of transform and conquer design paradigm. As part of this technique, two examples are discussed as part of the problem.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Polynomial Evaluation<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>One of the common problem is scientific domain is the evaluation of polynomial. A polynomial is given as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-119 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-54.png\" alt=\"\" width=\"680\" height=\"569\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-54.png 680w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-54-300x251.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-54-65x54.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-54-225x188.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-54-350x293.png 350w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-121 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-55.png\" alt=\"\" width=\"659\" height=\"748\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-55.png 659w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-55-264x300.png 264w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-55-65x74.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-55-225x255.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-55-350x397.png 350w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-123 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-56.png\" alt=\"\" width=\"676\" height=\"791\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-56.png 676w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-56-256x300.png 256w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-56-65x76.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-56-225x263.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-56-350x410.png 350w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Faster Exponentiation<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Exponentiation is the problem of finding <em>x<\/em><em>n<\/em><em>.<\/em> The traditional algorithm for solving this is given below:<\/p>\n<p>&nbsp;<\/p>\n<p>Algorithm Exp(x, n)<\/p>\n<p>&nbsp;<\/p>\n<p>if n = 1 then<\/p>\n<p>&nbsp;<\/p>\n<p>return x<\/p>\n<p>&nbsp;<\/p>\n<p>else<\/p>\n<p>&nbsp;<\/p>\n<p>return x \u00b4 Exp(x,n-1)<\/p>\n<p>&nbsp;<\/p>\n<p>end if<\/p>\n<p>&nbsp;<\/p>\n<p>end<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Complexity Analysis<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">What is the complexity of this algorithm? The complexity is O(n) as the algorithm requires (<em>n-1<\/em>) multiplications. If the exponent is large, the number of multiplications required would increase considerably. Therefore, a better solution can be provided for finding exponentiation using transform and conquer method.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Idea of Faster Exponentiation:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>The concept of fast exponentiation was given in a Hindu literature Chandah Sutra in 200 BC.<\/p>\n<p style=\"text-align: justify\"><em>x<\/em>2 can be computed with one multiplication. If<em> x<\/em>4 needs to be computed, it can be computed as ( <em>x<\/em>2 )2 . In this case, only two multiplications are required instead of traditional four multiplications. Similarly, <em>x<\/em>8 can be computed as (( <em>x<\/em>2 ) 2 )2 with three multiplications. In general, the faster exponentiation can be done using log n computations.<\/p>\n<p>&nbsp;<\/p>\n<p>The informal algorithm for computing is given as follows:<\/p>\n<ol>\n<li><em>Represent the exponent as a binary pattern P. Let the maximum number of bits be p.<\/em><\/li>\n<\/ol>\n<ol start=\"2\">\n<li><em>Scan the binary bits of pattern P.<\/em><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-124 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-57.png\" alt=\"\" width=\"663\" height=\"582\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-57.png 663w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-57-300x263.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-57-65x57.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-57-225x198.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-57-350x307.png 350w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-125 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-58.png\" alt=\"\" width=\"713\" height=\"623\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-58.png 713w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-58-300x262.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-58-65x57.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-58-225x197.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-58-350x306.png 350w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-126 aligncenter\" src=\"http:\/\/csp5.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-59.png\" alt=\"\" width=\"666\" height=\"865\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-59.png 666w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-59-231x300.png 231w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-59-65x84.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-59-225x292.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-content\/uploads\/sites\/48\/2018\/07\/Untitled-59-350x455.png 350w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/p>\n<div>\n<p><em>b<\/em><em>i<\/em><em>\u00a0 <\/em>=1: term = x *\u00a0 term<\/p>\n<p>&nbsp;<\/p>\n<p>End case<\/p>\n<p>&nbsp;<\/p>\n<p>End for<\/p>\n<p>&nbsp;<\/p>\n<p>Return Product<\/p>\n<p>&nbsp;<\/p>\n<p>End.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Complexity analysis:<\/strong><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The complexity of the algorithm depends on the binary representations of\u00a0 Therefore, the number of multiplications would be between \u00ea log <em>n<\/em> \u00fa and 2 \u00eb 2 \u00fb<\/p>\n<p>complexity of the algorithm is O(log n).\u00a0 the given number. \u00ea\u00eb log2 <em>n<\/em>\u00fa\u00fb . Hence, the<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>Problem Reduction:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Problem reduction is another variant of this paradigm. Assume that there are two problems A and B. The problem A is unsolvable and problem B has an algorithm. Hence, the logic of problem reduction is the conversion of instance of problem A into instance of problem B using an algorithm. Then the problem A can be solved by invoking the problem solver of B as a subroutine. Then, the result can be converted back. Some of the examples of problem reduction are computation of LCM in terms of GCD, reducing game problems to graph search problems.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Summary<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>In short, one can conclude as part of this module 19 that<\/p>\n<ul>\n<li>Representation Change is an effective way to solve problems.<\/li>\n<li>Horner method uses representation Change.<\/li>\n<li>Faster exponentiation can be done using transform and conquer method.<\/li>\n<\/ul>\n","protected":false},"author":4,"menu_order":9,"template":"","meta":{"_acf_changed":false,"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["mr-s-sridhar"],"pb_section_license":""},"chapter-type":[],"contributor":[58],"license":[],"class_list":["post-118","chapter","type-chapter","status-publish","hentry","contributor-mr-s-sridhar"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/pressbooks\/v2\/chapters\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/wp\/v2\/users\/4"}],"version-history":[{"count":4,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/pressbooks\/v2\/chapters\/118\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/pressbooks\/v2\/chapters\/118\/revisions\/128"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/pressbooks\/v2\/chapters\/118\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/pressbooks\/v2\/chapter-type?post=118"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/wp\/v2\/contributor?post=118"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp5\/wp-json\/wp\/v2\/license?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}