[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Constructors/Destructors for tree constraints of level 1

Function: ap_tcons1_t ap_tcons1_make (ap_constyp_t constyp, ap_texpr1_t* expr, ap_scalar_t* scalar)
Create a constraint of given type with the given expression. The expression and the optional coefficient are not duplicated, just pointed to.

Function: ap_tcons1_t ap_tcons1_from_lincons1 (ap_tcons1_t* cons)
Create a tree constraint from a linear constraint.

Function: ap_tcons1_t ap_tcons1_copy (ap_tcons1_t* cons)
Duplication.

Function: void ap_tcons1_clear (ap_tcons1_t* cons)
Clear the constraint and set pointers to NULL.

Function: void ap_tcons1_fprint (FILE* stream, ap_tcons1_t* cons)
Function: void ap_tcons1_print (ap_tcons1_t* cons)
Printing

Function: ap_environment_t* ap_tcons1_envref (ap_tcons1_t* cons)
Get a reference to the environment. Do not free it.

Function: ap_constyp_t* ap_tcons1_constypref (ap_tcons1_t* cons)
Get a reference to the type of constraint.

Function: ap_scalar_t* ap_tcons1_scalarref (ap_tcons1_t* cons)
Get a reference to the auxiliary coefficient of the constraint.

Function: ap_texpr1_t ap_tcons1_texpr1ref (ap_tcons1_t* cons)
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.

Function: ap_tcons0_t* ap_tcons1_tcons0ref (ap_tcons1_t* cons)
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.



This document was generated on September, 10 2009 using texi2html