module Abstract0:sig
..end
type 'a
t
'a
allows to distinguish abstract values with different underlying abstract domains.val set_gc : int -> unit
val copy : 'a Apron.Manager.t -> 'a t -> 'a t
val size : 'a Apron.Manager.t -> 'a t -> int
val minimize : 'a Apron.Manager.t -> 'a t -> unit
val canonicalize : 'a Apron.Manager.t -> 'a t -> unit
val hash : 'a Apron.Manager.t -> 'a t -> int
val approximate : 'a Apron.Manager.t -> 'a t -> int -> unit
approximate man abs alg
perform some transformation on the abstract value, guided by the argument alg
. The transformation may lose information. The argument alg
overrides the field algorithm of the structure of type Manager.funopt
associated to ap_abstract0_approximate (commodity feature).val fdump : 'a Apron.Manager.t -> 'a t -> unit
stdout
C stream the internal representation of an abstract value, for debugging purposesval print : (int -> string) -> Format.formatter -> 'a t -> unit
val bottom : 'a Apron.Manager.t -> int -> int -> 'a t
val top : 'a Apron.Manager.t -> int -> int -> 'a t
val of_box : 'a Apron.Manager.t ->
int -> int -> Apron.Interval.t array -> 'a t
of_box man intdim realdim array
abstracts an hypercube defined by the array of intervals of size intdim+realdim
val dimension : 'a Apron.Manager.t -> 'a t -> Apron.Dim.dimension
val manager : 'a t -> 'a Apron.Manager.t
val is_bottom : 'a Apron.Manager.t -> 'a t -> bool
val is_top : 'a Apron.Manager.t -> 'a t -> bool
val is_leq : 'a Apron.Manager.t -> 'a t -> 'a t -> bool
val is_eq : 'a Apron.Manager.t -> 'a t -> 'a t -> bool
val sat_lincons : 'a Apron.Manager.t -> 'a t -> Apron.Lincons0.t -> bool
val sat_tcons : 'a Apron.Manager.t -> 'a t -> Apron.Tcons0.t -> bool
val sat_interval : 'a Apron.Manager.t ->
'a t -> Apron.Dim.t -> Apron.Interval.t -> bool
dim in interval
?val is_dimension_unconstrained : 'a Apron.Manager.t -> 'a t -> Apron.Dim.t -> bool
val bound_dimension : 'a Apron.Manager.t -> 'a t -> Apron.Dim.t -> Apron.Interval.t
val bound_linexpr : 'a Apron.Manager.t ->
'a t -> Apron.Linexpr0.t -> Apron.Interval.t
Implement a form of linear programming, where the argument linear expression is the one to optimize under the constraints induced by the abstract value.
val bound_texpr : 'a Apron.Manager.t ->
'a t -> Apron.Texpr0.t -> Apron.Interval.t
val to_box : 'a Apron.Manager.t -> 'a t -> Apron.Interval.t array
val to_lincons_array : 'a Apron.Manager.t -> 'a t -> Apron.Lincons0.t array
val to_tcons_array : 'a Apron.Manager.t -> 'a t -> Apron.Tcons0.t array
val to_generator_array : 'a Apron.Manager.t -> 'a t -> Apron.Generator0.t array
val meet : 'a Apron.Manager.t ->
'a t -> 'a t -> 'a t
val meet_array : 'a Apron.Manager.t -> 'a t array -> 'a t
val meet_lincons_array : 'a Apron.Manager.t ->
'a t -> Apron.Lincons0.t array -> 'a t
val meet_tcons_array : 'a Apron.Manager.t ->
'a t -> Apron.Tcons0.t array -> 'a t
val join : 'a Apron.Manager.t ->
'a t -> 'a t -> 'a t
val join_array : 'a Apron.Manager.t -> 'a t array -> 'a t
val add_ray_array : 'a Apron.Manager.t ->
'a t -> Apron.Generator0.t array -> 'a t
The generators should either lines or rays, not vertices.
val meet_with : 'a Apron.Manager.t -> 'a t -> 'a t -> unit
val meet_lincons_array_with : 'a Apron.Manager.t -> 'a t -> Apron.Lincons0.t array -> unit
val meet_tcons_array_with : 'a Apron.Manager.t -> 'a t -> Apron.Tcons0.t array -> unit
val join_with : 'a Apron.Manager.t -> 'a t -> 'a t -> unit
val add_ray_array_with : 'a Apron.Manager.t ->
'a t -> Apron.Generator0.t array -> unit
val assign_linexpr_array : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Linexpr0.t array -> 'a t option -> 'a t
val substitute_linexpr_array : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Linexpr0.t array -> 'a t option -> 'a t
val assign_texpr_array : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Texpr0.t array -> 'a t option -> 'a t
val substitute_texpr_array : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Texpr0.t array -> 'a t option -> 'a t
val assign_linexpr_array_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Linexpr0.t array -> 'a t option -> unit
val substitute_linexpr_array_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Linexpr0.t array -> 'a t option -> unit
val assign_texpr_array_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Texpr0.t array -> 'a t option -> unit
val substitute_texpr_array_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t array ->
Apron.Texpr0.t array -> 'a t option -> unit
val forget_array : 'a Apron.Manager.t ->
'a t -> Apron.Dim.t array -> bool -> 'a t
val forget_array_with : 'a Apron.Manager.t ->
'a t -> Apron.Dim.t array -> bool -> unit
val add_dimensions : 'a Apron.Manager.t ->
'a t -> Apron.Dim.change -> bool -> 'a t
val remove_dimensions : 'a Apron.Manager.t ->
'a t -> Apron.Dim.change -> 'a t
val apply_dimchange2 : 'a Apron.Manager.t ->
'a t -> Apron.Dim.change2 -> bool -> 'a t
val permute_dimensions : 'a Apron.Manager.t ->
'a t -> Apron.Dim.perm -> 'a t
val add_dimensions_with : 'a Apron.Manager.t ->
'a t -> Apron.Dim.change -> bool -> unit
val remove_dimensions_with : 'a Apron.Manager.t -> 'a t -> Apron.Dim.change -> unit
val apply_dimchange2_with : 'a Apron.Manager.t ->
'a t -> Apron.Dim.change2 -> bool -> unit
val permute_dimensions_with : 'a Apron.Manager.t -> 'a t -> Apron.Dim.perm option -> unit
val expand : 'a Apron.Manager.t ->
'a t -> Apron.Dim.t -> int -> 'a t
expand a dim n
expands the dimension dim
into itself + n
additional dimensions. It results in (n+1) unrelated dimensions having
same relations with other dimensions. The (n+1) dimensions are put as
follows:
dim
val fold : 'a Apron.Manager.t ->
'a t -> Apron.Dim.t array -> 'a t
fold a tdim
fold the dimensions in the array tdim
of size n>=1
and put the result in the first dimension of the array. The other
dimensions of the array are then removed (using
ap_abstract0_permute_remove_dimensions).val expand_with : 'a Apron.Manager.t -> 'a t -> Apron.Dim.t -> int -> unit
val fold_with : 'a Apron.Manager.t -> 'a t -> Apron.Dim.t array -> unit
val widening : 'a Apron.Manager.t ->
'a t -> 'a t -> 'a t
val widening_threshold : 'a Apron.Manager.t ->
'a t ->
'a t -> Apron.Lincons0.t array -> 'a t
val closure : 'a Apron.Manager.t -> 'a t -> 'a t
val closure_with : 'a Apron.Manager.t -> 'a t -> unit
val of_lincons_array : 'a Apron.Manager.t ->
int -> int -> Apron.Lincons0.t array -> 'a t
val of_tcons_array : 'a Apron.Manager.t ->
int -> int -> Apron.Tcons0.t array -> 'a t
val assign_linexpr : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t ->
Apron.Linexpr0.t -> 'a t option -> 'a t
val substitute_linexpr : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t ->
Apron.Linexpr0.t -> 'a t option -> 'a t
val assign_texpr : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t ->
Apron.Texpr0.t -> 'a t option -> 'a t
val substitute_texpr : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t ->
Apron.Texpr0.t -> 'a t option -> 'a t
val assign_linexpr_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t -> Apron.Linexpr0.t -> 'a t option -> unit
val substitute_linexpr_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t -> Apron.Linexpr0.t -> 'a t option -> unit
val assign_texpr_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t -> Apron.Texpr0.t -> 'a t option -> unit
val substitute_texpr_with : 'a Apron.Manager.t ->
'a t ->
Apron.Dim.t -> Apron.Texpr0.t -> 'a t option -> unit
val print_array : ?first:(unit, Format.formatter, unit) Pervasives.format ->
?sep:(unit, Format.formatter, unit) Pervasives.format ->
?last:(unit, Format.formatter, unit) Pervasives.format ->
(Format.formatter -> 'a -> unit) -> Format.formatter -> 'a array -> unit