#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <polylib/polylib.h>
Go to the source code of this file.
Classes | |
struct | SatMatrix |
Defines | |
#define | WSIZE (8*sizeof(int)) |
#define | bexchange(a, b, l) |
#define | exchange(a, b, t) { (t)=(a); (a)=(b); (b)=(t); } |
#define | SMVector_Copy(p1, p2, length) memcpy((char *)(p2), (char *)(p1), (int)((length)*sizeof(int))) |
#define | SMVector_Init(p1, length) memset((char *)(p1), 0, (int)((length)*sizeof(int))) |
Functions | |
void | errormsg1 (char *f, char *msgname, char *msg) |
SatMatrix * | SMAlloc (int rows, int cols) |
void | SMFree (SatMatrix **matrix) |
void | SMPrint (SatMatrix *matrix) |
void | SatVector_OR (int *p1, int *p2, int *p3, unsigned length) |
void | Combine (Value *p1, Value *p2, Value *p3, int pos, unsigned length) |
SatMatrix * | TransformSat (Matrix *Mat, Matrix *Ray, SatMatrix *Sat) |
void | RaySort (Matrix *Ray, SatMatrix *Sat, int NbBid, int NbRay, int *equal_bound, int *sup_bound, unsigned RowSize1, unsigned RowSize2, unsigned bx, unsigned jx) |
void | SatMatrix_Extend (SatMatrix *Sat, Matrix *Mat, unsigned rows) |
void | Matrix_Extend (Matrix *Mat, unsigned NbRows) |
int | Chernikova (Matrix *Mat, Matrix *Ray, SatMatrix *Sat, unsigned NbBid, unsigned NbMaxRays, unsigned FirstConstraint, unsigned dual) |
int | Gauss4 (Value **p, int NbEq, int NbRows, int Dimension) |
int | Gauss (Matrix *Mat, int NbEq, int Dimension) |
Polyhedron * | Remove_Redundants (Matrix *Mat, Matrix *Ray, SatMatrix *Sat, unsigned *Filter) |
Polyhedron * | Polyhedron_Alloc (unsigned Dimension, unsigned NbConstraints, unsigned NbRays) |
void | Polyhedron_Free (Polyhedron *Pol) |
void | Domain_Free (Polyhedron *Pol) |
void | Polyhedron_Print (FILE *Dst, char *Format, Polyhedron *Pol) |
void | PolyPrint (Polyhedron *Pol) |
Polyhedron * | Empty_Polyhedron (unsigned Dimension) |
Polyhedron * | Universe_Polyhedron (unsigned Dimension) |
Polyhedron * | Constraints2Polyhedron (Matrix *Constraints, unsigned NbMaxRays) |
Given a matrix of constraints ('Constraints'), construct and return a polyhedron. | |
Matrix * | Polyhedron2Constraints (Polyhedron *Pol) |
Polyhedron * | Rays2Polyhedron (Matrix *Ray, unsigned NbMaxConstrs) |
Given a matrix of rays 'Ray', create and return a polyhedron. | |
SatMatrix * | BuildSat (Matrix *Mat, Matrix *Ray, unsigned NbConstraints, unsigned NbMaxRays) |
Polyhedron * | AddConstraints (Value *Con, unsigned NbConstraints, Polyhedron *Pol, unsigned NbMaxRays) |
int | PolyhedronIncludes (Polyhedron *Pol1, Polyhedron *Pol2) |
Polyhedron * | AddPolyToDomain (Polyhedron *Pol, Polyhedron *PolDomain) |
Polyhedron * | SubConstraint (Value *Con, Polyhedron *Pol, unsigned NbMaxRays, int Pass) |
Polyhedron * | DomainIntersection (Polyhedron *Pol1, Polyhedron *Pol2, unsigned NbMaxRays) |
Matrix * | Polyhedron2Rays (Polyhedron *Pol) |
Polyhedron * | AddRays (Value *AddedRays, unsigned NbAddedRays, Polyhedron *Pol, unsigned NbMaxConstrs) |
Polyhedron * | DomainAddRays (Polyhedron *Pol, Matrix *Ray, unsigned NbMaxConstrs) |
Polyhedron * | Polyhedron_Copy (Polyhedron *Pol) |
Polyhedron * | Domain_Copy (Polyhedron *Pol) |
void | addToFilter (int k, unsigned *Filter, SatMatrix *Sat, Value *tmpR, Value *tmpC, int NbRays, int NbConstraints) |
void | FindSimple (Polyhedron *P1, Polyhedron *P2, unsigned *Filter, unsigned NbMaxRays) |
int | SimplifyConstraints (Polyhedron *Pol1, Polyhedron *Pol2, unsigned *Filter, unsigned NbMaxRays) |
void | SimplifyEqualities (Polyhedron *Pol1, Polyhedron *Pol2, unsigned *Filter) |
Polyhedron * | DomainSimplify (Polyhedron *Pol1, Polyhedron *Pol2, unsigned NbMaxRays) |
Polyhedron * | Stras_DomainSimplify (Polyhedron *Pol1, Polyhedron *Pol2, unsigned NbMaxRays) |
Polyhedron * | DomainUnion (Polyhedron *Pol1, Polyhedron *Pol2, unsigned NbMaxRays) |
Polyhedron * | DomainConvex (Polyhedron *Pol, unsigned NbMaxConstrs) |
Polyhedron * | DomainDifference (Polyhedron *Pol1, Polyhedron *Pol2, unsigned NbMaxRays) |
Polyhedron * | align_context (Polyhedron *Pol, int align_dimension, int NbMaxRays) |
Polyhedron * | Polyhedron_Scan (Polyhedron *D, Polyhedron *C, unsigned NbMaxRays) |
int | lower_upper_bounds (int pos, Polyhedron *P, Value *context, Value *LBp, Value *UBp) |
void | Rays_Mult (Value **A, Matrix *B, Value **C, unsigned NbRays) |
void | Rays_Mult_Transpose (Value **A, Matrix *B, Value **C, unsigned NbRays) |
Polyhedron * | Polyhedron_Preimage (Polyhedron *Pol, Matrix *Func, unsigned NbMaxRays) |
Polyhedron * | DomainPreimage (Polyhedron *Pol, Matrix *Func, unsigned NbMaxRays) |
Polyhedron * | Polyhedron_Image (Polyhedron *Pol, Matrix *Func, unsigned NbMaxConstrs) |
Polyhedron * | DomainImage (Polyhedron *Pol, Matrix *Func, unsigned NbMaxConstrs) |
Interval * | DomainCost (Polyhedron *Pol, Value *Cost) |
Polyhedron * | DomainAddConstraints (Polyhedron *Pol, Matrix *Mat, unsigned NbMaxRays) |
Polyhedron * | Disjoint_Domain (Polyhedron *P, int flag, unsigned NbMaxRays) |
void | Polyhedron_PrintConstraints (FILE *Dst, char *Format, Polyhedron *Pol) |
Variables | |
int | Pol_status |
|
Value: {\ char *t = (char *)malloc(l*sizeof(char));\ memcpy((t), (char *)(a), (int)(l));\ memcpy((char *)(a), (char *)(b), (int)(l));\ memcpy((char *)(b), (t), (int)(l));\ free(t); \ } Definition at line 54 of file polyhedron.c. Referenced by RaySort(), and Remove_Redundants(). |
|
Definition at line 63 of file polyhedron.c. Referenced by Remove_Redundants(). |
|
Definition at line 182 of file polyhedron.c. Referenced by Chernikova(). |
|
Definition at line 188 of file polyhedron.c. Referenced by BuildSat(), Constraints2Polyhedron(), DomainSimplify(), FindSimple(), Rays2Polyhedron(), Stras_DomainSimplify(), and TransformSat(). |
|
Definition at line 52 of file polyhedron.c. Referenced by addToFilter(), and Chernikova(). |
|
Definition at line 2278 of file polyhedron.c. References any_exception_error, BuildSat(), CATCH, Chernikova(), polyhedron::Constraint, polyhedron::Dimension, errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), polyhedron::NbBid, polyhedron::NbConstraints, polyhedron::NbRays, matrix::NbRows, matrix::p, Pol_status, Polyhedron, Polyhedron_Copy(), Polyhedron_Free(), polyhedron::Ray, Remove_Redundants(), RETHROW, SMFree(), TRY, UNCATCH, Value, and Vector_Copy(). |
|
Definition at line 2394 of file polyhedron.c. References emptyQ, polyhedron::next, Polyhedron, Polyhedron_Free(), and PolyhedronIncludes(). |
|
Definition at line 2608 of file polyhedron.c. References any_exception_error, BuildSat(), CATCH, Chernikova(), polyhedron::Constraint, polyhedron::Dimension, errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), polyhedron::NbConstraints, polyhedron::NbEq, polyhedron::NbRays, matrix::NbRows, matrix::p_Init, Pol_status, Polyhedron, Polyhedron_Free(), polyhedron::Ray, Remove_Redundants(), RETHROW, SMFree(), TransformSat(), TRY, UNCATCH, Value, and Vector_Copy(). |
|
Definition at line 2797 of file polyhedron.c. References MSB, NEXT, SatMatrix::p, Value, value_decrement, value_posz_p, value_set_si, and WSIZE. Referenced by FindSimple(). |
|
Definition at line 3588 of file polyhedron.c. References any_exception_error, CATCH, polyhedron::Constraint, Constraints2Polyhedron(), polyhedron::Dimension, errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), polyhedron::NbConstraints, polyhedron::next, matrix::p, Polyhedron, Polyhedron_Copy(), Polyhedron_Free(), RETHROW, TRY, UNCATCH, value_assign, and Vector_Set(). |
|
Definition at line 2216 of file polyhedron.c. References any_exception_error, CATCH, Matrix, MSB, matrix::NbColumns, SatMatrix::NbRows, matrix::NbRows, NEXT, SatMatrix::p, matrix::p, SatMatrix::p_init, RETHROW, SMAlloc(), SMFree(), SMVector_Init, TRY, UNCATCH, Value, value_addto, value_clear, value_init, value_multiply, value_notzero_p, and value_set_si. Referenced by AddConstraints(), AddRays(), SimplifyConstraints(), and SubConstraint(). |
|
Definition at line 394 of file polyhedron.c. References any_exception_error, CATCH, Combine(), errormsg1(), Matrix, Matrix_Extend(), Matrix_Print(), MSB, SatMatrix::NbColumns, matrix::NbColumns, SatMatrix::NbRows, matrix::NbRows, NEXT, SatMatrix::p, matrix::p, P_VALUE_FMT, RaySort(), RETHROW, SatMatrix_Extend(), SatVector_OR(), SMPrint(), SMVector_Copy, TRY, UNCATCH, Value, value_addto, value_clear, value_init, value_multiply, value_neg_p, value_notzero_p, value_oppose, value_print, value_zero_p, Vector_Copy(), Vector_Exchange(), and WSIZE. Referenced by AddConstraints(), AddRays(), Constraints2Polyhedron(), Rays2Polyhedron(), SimplifyConstraints(), and SubConstraint(). |
|
Definition at line 201 of file polyhedron.c. References Gcd(), Value, value_absolute, value_assign, value_clear, value_division, value_init, value_oppose, Vector_Combine(), and Vector_Normalize(). Referenced by Chernikova(), and Gauss4(). |
|
Given a matrix of constraints ('Constraints'), construct and return a polyhedron.
Definition at line 1978 of file polyhedron.c. References any_exception_error, CATCH, Chernikova(), errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), Matrix_Print(), matrix::NbColumns, SatMatrix::NbRows, matrix::NbRows, matrix::p, SatMatrix::p_init, matrix::p_Init, Polyhedron, Polyhedron_Free(), Polyhedron_Print(), Remove_Redundants(), RETHROW, SMAlloc(), SMFree(), SMPrint(), SMVector_Init, TRY, UNCATCH, Universe_Polyhedron(), value_set_si, and Vector_Set(). |
|
Definition at line 4299 of file polyhedron.c. References AddConstraints(), AddPolyToDomain(), polyhedron::Constraint, Domain_Free(), emptyQ, errormsg1(), polyhedron::NbConstraints, polyhedron::next, Polyhedron, Polyhedron_Copy(), Polyhedron_Free(), SubConstraint(), and value_zero_p. |
|
Definition at line 2759 of file polyhedron.c. References Domain_Copy(), polyhedron::next, Polyhedron, and Polyhedron_Copy(). |
|
Definition at line 1806 of file polyhedron.c. References polyhedron::next, Polyhedron, and Polyhedron_Free(). |
|
Definition at line 4246 of file polyhedron.c. References AddConstraints(), polyhedron::Dimension, errormsg1(), Matrix, matrix::NbColumns, matrix::NbRows, polyhedron::next, matrix::p_Init, Polyhedron, and PolyhedronIncludes(). |
|
Definition at line 2690 of file polyhedron.c. References AddRays(), polyhedron::Dimension, errormsg1(), Matrix, matrix::NbColumns, matrix::NbRows, polyhedron::next, matrix::p, Polyhedron, and PolyhedronIncludes(). |
|
Definition at line 3503 of file polyhedron.c. References AddRays(), any_exception_error, CATCH, polyhedron::NbRays, polyhedron::next, Polyhedron, Polyhedron_Copy(), Polyhedron_Free(), polyhedron::Ray, RETHROW, TRY, and UNCATCH. |
|
Definition at line 4121 of file polyhedron.c. References any_exception_error, CATCH, polyhedron::Dimension, errormsg1(), Interval, interval::MaxD, interval::MaxI, interval::MaxN, interval::MinD, interval::MinI, interval::MinN, polyhedron::NbRays, Polyhedron, polyhedron::Ray, RETHROW, TRY, UNCATCH, Value, value_addto, value_assign, value_clear, value_eq, value_gt, value_init, value_lt, value_multiply, value_ne, value_oppose, value_set_si, and value_zero_p. |
|
Definition at line 3535 of file polyhedron.c. References AddPolyToDomain(), polyhedron::Constraint, polyhedron::Dimension, Domain_Copy(), Domain_Free(), Empty_Polyhedron(), emptyQ, errormsg1(), polyhedron::NbConstraints, polyhedron::next, Polyhedron, SubConstraint(), and value_notzero_p. |
|
Definition at line 4085 of file polyhedron.c. References AddPolyToDomain(), any_exception_error, CATCH, Matrix, polyhedron::next, Polyhedron, Polyhedron_Free(), Polyhedron_Image(), RETHROW, TRY, and UNCATCH. |
|
Definition at line 2556 of file polyhedron.c. References AddConstraints(), AddPolyToDomain(), polyhedron::Constraint, polyhedron::Dimension, Empty_Polyhedron(), errormsg1(), polyhedron::NbConstraints, polyhedron::next, and Polyhedron. |
|
Definition at line 3961 of file polyhedron.c. References AddPolyToDomain(), any_exception_error, CATCH, Matrix, polyhedron::next, Polyhedron, Polyhedron_Free(), Polyhedron_Preimage(), RETHROW, TRY, and UNCATCH. |
|
Definition at line 3197 of file polyhedron.c. References AddPolyToDomain(), polyhedron::Constraint, Constraints2Polyhedron(), polyhedron::Dimension, Empty_Polyhedron(), emptyQ, errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), MSB, polyhedron::NbConstraints, matrix::NbRows, NEXT, polyhedron::next, matrix::p, Pol_status, Polyhedron, SimplifyConstraints(), SimplifyEqualities(), SMVector_Init, and Vector_Copy(). |
|
Definition at line 3422 of file polyhedron.c. References polyhedron::Dimension, errormsg1(), polyhedron::next, Polyhedron, Polyhedron_Copy(), and PolyhedronIncludes(). |
|
Definition at line 1905 of file polyhedron.c. References polyhedron::Constraint, errormsg1(), polyhedron::NbBid, polyhedron::NbEq, Polyhedron, Polyhedron_Alloc(), value_set_si, and Vector_Set(). |
|
Definition at line 28 of file errormsg.c. References Pol_status. |
|
Definition at line 2838 of file polyhedron.c. References AddConstraints(), addToFilter(), any_exception_error, CATCH, polyhedron::Constraint, polyhedron::Dimension, emptyQ, errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), MSB, polyhedron::NbConstraints, SatMatrix::NbRows, matrix::NbRows, NEXT, SatMatrix::p, matrix::p, SatMatrix::p_init, matrix::p_Init, Polyhedron, Polyhedron_Copy(), Polyhedron_Free(), RETHROW, SMAlloc(), SMFree(), SMVector_Init, TRY, UNCATCH, Value, value_add_int, value_addto, value_assign, value_clear, value_decrement, value_eq, value_gt, value_increment, value_init, value_multiply, value_notzero_p, value_pos_p, value_posz_p, value_set_si, value_zero_p, Vector_Copy(), and Vector_Set(). Referenced by SimplifyConstraints(). |
|
Definition at line 856 of file polyhedron.c. References Gauss4(), Matrix, Matrix_Print(), matrix::NbRows, and matrix::p. |
|
Definition at line 746 of file polyhedron.c. References any_exception_error, CATCH, Combine(), errormsg1(), RETHROW, TRY, UNCATCH, Value, value_clear, value_division, value_ge, value_init, value_multiply, value_neg_p, value_notzero_p, value_set_si, Vector_Exchange(), and Vector_Gcd(). Referenced by Gauss(), and Polyhedron_Image(). |
|
Definition at line 3715 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, Inner_Product(), LB_INFINITY, polyhedron::NbConstraints, Polyhedron, UB_INFINITY, Value, value_add_int, value_assign, value_clear, value_division, value_gt, value_init, value_lt, value_modulus, value_neg_p, value_notzero_p, value_oppose, value_pos_p, value_set_si, value_sub_int, and value_zero_p. |
|
Definition at line 354 of file polyhedron.c. References errormsg1(), Matrix, matrix::NbColumns, matrix::NbRows, matrix::p, matrix::p_Init, matrix::p_Init_size, Value, and value_init. Referenced by Chernikova(). |
|
Definition at line 2077 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, errormsg1(), Matrix, Matrix_Alloc(), polyhedron::NbConstraints, matrix::p_Init, Polyhedron, and Vector_Copy(). |
|
Definition at line 2588 of file polyhedron.c. References polyhedron::Dimension, errormsg1(), Matrix, Matrix_Alloc(), polyhedron::NbRays, matrix::p_Init, Polyhedron, polyhedron::Ray, and Vector_Copy(). |
|
Definition at line 1737 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, errormsg1(), polyhedron::NbBid, polyhedron::NbConstraints, polyhedron::NbEq, polyhedron::NbRays, polyhedron::next, polyhedron::p_Init, polyhedron::p_Init_size, Polyhedron, polyhedron::Ray, Value, and value_init. |
|
Definition at line 2733 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, errormsg1(), polyhedron::NbBid, polyhedron::NbConstraints, polyhedron::NbEq, polyhedron::NbRays, Polyhedron, Polyhedron_Alloc(), polyhedron::Ray, and Vector_Copy(). |
|
Definition at line 1786 of file polyhedron.c. References polyhedron::Constraint, polyhedron::p_Init, polyhedron::p_Init_size, Polyhedron, Value, and value_clear. |
|
|
Definition at line 3904 of file polyhedron.c. References any_exception_error, CATCH, polyhedron::Constraint, Constraints2Polyhedron(), polyhedron::Dimension, Empty_Polyhedron(), errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), matrix::NbColumns, polyhedron::NbConstraints, matrix::NbRows, matrix::p, Pol_status, Polyhedron, Polyhedron_Free(), Rays_Mult(), RETHROW, TRY, and UNCATCH. |
|
Definition at line 1820 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, polyhedron::NbBid, polyhedron::NbConstraints, polyhedron::NbEq, polyhedron::NbRays, polyhedron::next, Polyhedron, Polyhedron_Print(), polyhedron::Ray, Value, VALUE_FMT, value_notzero_p, and value_print. |
|
Definition at line 4521 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, polyhedron::NbConstraints, Polyhedron, and value_print. |
|
Definition at line 3660 of file polyhedron.c. References align_context(), polyhedron::Dimension, Domain_Free(), DomainAddRays(), DomainIntersection(), DomainSimplify(), errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), matrix::NbRows, polyhedron::next, matrix::p, matrix::p_Init, Polyhedron, value_set_si, and Vector_Set(). |
|
Definition at line 2354 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, polyhedron::NbConstraints, polyhedron::NbRays, Polyhedron, polyhedron::Ray, Value, value_addto, value_clear, value_init, value_multiply, value_neg_p, value_notzero_p, value_set_si, and value_zero_p. |
|
Definition at line 1894 of file polyhedron.c. References Polyhedron, and Polyhedron_Print(). |
|
Given a matrix of rays 'Ray', create and return a polyhedron.
Definition at line 2102 of file polyhedron.c. References any_exception_error, CATCH, Chernikova(), Empty_Polyhedron(), errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), Matrix_Print(), matrix::NbColumns, SatMatrix::NbRows, matrix::NbRows, SatMatrix::p, matrix::p, matrix::p_Init, Polyhedron, Polyhedron_Free(), Polyhedron_Print(), Remove_Redundants(), RETHROW, SMAlloc(), SMFree(), SMPrint(), SMVector_Init, TransformSat(), TRY, UNCATCH, value_set_si, and Vector_Set(). |
|
Definition at line 3820 of file polyhedron.c. References any_exception_error, CATCH, Matrix, matrix::NbColumns, matrix::NbRows, matrix::p, RETHROW, TRY, UNCATCH, Value, value_addto, value_assign, value_clear, value_init, value_multiply, value_notone_p, value_set_si, Vector_AntiScale(), and Vector_Gcd(). Referenced by Polyhedron_Image(), and Polyhedron_Preimage(). |
|
Definition at line 3860 of file polyhedron.c. References any_exception_error, CATCH, Matrix, matrix::NbColumns, matrix::NbRows, matrix::p, RETHROW, TRY, UNCATCH, Value, value_addto, value_assign, value_clear, value_init, value_multiply, value_notone_p, value_set_si, Vector_AntiScale(), and Vector_Gcd(). Referenced by Polyhedron_Image(). |
|
Definition at line 288 of file polyhedron.c. References bexchange, Matrix, SatMatrix::p, matrix::p, Value, value_neg_p, value_zero_p, and Vector_Exchange(). Referenced by Chernikova(). |
|
Definition at line 886 of file polyhedron.c. References any_exception_error, bexchange, CATCH, polyhedron::Constraint, Empty_Polyhedron(), errormsg1(), exchange, Gauss(), Matrix, Matrix_Print(), MSB, polyhedron::NbBid, SatMatrix::NbColumns, matrix::NbColumns, polyhedron::NbConstraints, polyhedron::NbEq, polyhedron::NbRays, matrix::NbRows, NEXT, SatMatrix::p, matrix::p, Polyhedron, Polyhedron_Alloc(), Polyhedron_Free(), polyhedron::Ray, RETHROW, TRY, UNCATCH, Value, value_assign, value_clear, value_eq, value_increment, value_init, value_lt, value_ne, value_notzero_p, value_one_p, value_set_si, value_zero_p, Vector_Copy(), Vector_Exchange(), and Vector_Set(). Referenced by AddConstraints(), AddRays(), Constraints2Polyhedron(), Rays2Polyhedron(), SimplifyConstraints(), and SubConstraint(). |
|
Definition at line 333 of file polyhedron.c. References errormsg1(), Matrix, SatMatrix::NbRows, matrix::NbRows, SatMatrix::p, and SatMatrix::p_init. Referenced by Chernikova(). |
|
Definition at line 163 of file polyhedron.c. Referenced by Chernikova(). |
|
Definition at line 3061 of file polyhedron.c. References any_exception_error, BuildSat(), CATCH, Chernikova(), polyhedron::Constraint, polyhedron::Dimension, emptyQ, errormsg1(), FindSimple(), Matrix, Matrix_Alloc(), Matrix_Free(), polyhedron::NbBid, polyhedron::NbConstraints, polyhedron::NbRays, matrix::NbRows, matrix::p_Init, Pol_status, Polyhedron, Polyhedron_Free(), polyhedron::Ray, Remove_Redundants(), RETHROW, SMFree(), TRY, UNCATCH, and Vector_Copy(). Referenced by DomainSimplify(), and Stras_DomainSimplify(). |
|
Definition at line 3144 of file polyhedron.c. References polyhedron::Constraint, polyhedron::Dimension, errormsg1(), Gauss(), Matrix, Matrix_Alloc(), Matrix_Free(), MSB, polyhedron::NbEq, NEXT, matrix::p, matrix::p_Init, Pol_status, Polyhedron, value_notzero_p, and Vector_Copy(). Referenced by DomainSimplify(). |
|
Definition at line 92 of file polyhedron.c. References errormsg1(), SatMatrix::NbColumns, SatMatrix::NbRows, SatMatrix::p, and SatMatrix::p_init. |
|
Definition at line 128 of file polyhedron.c. References SatMatrix::p, and SatMatrix::p_init. |
|
Definition at line 145 of file polyhedron.c. References SatMatrix::NbColumns, SatMatrix::NbRows, and SatMatrix::p. |
|
Definition at line 3303 of file polyhedron.c. References AddPolyToDomain(), any_exception_error, CATCH, polyhedron::Constraint, Constraints2Polyhedron(), polyhedron::Dimension, Empty_Polyhedron(), emptyQ, errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), MSB, polyhedron::NbConstraints, matrix::NbRows, NEXT, polyhedron::next, matrix::p, Polyhedron, Polyhedron_Free(), RETHROW, SimplifyConstraints(), SMVector_Init, TRY, UNCATCH, and Vector_Copy(). |
|
Definition at line 2464 of file polyhedron.c. References any_exception_error, BuildSat(), CATCH, Chernikova(), polyhedron::Constraint, polyhedron::Dimension, errormsg1(), Matrix, Matrix_Alloc(), Matrix_Free(), polyhedron::NbBid, polyhedron::NbConstraints, polyhedron::NbRays, matrix::NbRows, matrix::p, Pol_status, Polyhedron, Polyhedron_Free(), polyhedron::Ray, Remove_Redundants(), RETHROW, SMFree(), TRY, UNCATCH, Value, value_assign, value_decrement, value_notzero_p, value_oppose, value_set_si, and Vector_Copy(). |
|
Definition at line 249 of file polyhedron.c. References Matrix, MSB, matrix::NbRows, NEXT, SatMatrix::p, SatMatrix::p_init, SMAlloc(), and SMVector_Init. Referenced by AddRays(), and Rays2Polyhedron(). |
|
Definition at line 1936 of file polyhedron.c. References polyhedron::Constraint, errormsg1(), polyhedron::NbBid, polyhedron::NbEq, Polyhedron, Polyhedron_Alloc(), polyhedron::Ray, value_set_si, and Vector_Set(). |
|
Definition at line 72 of file polyhedron.c. |