PPL Configured Java Language Interface  1.2
Pointset_Powerset_Int64_Box.java
Go to the documentation of this file.
1 /* PPL Java interface: Pointset_Powerset_Int64_Box definition.
2  Copyright (C) 2001-2010 Roberto Bagnara <bagnara@cs.unipr.it>
3  Copyright (C) 2010-2016 BUGSENG srl (http://bugseng.com)
4 
5 This file is part of the Parma Polyhedra Library (PPL).
6 
7 The PPL is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 The PPL is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software Foundation,
19 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
20 
21 For the most up-to-date information see the Parma Polyhedra Library
22 site: http://bugseng.com/products/ppl/ . */
23 
24 package parma_polyhedra_library;
25 
31  protected native void finalize();
32 
33 
34 
35 
36 
37  public Pointset_Powerset_Int64_Box(long num_dimensions,
38  Degenerate_Element kind) {
39  build_cpp_object(num_dimensions, kind);
40  }
41 
43  }
44 
45 
46 
47 
48 
51  }
52 
55  }
56 
57 
58 
59 
60 
61 
63  build_cpp_object(y, complexity);
64  }
65 
67  build_cpp_object(y, complexity);
68  }
69 
70 
71 
72 
73 
74 
76  build_cpp_object(cs);
77  }
78 
80  build_cpp_object(cs);
81  }
82 
83 
84 
85 
86 
87 
88  public native void swap(Pointset_Powerset_Int64_Box y);
89 
90 
91 
92 
93  public native long space_dimension();
94 
95  public native long affine_dimension();
96 
97 
98 
99 
100 
101  public native Poly_Con_Relation relation_with(Constraint c);
102 
103  public native Poly_Gen_Relation relation_with(Generator c);
104 
105  public native Poly_Con_Relation relation_with(Congruence c);
106 
107 
108 
109 
110 
111  public native boolean is_empty();
112 
113  public native boolean is_universe();
114 
115  public native boolean is_bounded();
116 
117  public native boolean contains_integer_point();
118 
119  public native boolean is_topologically_closed();
120 
121  public native boolean is_discrete();
122 
123 
124 
125 
126 
127  public native void topological_closure_assign();
128 
129  public native void pairwise_reduce();
130 
131  public native void omega_reduce();
132 
133 
134 
135 
136 
137  public native boolean bounds_from_above(Linear_Expression expr);
138 
139  public native boolean bounds_from_below(Linear_Expression expr);
140 
141 
142 
143 
144 
145  public native boolean maximize(Linear_Expression expr,
146  Coefficient sup_n, Coefficient sup_d,
147  By_Reference<Boolean> maximum);
148 
149  public native boolean minimize(Linear_Expression expr,
150  Coefficient sup_n, Coefficient sup_d,
151  By_Reference<Boolean> maximum);
152 
153 
154 
155 
156 
157  public native boolean maximize(Linear_Expression expr,
158  Coefficient sup_n, Coefficient sup_d,
159  By_Reference<Boolean> maximum,
160  Generator point);
161 
162  public native boolean minimize(Linear_Expression expr,
163  Coefficient sup_n, Coefficient sup_d,
164  By_Reference<Boolean> maximum,
165  Generator point);
166 
167 
168 
169 
170 
171  public native boolean contains(Pointset_Powerset_Int64_Box y);
172 
173  public native boolean strictly_contains(Pointset_Powerset_Int64_Box y);
174 
175  public native boolean is_disjoint_from(Pointset_Powerset_Int64_Box y);
176 
177  public native boolean geometrically_covers(Pointset_Powerset_Int64_Box y);
178 
179  public native boolean geometrically_equals(Pointset_Powerset_Int64_Box y);
180 
181 
182 
183 
184 
185  public native boolean equals(Pointset_Powerset_Int64_Box p);
186 
187  public boolean equals(Object y) {
188  if (this == y)
189  return true;
190  if (y == null || y.getClass() != this.getClass())
191  return false;
192  return this.equals((Pointset_Powerset_Int64_Box) y);
193  }
194 
195 
196 
197  public native boolean OK();
198 
199 
200 
201 
202  public native void add_constraint(Constraint c);
203 
204  public native void add_congruence(Congruence c);
205 
206 
207 
208 
209 
210  public native void add_constraints(Constraint_System c);
211 
212  public native void add_congruences(Congruence_System c);
213 
214 
215 
216 
217 
218  public native void refine_with_constraint(Constraint c);
219 
220  public native void refine_with_congruence(Congruence c);
221 
222 
223 
224 
225 
226  public native void refine_with_constraints(Constraint_System c);
227 
228  public native void refine_with_congruences(Congruence_System c);
229 
230 
231 
232 
233 
234  public native void intersection_assign(Pointset_Powerset_Int64_Box p);
235 
236  public native void upper_bound_assign(Pointset_Powerset_Int64_Box p);
237 
238  public native void difference_assign(Pointset_Powerset_Int64_Box p);
239 
240  public native void concatenate_assign(Pointset_Powerset_Int64_Box p);
241 
242  public native void time_elapse_assign(Pointset_Powerset_Int64_Box p);
243 
244 
245 
246 
247 
249 
250 
251 
252 
253 
254 
256 
257 
258 
259 
260  public native boolean constrains(Variable var);
261 
262 
263 
264 
265  public native void unconstrain_space_dimension(Variable var);
266 
267 
268 
269 
270  public native void
272 
273 
274 
275 
276  public native void affine_image(Variable var, Linear_Expression expr,
277  Coefficient denominator);
278 
279  public native void affine_preimage(Variable var, Linear_Expression expr,
280  Coefficient denominator);
281 
282 
283 
284 
285 
286  public native void bounded_affine_image(Variable var,
287  Linear_Expression lb_expr,
288  Linear_Expression ub_expr,
289  Coefficient denominator);
290 
291  public native void bounded_affine_preimage(Variable var,
292  Linear_Expression lb_expr,
293  Linear_Expression ub_expr,
294  Coefficient denominator);
295 
296 
297 
298 
299 
300  public native void generalized_affine_image(Variable var,
301  Relation_Symbol relsym,
302  Linear_Expression expr,
303  Coefficient denominator);
304 
305  public native void generalized_affine_preimage(Variable var,
306  Relation_Symbol relsym,
307  Linear_Expression expr,
308  Coefficient denominator);
309 
310 
311 
312 
313 
314  public native void generalized_affine_image(Linear_Expression lhs,
315  Relation_Symbol relsym,
316  Linear_Expression rhs);
317 
318  public native void generalized_affine_preimage(Linear_Expression lhs,
319  Relation_Symbol relsym,
320  Linear_Expression rhs);
321 
322 
323 
324 
325 
326  public native void add_space_dimensions_and_embed(long m);
327 
328  public native void add_space_dimensions_and_project(long m);
329 
330 
331 
332 
333 
334  public native void remove_space_dimensions(Variables_Set vars);
335 
336 
337 
338 
339  public native void remove_higher_space_dimensions(long new_dimension);
340 
341 
342 
343 
344  public native void expand_space_dimension(Variable var, long m);
345 
346 
347 
348 
349  public native void fold_space_dimensions(Variables_Set vars,
350  Variable dest);
351 
352 
353 
354 
355  public native void map_space_dimensions(Partial_Function pfunc);
356 
357 
358 
359 
360  public native void drop_some_non_integer_points
361  (Complexity_Class complexity);
362 
363 
364 
365 
366  public native void drop_some_non_integer_points
367  (Variables_Set vars, Complexity_Class complexity);
368 
369 
370 
371 
372  public native String ascii_dump();
373 
374 
375 
376 
377  public native long external_memory_in_bytes();
378 
379  public native long total_memory_in_bytes();
380 
381  public native long size();
382 
383 
384 
385 
386 
388 
390 
391 
392 
393 
394 
395  public native void add_disjunct(Int64_Box j_disj);
396 
397 
398 
399 
400 
401 
402  public native void drop_disjunct(Pointset_Powerset_Int64_Box_Iterator itr);
403 
404 
405 
406 
409 
410 
411 
412 
413  public native void free();
414 
415 
416 
417 
418 
419  public native int hashCode();
420 
421 
422 
423 
424  public native String toString();
425 
426 
427 
428 
429 
430  private native void build_cpp_object(Constraint_System cs);
431 
432  private native void build_cpp_object(Congruence_System cs);
433 
434 
435 
436 
437 
438  private native void build_cpp_object(long num_dimensions,
439  Degenerate_Element kind);
440 
441 
442 
443 
444  private native void build_cpp_object(Pointset_Powerset_Int64_Box y);
445 
446  private native void build_cpp_object(Pointset_Powerset_Int64_Box y,
447  Complexity_Class complexity);
448 
449  private native void build_cpp_object(Int64_Box y);
450 
451  private native void build_cpp_object(Int64_Box y,
452  Complexity_Class complexity);
453 
454 
455 
456 
457 
458 
459 }
native boolean minimize(Linear_Expression expr, Coefficient sup_n, Coefficient sup_d, By_Reference< Boolean > maximum)
native boolean geometrically_equals(Pointset_Powerset_Int64_Box y)
A java.util.TreeSet of variables' indexes.
native void unconstrain_space_dimensions(Variables_Set vars)
native boolean bounds_from_above(Linear_Expression expr)
native void expand_space_dimension(Variable var, long m)
native void affine_image(Variable var, Linear_Expression expr, Coefficient denominator)
Java class interfacing C++ Parma_Polyhedra_Library::Pointset_Powerset
native boolean geometrically_covers(Pointset_Powerset_Int64_Box y)
Kinds of degenerate abstract elements.
Pointset_Powerset_Int64_Box(Pointset_Powerset_Int64_Box y, Complexity_Class complexity)
native Pointset_Powerset_Int64_Box_Iterator begin_iterator()
An utility class implementing mutable and non-mutable call-by-reference.
native boolean strictly_contains(Pointset_Powerset_Int64_Box y)
native void generalized_affine_image(Variable var, Relation_Symbol relsym, Linear_Expression expr, Coefficient denominator)
native boolean is_disjoint_from(Pointset_Powerset_Int64_Box y)
native void remove_space_dimensions(Variables_Set vars)
native void drop_disjunct(Pointset_Powerset_Int64_Box_Iterator itr)
native Pointset_Powerset_Int64_Box_Iterator end_iterator()
native boolean maximize(Linear_Expression expr, Coefficient sup_n, Coefficient sup_d, By_Reference< Boolean > maximum)
native boolean contains(Pointset_Powerset_Int64_Box y)
native void swap(Pointset_Powerset_Int64_Box y)
A line, ray, point or closure point.
Definition: Generator.java:36
native void fold_space_dimensions(Variables_Set vars, Variable dest)
native void bounded_affine_image(Variable var, Linear_Expression lb_expr, Linear_Expression ub_expr, Coefficient denominator)
native void remove_higher_space_dimensions(long new_dimension)
A dimension of the vector space.
Definition: Variable.java:38
native void generalized_affine_preimage(Variable var, Relation_Symbol relsym, Linear_Expression expr, Coefficient denominator)
native boolean equals(Pointset_Powerset_Int64_Box p)
Java class interfacing C++ Parma_Polyhedra_Library::Int64_Box.
Definition: Int64_Box.java:30
native void refine_with_constraints(Constraint_System c)
The relation between a polyhedron and a constraint.
native void bounded_affine_preimage(Variable var, Linear_Expression lb_expr, Linear_Expression ub_expr, Coefficient denominator)
Smart pointer to a PPL, C++ object.
Definition: PPL_Object.java:32
The relation between a polyhedron and a generator.
native boolean bounds_from_below(Linear_Expression expr)
native void add_congruences(Congruence_System c)
native boolean upper_bound_assign_if_exact(Pointset_Powerset_Int64_Box y)
native void map_space_dimensions(Partial_Function pfunc)
native void difference_assign(Pointset_Powerset_Int64_Box p)
native Poly_Con_Relation relation_with(Constraint c)
native void upper_bound_assign(Pointset_Powerset_Int64_Box p)
native void build_cpp_object(Constraint_System cs)
Pointset_Powerset_Int64_Box(long num_dimensions, Degenerate_Element kind)
native void add_constraints(Constraint_System c)
native void drop_disjuncts(Pointset_Powerset_Int64_Box_Iterator itr1, Pointset_Powerset_Int64_Box_Iterator itr2)
Pointset_Powerset_Int64_Box(Int64_Box y, Complexity_Class complexity)
native void refine_with_congruences(Congruence_System c)
native void intersection_assign(Pointset_Powerset_Int64_Box p)
Java class interfacing C++ Parma_Polyhedra_Library::Pointset_Powerset:: iterator...
native void affine_preimage(Variable var, Linear_Expression expr, Coefficient denominator)
native void concatenate_assign(Pointset_Powerset_Int64_Box p)
A partial function on space dimension indices.
native void drop_some_non_integer_points(Complexity_Class complexity)
native boolean simplify_using_context_assign(Pointset_Powerset_Int64_Box p)
A linear equality or inequality.
Definition: Constraint.java:33
native void unconstrain_space_dimension(Variable var)
native void time_elapse_assign(Pointset_Powerset_Int64_Box p)