<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>PPL: Parma_Polyhedra_Library::Constraints_Reduction< D1, D2 > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceParma__Polyhedra__Library.html">Parma_Polyhedra_Library</a>::<a class="el" href="classParma__Polyhedra__Library_1_1Constraints__Reduction.html">Constraints_Reduction</a> </div> </div> <div class="contents"> <h1>Parma_Polyhedra_Library::Constraints_Reduction< D1, D2 > Class Template Reference<br/> <small> [<a class="el" href="group__PPL__CXX__interface.html">C++ Language Interface</a>]</small> </h1><!-- doxytag: class="Parma_Polyhedra_Library::Constraints_Reduction" --> <p>This class provides the reduction method for the Constraints_Product domain. <a href="#_details">More...</a></p> <p><code>#include <ppl.hh></code></p> <p><a href="classParma__Polyhedra__Library_1_1Constraints__Reduction-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87f25b7a2988f918a20b3d09047b08ab"></a><!-- doxytag: member="Parma_Polyhedra_Library::Constraints_Reduction::Constraints_Reduction" ref="a87f25b7a2988f918a20b3d09047b08ab" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classParma__Polyhedra__Library_1_1Constraints__Reduction.html#a87f25b7a2988f918a20b3d09047b08ab">Constraints_Reduction</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classParma__Polyhedra__Library_1_1Constraints__Reduction.html#a383574ff4028da9048235b061a613b99">product_reduce</a> (D1 &d1, D2 &d2)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The constraints reduction operator for sharing constraints between the domains. <a href="#a383574ff4028da9048235b061a613b99"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a898fefd81641cf4f6b854e85412a415c"></a><!-- doxytag: member="Parma_Polyhedra_Library::Constraints_Reduction::~Constraints_Reduction" ref="a898fefd81641cf4f6b854e85412a415c" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classParma__Polyhedra__Library_1_1Constraints__Reduction.html#a898fefd81641cf4f6b854e85412a415c">~Constraints_Reduction</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <h3>template<typename D1, typename D2><br/> class Parma_Polyhedra_Library::Constraints_Reduction< D1, D2 ></h3> <p>This class provides the reduction method for the Constraints_Product domain. </p> <p>The reduction classes are used to instantiate the <a class="el" href="classParma__Polyhedra__Library_1_1Partially__Reduced__Product.html" title="The partially reduced product of two abstractions.">Partially_Reduced_Product</a> domain. This class adds the constraints defining each of the component domains to the other component. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a383574ff4028da9048235b061a613b99"></a><!-- doxytag: member="Parma_Polyhedra_Library::Constraints_Reduction::product_reduce" ref="a383574ff4028da9048235b061a613b99" args="(D1 &d1, D2 &d2)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename D1 , typename D2 > </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classParma__Polyhedra__Library_1_1Constraints__Reduction.html">Parma_Polyhedra_Library::Constraints_Reduction</a>< D1, D2 >::product_reduce </td> <td>(</td> <td class="paramtype">D1 & </td> <td class="paramname"> <em>d1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">D2 & </td> <td class="paramname"> <em>d2</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The constraints reduction operator for sharing constraints between the domains. </p> <p>The minimized constraint system defining the domain element <code>d1</code> is added to <code>d2</code> and the minimized constraint system defining <code>d2</code> is added to <code>d1</code>. In each case, the donor domain must provide a constraint system in minimal form; this must define a polyhedron in which the donor element is contained. The recipient domain selects a subset of these constraints that it can add to the recipient element. For example: if the domain <code>D1</code> is the <a class="el" href="classParma__Polyhedra__Library_1_1Grid.html" title="A grid.">Grid</a> domain and <code>D2</code> the NNC <a class="el" href="classParma__Polyhedra__Library_1_1Polyhedron.html" title="The base class for convex polyhedra.">Polyhedron</a> domain, then only the equality constraints are copied from <code>d1</code> to <code>d2</code> and from <code>d2</code> to <code>d1</code>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>d1</em> </td><td>A pointset domain element;</td></tr> <tr><td valign="top"></td><td valign="top"><em>d2</em> </td><td>A pointset domain element; </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>ppl.hh</li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Sun Feb 27 10:10:58 2011 for PPL by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>