isl_val_is_pos: use isl_bool_ok
[isl.git] / isl_sample.h
blob1357946b7da94d3ddfbb600cb869dd7846688668
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #ifndef ISL_SAMPLE_H
11 #define ISL_SAMPLE_H
13 #include <isl/set.h>
14 #include <isl_tab.h>
16 #if defined(__cplusplus)
17 extern "C" {
18 #endif
20 __isl_give isl_vec *isl_basic_set_sample_vec(__isl_take isl_basic_set *bset);
21 __isl_give isl_vec *isl_basic_set_sample_bounded(
22 __isl_take isl_basic_set *bset);
23 __isl_give isl_vec *isl_basic_set_sample_with_cone(
24 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *cone);
26 __isl_give isl_basic_set *isl_basic_set_from_vec(__isl_take isl_vec *vec);
28 int isl_tab_set_initial_basis_with_cone(struct isl_tab *tab,
29 struct isl_tab *tab_cone);
30 struct isl_vec *isl_tab_sample(struct isl_tab *tab);
32 #if defined(__cplusplus)
34 #endif
36 #endif