Debian Codegraph @

/

debian barvinok 0.41.9+ds-3debian barvinok debian libbarvinok23 debian libbarvinok-dev shell shell-project 0.0.0 ccppdebianinimakemakefilepythonshellyaml 183 files · 1304 symbols
View dependency graph

Depends on

README (full)
barvinok is a library for counting the number of integer points
in parametric and non-parametric polytopes as well as projections
of such sets.
For parametric polytopes the count is represented by either
an explicit function or a generating function.
The first comes in the shape of a piece-wise step-polynomial.
This is a generalization of both Ehrhart quasi-polynomials
and vector partition functions.
The second is a generalization of an Ehrhart series.

This library shares some functionality with LattE
(http://www.math.ucdavis.edu/~latte/)
and uses PolyLib (included), NTL (http://shoup.net/ntl/).
If you have cloned the git repository, you need to run
	./get_submodules.sh
	sh autogen.sh
to get the submodules and create the configure scripts.

Additionally, the following packages can optionally be used
- GLPK (http://www.gnu.org/software/glpk/)

NTL needs to have been compiled with GMP support.
That is, you have to specify
    NTL_GMP_LIP=on
NTL also needs to have been compiled in ISO mode.
For versions older than 5.4, this means you need an additional
    NTL_STD_CXX=on

Suppose you want to install everything in /opt,
Then you configure/compile NTL using

cd src
./configure NTL_GMP_LIP=on PREFIX=/opt GMP_PREFIX=/path/to/gmp
make
make install

Configure this library using

./configure --prefix=/opt --with-gmp-prefix=/path/to/gmp --with-ntl-prefix=/opt

If you want shared libraries, then configure with the
--enable-shared-barvinok option.
Note that this requires NTL to have been built as a shared library as well
(using "SHARED=on" on its configure line).
Also note that if you have previously installed a shared library of an older
version of barvinok, and you do not install one for this version, then the
linker may pick up the old shared library rather than the new static library.

By default, barvinok will use the included copy of isl.
If you want it to use a pre-installed version of isl instead, then
configure with the --with-isl=system option.  Use the --with-isl-prefix
option to specify the installation prefix of isl, if needed.

If you want to compile and use the included pet library, then
you need the following packages:
- libyaml (http://pyyaml.org/wiki/LibYAML)
- LLVM/clang (http://clang.llvm.org/get_started.html)
Additionally, you need to configure with the --with-pet=bundled option.
See pet/README for more information.

Then

make
make check
make install

If you want to put any one of these packages in the default location
(typically /usr/local), then the prefix argument can be omitted.
For more information on other arguments,

./configure --help

The input format of barvinok_enumerate is the same as that
of testehrhart from the PolyLib distribution.
See the PolyLib manual, barvinok_enumerate.c or the
examples in tests/ehrhart/ .

Note that the fractional representation is subject to change.

The library supports three specialization algorithms.
The first performs a direct specialization using a random vector.
The second performs a "depth-first" incremental specialization.
The third performs a "breadth-first" incremental specialization.

The first is usually the fastest, but can fail if the random
vector happens to be chosen incorrectly.
The incremental algorithms should never fail, but can be slower,
in some cases by quite a bit.  The breadth-first version should
be faster than the depth-first version, especially on polytopes
of moderate dimension with a lot of "structure", but can require
more memory.

Building the Python interface requires barvinok to be configured with
LLVM/clang libraries (--with-clang=system; see pet/README for detailed
requirements) and an isl build directory. The isl build directory is
defined implicitly when using the included copy of isl
(--with-isl=bundled) and only needs to be specified explicitly when
using an external copy of isl (--with-isl-builddir=DIR, where DIR is
the location of the isl build directory). Using the Python interface
further requires shared barvinok libraries (--enable-shared-barvinok).

For bug reports, feature requests and questions,
contact http://groups.google.com/group/isl-development

Whenever you report a bug, please mention the exact version of barvinok
that you are using (output of "./iscc --version").  If you are unable
to compile barvinok, then report the git version (output of "git describe")
or the version included in the name of the tarball.
dir barvinok/
dir debian/
dir doc/
dir interface/
dir m4/
dir polymake/
dir tests/
file 4coins.cc
file AUTHORS
file ChangeLog
file GIT_HEAD_ID
file LICENSE
file Makefile.am
file Makefile.in
file NTL_QQ.cc
file README
file aclocal.m4
file barvinok.cc
file barvinok_count.c
file barvinok_e.cc
file barvinok_ehrhart.cc
file barvinok_ehrhart_options.c
file barvinok_ehrhart_options.h
file barvinok_enumerate.cc
file barvinok_enumerate_e.cc
file barvinok_enumerate_e_options.c
file barvinok_enumerate_e_options.h
file barvinok_enumerate_options.c
file barvinok_enumerate_options.h
file barvinok_summate.c
file barvinok_union.cc
file barvinok_union_options.c
file barvinok_union_options.h
file basis_reduction.c
file basis_reduction_cdd.cc
file basis_reduction_glpk.c
file basis_reduction_templ.c
file bernoulli.c
file bernoulli.h
file bfcounter.cc
file bfcounter.h
file binomial.c
file binomial.h
file bound.c
file check_approx.sh.in
file check_enumerate.sh.in
file check_enumerate_e.sh.in
file check_euler.sh.in
file check_iscc.sh.in
file check_lexmin.sh.in
file check_pwqp.sh.in
file check_test.sh.in
file check_union.sh.in
file compile
file cone_hilbert_basis.c
file cone_integer_hull.c
file config.guess
file config.h.in
file config.sub
file config_post.h
file configure
file configure.ac
file conversion.cc
file conversion.h
file counter.cc
file counter.h
file decomposer.cc
file decomposer.h
file depcomp
file dpoly.cc
file dpoly.h
file edomain.cc
file edomain.h
file euler.cc
file euler.h
file evalue.c
file evalue_convert.cc
file evalue_convert.h
file evalue_convert_options.c
file evalue_isl.c
file evalue_read.c
file evalue_read.h
file evalue_util.cc
file evalue_util.h
file fdstream.cc
file fdstream.h
file genfun.cc
file genfun_constructor.cc
file genfun_constructor.h
file hilbert.cc
file hilbert.h
file hull.c
file hull.h
file ilp.c
file ilp.h
file initcdd.cc
file initcdd.h
file install-sh
file iscc.c
file isl.py
file isl_aff_polylib.c
file isl_aff_polylib.h
file isl_map_polylib.c
file isl_map_polylib.h
file isl_obj_list.c
file isl_obj_list.h
file isl_obj_str.c
file isl_obj_str.h
file isl_param_util.c
file isl_param_util.h
file isl_set_polylib.h
file latte2polylib.pl
file lattice_point.cc
file lattice_point.h
file lattice_width.c
file lattice_width.h
file laurent.cc
file laurent.h
file laurent_old.cc
file laurent_old.h
file lexmin.cc
file lexmin.h
file lexmin_options.c
file ltmain.sh
file mat_util.cc
file mat_util.h
file matrix_read.cc
file matrix_read.h
file missing
file mpz_divisible_p.c
file normalization.c
file normalization.h
file options.c
file param_polynomial.cc
file param_polynomial.h
file param_util.c
file param_util.h
file polyhedron_integer_hull.c
file polysign.c
file polysign.h
file polysign_cdd.cc
file polysign_cdd_template.cc
file polysign_cddf.cc
file polysign_glpk.c
file polysign_isl.c
file polysign_polylib.c
file polytope_volume.c
file power.h
file randomtest.c
file reduce_domain.c
file reduce_domain.h
file reducer.cc
file reducer.h
file remove_equalities.c
file remove_equalities.h
file sample.c
file scale.c
file scale.h
file scarf.cc
file section_array.h
file semigroup_holes.cc
file series.cc
file skewed_genfun.cc
file skewed_genfun.h
file summate.c
file summate.h
file test-driver
file test.c
file test_approx.c
file test_bound.c
file testlib.cc
file topcom.c
file topcom.h
file util.c
file vector_partition_chambers.c
file verif_ehrhart.c
file verif_ehrhart.h
file verify.c
file verify.h
file verify_series.cc
file verify_series.h
file version.c
file vertex_cone.cc
file vertex_cone.h
file volume.c
file volume.h