<HTML> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- Created on December, 22 2009 by texi2html 1.64 --> <!-- Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> Olaf Bachmann <obachman@mathematik.uni-kl.de> and many others. Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de> Send bugs and suggestions to <texi2html@mathematik.uni-kl.de> --> <HEAD> <TITLE>APRON 0.9.10: Constructors/Destructors for tree constraints of level 1</TITLE> <META NAME="description" CONTENT="APRON 0.9.10: Constructors/Destructors for tree constraints of level 1"> <META NAME="keywords" CONTENT="APRON 0.9.10: Constructors/Destructors for tree constraints of level 1"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="texi2html 1.64"> </HEAD> <BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"> <A NAME="SEC120"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_83.html#SEC119"> < </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_85.html#SEC121"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_77.html#SEC113"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_82.html#SEC118"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_87.html#SEC123"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_toc.html#SEC_Contents">Contents</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_abt.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <HR SIZE=1> <H3> Constructors/Destructors for tree constraints of level 1 </H3> <!--docid::SEC120::--> <P> <A NAME="IDX267"></A> <DL> <DT><U>Function:</U> ap_tcons1_t <B>ap_tcons1_make</B> <I>(ap_constyp_t <VAR>constyp</VAR>, ap_texpr1_t* <VAR>expr</VAR>, ap_scalar_t* <VAR>scalar</VAR>)</I> <DD>Create a constraint of given type with the given expression. The expression and the optional coefficient are not duplicated, just pointed to. </DL> </P><P> <A NAME="IDX268"></A> <DL> <DT><U>Function:</U> ap_tcons1_t <B>ap_tcons1_from_lincons1</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Create a tree constraint from a linear constraint. </DL> </P><P> <A NAME="IDX269"></A> <DL> <DT><U>Function:</U> ap_tcons1_t <B>ap_tcons1_copy</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Duplication. </DL> </P><P> <A NAME="IDX270"></A> <DL> <DT><U>Function:</U> void <B>ap_tcons1_clear</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Clear the constraint and set pointers to NULL. </DL> </P><P> <A NAME="IDX271"></A> <DL> <DT><U>Function:</U> void <B>ap_tcons1_fprint</B> <I>(FILE* <VAR>stream</VAR>, ap_tcons1_t* <VAR>cons</VAR>)</I> <DD><A NAME="IDX272"></A> <DT><U>Function:</U> void <B>ap_tcons1_print</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Printing </DL> </P><P> <A NAME="IDX273"></A> <DL> <DT><U>Function:</U> ap_environment_t* <B>ap_tcons1_envref</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Get a reference to the environment. Do not free it. </DL> </P><P> <A NAME="IDX274"></A> <DL> <DT><U>Function:</U> ap_constyp_t* <B>ap_tcons1_constypref</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Get a reference to the type of constraint. </DL> </P><P> <A NAME="IDX275"></A> <DL> <DT><U>Function:</U> ap_scalar_t* <B>ap_tcons1_scalarref</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Get a reference to the auxiliary coefficient of the constraint. </DL> </P><P> <A NAME="IDX276"></A> <DL> <DT><U>Function:</U> ap_texpr1_t <B>ap_tcons1_texpr1ref</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Get a reference to the underlying expression of the constraint. Do not free it: nothing is duplicated. Modifying the argument or the result is equivalent, except for change of dimensions/environment. </DL> </P><P> <A NAME="IDX277"></A> <DL> <DT><U>Function:</U> ap_tcons0_t* <B>ap_tcons1_tcons0ref</B> <I>(ap_tcons1_t* <VAR>cons</VAR>)</I> <DD>Return underlying constraint of level 0. Do not free it: nothing is duplicated. Modifying the argument or the result is equivalent, except for change of dimensions/envionment. </DL> </P><P> <A NAME="Operations on tree constraints of level 1"></A> <HR SIZE=1> <BR> <FONT SIZE="-1"> This document was generated by <I>Bertrand Jeannet</I> on <I>December, 22 2009</I> using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html "><I>texi2html</I></A> </BODY> </HTML>