Main Page   Compound List   File List   Compound Members   File Members  

testehrhart.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <polylib/polylib.h>

Go to the source code of this file.

Defines

#define EPRINT_ALL_VALIDITY_CONSTRAINTS
 define this to print all constraints on the validity domains if not defined, only new constraints (not in validity domain given by the user) are printed

#define REDUCE_DEGREE
 Reduce the degree of resulting polynomials.

#define ALL_OVERFLOW_WARNINGS
 define this to print one warning message per domain overflow these overflows should no longer happen since version 4.20


Functions

int main ()
 EPRINT : print results while computing the ehrhart polynomial.


Define Documentation

#define ALL_OVERFLOW_WARNINGS
 

define this to print one warning message per domain overflow these overflows should no longer happen since version 4.20

Definition at line 78 of file testehrhart.c.

#define EPRINT_ALL_VALIDITY_CONSTRAINTS
 

define this to print all constraints on the validity domains if not defined, only new constraints (not in validity domain given by the user) are printed

Definition at line 27 of file testehrhart.c.

#define REDUCE_DEGREE
 

Reduce the degree of resulting polynomials.

Definition at line 70 of file testehrhart.c.


Function Documentation

int main  
 

EPRINT : print results while computing the ehrhart polynomial.

this is done by default if you build the executable ehrhart. (If EMAIN is defined). Don't define EMAIN here, it is defined when necessary in the makefile.

Notice: you may however define EPRINT without defining EMAIN, but in this case, you have to initialize the global variable param_name by calling Read_ParamNames before any call to ehrhart. This is NOT recommanded, unless you know what you do. EPRINT causes more debug messages to be printed.

Definition at line 98 of file testehrhart.c.

References compute_poly(), Constraints2Polyhedron(), polyhedron::Dimension, Enumeration_Free(), FOREVER, Matrix_Free(), Matrix_Read(), matrix::NbColumns, Polyhedron_Enumerate(), Polyhedron_Free(), Read_ParamNames(), value_init, value_print, and value_read.


Generated on Mon Mar 15 10:59:52 2004 for polylib by doxygen1.2.18