C++ convex-polyhedron floating forms
- PPL-LLR-000031 Closed and non-necessarily-closed polyhedra (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000421 Constraint and congruence refinement (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
- PPL-LLR-000084 Conservative arithmetic on interval linear forms (Specifies)
For an admitted nonempty receiver, floating-point formats and bounded interval coefficients, linear-form refinement shall retain every receiver state satisfying some coefficient instantiation of the selected comparison, and shall introduce no state outside the receiver. The basic overload shall select less-than or less-or-equal by is_strict; a closed receiver may relax strictness. Generalized refinement shall apply both non-strict filters for equality, reverse operands for greater-than relations, and retain the receiver for disequality. Excess input dimension shall throw std::invalid_argument; an invalid relation enumeration shall throw std::runtime_error. If the form or its normalization overflows the admitted analysis range, refinement may leave the receiver unchanged rather than use an unsound finite coefficient. External forms shall preserve their values.
The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.
Interval coefficients describe a family of real affine expressions; sound filtering must retain the union of their feasible states.
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members belong to Polyhedron and are inherited by both concrete classes unless a concrete class or free function is shown.
template <typename FP_Format, typename Interval_Info> void refine_with_linear_form_inequality( const Linear_Form<Interval<FP_Format, Interval_Info>>& left, const Linear_Form<Interval<FP_Format, Interval_Info>>& right, bool is_strict=false); template <typename FP_Format, typename Interval_Info> void generalized_refine_with_linear_form_inequality( const Linear_Form<Interval<FP_Format, Interval_Info>>& left, const Linear_Form<Interval<FP_Format, Interval_Info>>& right, Relation_Symbol);
Enumerate endpoint and interior coefficient choices on literal boxes, exact dyadic coefficients, every relation symbol, strict/closed behavior, overflowing normalization and invalid dimensions.
src/Polyhedron_defs.hh; src/Polyhedron_inlines.hh; src/Polyhedron_public.cc; src/Polyhedron_nonpublic.cc; src/Polyhedron_templates.hh; src/C_Polyhedron_defs.hh; src/C_Polyhedron_inlines.hh; src/C_Polyhedron.cc; src/NNC_Polyhedron_defs.hh; src/NNC_Polyhedron_inlines.hh; src/NNC_Polyhedron.cc; tests/polyhedronintervalformspec1.cc.
- PPL-LLR-000031 Closed and non-necessarily-closed polyhedra (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
- PPL-LLR-000084 Conservative arithmetic on interval linear forms (Specifies)
For an admitted nonempty receiver and a linear form with bounded interval coefficients in a supported floating-point format, affine-form image shall contain every target state produced by an admitted coefficient instantiation, with other coordinates unchanged in the concrete transition. The result may conservatively lose correlations. It shall preserve dimension and topology. Invalid target or excess form dimension shall throw std::invalid_argument. If the form or normalization overflows the analysis range, returning universe shall be permitted. External forms shall preserve their values. Arithmetic and rounding prerequisites of the selected interval and floating-expression profiles shall apply.
The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.
Normalization separates interval uncertainty from exact rational coefficients; an overflowing abstraction must widen instead of silently discard concrete outcomes.
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members belong to Polyhedron and are inherited by both concrete classes unless a concrete class or free function is shown.
template <typename FP_Format, typename Interval_Info> void affine_form_image(Variable, const Linear_Form<Interval<FP_Format, Interval_Info>>&);
Compare exact dyadic images with rational transforms, enumerate uncertain coefficients, include subnormals, cancellation, unbounded state coordinates, overflow fallback and argument rejection.
src/Polyhedron_defs.hh; src/Polyhedron_inlines.hh; src/Polyhedron_public.cc; src/Polyhedron_nonpublic.cc; src/Polyhedron_templates.hh; src/C_Polyhedron_defs.hh; src/C_Polyhedron_inlines.hh; src/C_Polyhedron.cc; src/NNC_Polyhedron_defs.hh; src/NNC_Polyhedron_inlines.hh; src/NNC_Polyhedron.cc; tests/polyhedronintervalformspec1.cc.
- PPL-LLR-000031 Closed and non-necessarily-closed polyhedra (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000420 Sound conversion between numerical abstractions (Specifies)
- PPL-LLR-000421 Constraint and congruence refinement (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
- PPL-LLR-000084 Conservative arithmetic on interval linear forms (Specifies)
For a dimension-compatible floating interval box, store refinement shall intersect that store with a sound box enclosure of the receiver. It shall not change the polyhedron, and shall retain every point that belonged to both the entry store and the receiver. Directed conversion and endpoint inclusion shall follow the selected interval-profile contracts; the result need not be the best box enclosure of the intersection. Dimension incompatibility shall follow the box intersection's invalid-argument channel.
The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.
Intersecting sound enclosures is safe, while abstracting before intersection can lose relational precision.
Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members belong to Polyhedron and are inherited by both concrete classes unless a concrete class or free function is shown.
template <typename FP_Format, typename Interval_Info> void refine_fp_interval_abstract_store( Box<Interval<FP_Format, Interval_Info>>&) const;
Check directed rational-to-floating endpoints, empty and dimension mismatch, source preservation and concrete intersection retention for relational examples.
src/Polyhedron_defs.hh; src/Polyhedron_inlines.hh; src/Polyhedron_public.cc; src/Polyhedron_nonpublic.cc; src/Polyhedron_templates.hh; src/C_Polyhedron_defs.hh; src/C_Polyhedron_inlines.hh; src/C_Polyhedron.cc; src/NNC_Polyhedron_defs.hh; src/NNC_Polyhedron_inlines.hh; src/NNC_Polyhedron.cc; tests/polyhedronintervalformspec1.cc.