isl_tab_pip.c: move common parts of isl_*_free functions to isl_sol_free
[isl.git] / isl_sample.h
blob57898b25ce0988db4e665b8250225ae6a4b364d8
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 struct isl_vec *isl_basic_set_sample_bounded(struct isl_basic_set *bset);
22 __isl_give isl_vec *isl_basic_set_sample_with_cone(
23 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *cone);
25 __isl_give isl_basic_set *isl_basic_set_from_vec(__isl_take isl_vec *vec);
27 int isl_tab_set_initial_basis_with_cone(struct isl_tab *tab,
28 struct isl_tab *tab_cone);
29 struct isl_vec *isl_tab_sample(struct isl_tab *tab);
31 #if defined(__cplusplus)
33 #endif
35 #endif