C++ convex-polyhedron values
|
Type
|
Level
|
MID
|
UID
|
REFS
|
Title
|
Statement
|
Rationale
|
Comment
|
BIBLIOGRAPHY
|
STATUS
|
COMPONENT
|
APPLICABILITY
|
VERIFICATION_METHODS
|
VERIFICATION_CRITERIA
|
SOURCE
|
LANGUAGE
|
VISIBILITY
|
INTERFACE
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
SW_SPEC
|
1 |
|
|
Parents:
|
Incoming links from:
1. Two-coordinate full-rank equality projection
2. Bounded coupled two-coordinate pair projection
3. Exact one-dimensional continuous LP projection
1. Exact rational polyhedral image
2. Exact rational polyhedral preimage
3. Polyhedral variable-update relational image
4. Polyhedral variable-update relational preimage
5. Polyhedral expression-update relational image
6. Polyhedral expression-update relational preimage
7. Exact bounded polyhedral affine image
8. Exact bounded polyhedral affine preimage
1. Bounded Chvatal half-pair refinement
1. Bounded exact projection from current constraints
1. H79 polyhedral widening
2. BHRZ03 polyhedral widening
3. Limited H79 polyhedral extrapolation
4. Bounded H79 polyhedral extrapolation
5. Limited BHRZ03 polyhedral extrapolation
6. Bounded BHRZ03 polyhedral extrapolation
7. H79 convergence certificate values and comparisons
8. BHRZ03 convergence certificate values and comparisons
1. Exact polyhedral cylindrification
2. Polyhedral coordinate growth
3. Exact polyhedral Cartesian concatenation
4. Exact polyhedral coordinate deletion
5. Exact partial coordinate mapping of polyhedra
6. Polyhedral coordinate expansion
7. Polyhedral coordinate folding
1. Exact equality-pivot elimination
2. Bounded exact coupled constraint projection
1. Nonnegative polyhedral time elapse
2. Positive polyhedral time elapse
3. Integer-point-preserving polyhedral restriction
4. Sound bounded-integer wrapping in polyhedra
5. Exact polyhedral topological closure
1. Sound polyhedral filtering by interval linear forms
2. Sound polyhedral image of interval linear forms
3. Polyhedral refinement of a floating interval store
1. HH95 closed-polyhedron edge extrapolation
1. HPW01 closed-polyhedron extrapolation
1. Polyhedral envelope from entry constraint descriptions
3. Exact support queries for polyhedral approximations
6. Weak join with exact directional bounds and NNC attainment
1. Exact Minkowski sum of polyhedra
1. Polyhedral constraint addition and refinement
2. Polyhedral congruence addition and conservative refinement
3. Polyhedral generator insertion
4. Exact polyhedral intersection
5. Polyhedral hull and exact-union recognition
6. Polyhedral enclosure of set difference
7. Polyhedral context-preserving simplification
1. Reloadable polyhedral ASCII descriptions
2. Polyhedral memory accounting
3. Polyhedron representation invariant query
1. Polyhedron ambient and affine dimensions
2. Equivalent borrowed polyhedral descriptions
3. Polyhedral equality-congruence extraction
4. Exact elementary polyhedral predicates
5. Exact integer-point existence in polyhedra
6. Polyhedral set comparison and hashing
7. Exact polyhedron relation with a constraint
8. Exact polyhedron relation with a generator
9. Exact polyhedron relation with a congruence
10. Polyhedral coordinate and expression boundedness
11. Exact rational polyhedral extrema and witnesses
12. Constant affine-expression frequency in polyhedra
1. Selected-coordinate integer-point existence
2. Dimensioned empty and universe polyhedra
3. Owned polyhedron copying, assignment and exchange
4. Polyhedron construction from constraints
5. Polyhedron construction from generators
5. Polyhedron construction from generators
6. Polyhedron construction from representable congruences
7. Closed and NNC value conversion
8. Polyhedron conversion from boxes
9. Polyhedron conversion from difference and octagonal shapes
10. Polyhedral affine hull of a rational grid
77 |
C_Polyhedron shall represent a rational topologically closed convex polyhedron in Rn. NNC_Polyhedron shall additionally admit excluded boundary points. A constraint description shall denote its conjunction of affine equalities and admitted non-strict or strict inequalities. An NNC generator description shall denote sums of real line directions, nonnegative ray directions and convex combinations of points and closure points, with strictly positive total weight on included points. The empty generator system shall denote empty. A nonempty generator system shall contain an included point. Coordinates shall be real even when all stored coefficients are integral. coefficient_type shall be the configured Coefficient. Every intermediate coefficient operation shall meet that profile's range and resource conditions. In bounded profiles, double-description conversion shall evaluate incidence products and complete row combinations exactly, cancel each new geometric row's common positive factor, and then admit its stored coefficients. Unreduced products need not fit the coefficient profile; a primitive row that does not fit may raise the profile's arithmetic exception. This projective normalization shall preserve the complete augmented row, including NNC epsilon coordinates, and shall not rescale integer-lattice periods. Initialization shall follow 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization; dimensions shall follow 🔗 1. Coordinate type and reserved dimension index. Objects, descriptors and streams shall remain live and valid for their uses. Output objects shall be independently writable and shall not alias one another or input storage unless an operation explicitly permits that aliasing. Independent objects shall own independent values. Uses that can change caches shall be externally synchronized against other uses of the same object. Unsuccessful construction shall release acquired resources. Supported numerical and resource exceptions may propagate; an existing object's surviving ownership shall permit destruction, without a general rollback or further-query guarantee. |
An included point carries membership information that an excluded closure point cannot supply. Coefficient storage does not change the real coordinate carrier. |
BagnaraHZ05FAC | whole work (background) BagnaraHZ10CGTA | Sections 2.1–2.3, Theorems 2.1 and 2.3, Definition 2.2 (closed and NNC generator semantics). |
|
|
|
|
Check literal closed and half-open sets, fractional points, rays, lines, zero-dimensional empty/universe, independent ownership and both representation directions. Inspect initialization, coefficient admission and exception cleanup. |
tests/recyclingconstructors1.cc; src/Exact_Arithmetic.hh; 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/Polyhedron/cnncconversion1.cc; tests/Polyhedron/constraints1.cc; tests/Polyhedron/generators1.cc; tests/Polyhedron/nncminimize1.cc; tests/polyhedronvaluesspec1.cc; tests/descriptorequalityspec1.cc. |
|
|
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. class C_Polyhedron : public Polyhedron {}; class NNC_Polyhedron : public Polyhedron {}; // Inherited public type: typedef Coefficient coefficient_type; |
|
|
SW_SPEC
|
2 |
|
|
Parents:
|
|
Construction from n and kind shall create exactly EMPTY or UNIVERSE in dimension n. Default construction shall create the zero-dimensional universe, containing the unique empty tuple. Empty shall contain no point in every dimension. max_space_dimension() shall report the structural limit; an oversized or reserved dimension shall throw std::length_error before allocation proportional to that dimension. The structural limit shall not promise resource availability for every smaller request. 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. |
Dimension is part of the value even for empty sets. Structural rejection must precede extent-dependent storage. |
|
|
|
|
|
Check defaults, both kinds in zero and positive dimensions, reserved/oversized dimensions and failed-construction ownership. |
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/Polyhedron/maxspacedim1.cc; tests/Polyhedron/empty1.cc; tests/Polyhedron/universe1.cc; tests/Polyhedron/exceptions1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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. explicit C_Polyhedron(dimension_type n=0, Degenerate_Element kind=UNIVERSE); explicit NNC_Polyhedron(dimension_type n=0, Degenerate_Element kind=UNIVERSE); static dimension_type max_space_dimension(); |
|
|
SW_SPEC
|
3 |
|
|
Parents:
|
|
Same-type copying and assignment shall preserve the source value, ambient dimension and topology while giving the target independent ownership. Assignment shall return its receiver by reference, support self-assignment and permit a change in dimension. The copy-constructor complexity argument shall not change its exactness. Destruction shall release owned resources without throwing. m_swap and swap shall exchange complete values, dimensions and cached representations of topology-compatible objects, including self-exchange. Topology-incompatible exchange shall throw std::invalid_argument before exchange. Cross-topology assignment shall follow 🔗 7. Closed and NNC value conversion. 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. |
Value copying and exchange must transfer all authoritative descriptions and pending state consistently. |
|
|
|
|
|
Exercise independent later mutations, dimensions, empty/universe, pending constraints/generators, self-assignment/exchange and topology 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/Polyhedron/exceptions1.cc; tests/Polyhedron/exceptions2.cc; tests/Polyhedron/systemidentity1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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. C_Polyhedron(const C_Polyhedron&, Complexity_Class=ANY_COMPLEXITY); NNC_Polyhedron(const NNC_Polyhedron&, Complexity_Class=ANY_COMPLEXITY); C_Polyhedron& operator=(const C_Polyhedron&); NNC_Polyhedron& operator=(const NNC_Polyhedron&); ~C_Polyhedron(); ~NNC_Polyhedron(); void m_swap(Polyhedron&); void swap(Polyhedron&, Polyhedron&); |
|
|
SW_SPEC
|
4 |
|
|
Parents:
|
|
Construction from a constraint system shall inherit its ambient dimension and represent exactly its conjunction. NNC construction shall preserve strict boundaries. Closed construction shall reject every strict inequality with std::invalid_argument, even if redundant; NNC-encoded non-strict rows shall be accepted without changing their meaning. Empty conjunction shall denote universe. Contradictory conjunction shall denote empty. The const-input form shall preserve its external source. The non-const rvalue form may consume source storage; on either return its source need only remain safely destructible. Structural dimension overflow shall throw std::length_error. 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. |
Constraint construction is conjunction, with topology admission independent of whether a strict row happens to be redundant. |
|
|
|
|
|
Check strict/non-strict/equality rows, redundancy, contradictions, embedded dimensions, const-source preservation, recycled ownership and dimension/topology 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/Polyhedron/constraints1.cc; tests/Polyhedron/recycledsystems1.cc; tests/Polyhedron/exceptions1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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. explicit C_Polyhedron(const Constraint_System&); C_Polyhedron(Constraint_System&&); explicit NNC_Polyhedron(const Constraint_System&); NNC_Polyhedron(Constraint_System&&); |
|
|
SW_SPEC
|
5 |
|
|
Parents:
|
|
Construction from a generator system shall inherit its ambient dimension and denote its generator interpretation in 🔗 1. Polyhedral values, coefficient profile and valid use. An empty system shall create empty. A nonempty system without an included point shall throw std::invalid_argument. Closed construction shall reject closure points, including redundant ones; NNC construction shall retain their excluded boundary meaning. Const-input construction shall preserve its external source. Recycling may consume source storage, which need only remain destructible on return. Structural dimension overflow shall throw std::length_error. 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. |
Points establish nonemptiness; line and ray directions or closure points alone do not establish an included point. |
BagnaraHZ05FAC | whole work (background) |
|
|
|
|
Check point order, closure-only and direction-only rejection, fractional points, real lines, nonnegative rays, zero dimensions and recycled/const ownership. |
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/Polyhedron/generators1.cc; tests/Polyhedron/recycledsystems1.cc; tests/Polyhedron/exceptions1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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. explicit C_Polyhedron(const Generator_System&); C_Polyhedron(Generator_System&&); explicit NNC_Polyhedron(const Generator_System&); NNC_Polyhedron(Generator_System&&); |
|
|
SW_SPEC
|
6 |
|
|
Parents:
|
|
Congruence-system construction shall inherit the input dimension and apply the exact addition semantics in 🔗 2. Polyhedral congruence addition and conservative refinement to universe. Equality congruences shall define affine equalities; tautologies shall impose no restriction and contradictions shall give empty. A proper congruence that is neither tautological nor contradictory shall throw std::invalid_argument. The const-input form shall preserve external source values. The recycling-tag form shall have the same mathematical result; recycling shall not be promised for congruences. can_recycle_constraint_systems() shall return true and can_recycle_congruence_systems() false. 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. |
Nontrivial periodic restrictions are generally not convex; the recycling capability describes available storage reuse rather than a semantic distinction. |
|
|
|
|
|
Check equalities, constant congruences, proper periodic rejection, source preservation, zero dimensions, structural limits and both capability values. |
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/Polyhedron/addcongruences1.cc; tests/Polyhedron/recycledsystems1.cc; tests/Polyhedron/exceptions1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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. explicit C_Polyhedron(const Congruence_System&); explicit NNC_Polyhedron(const Congruence_System&); static bool can_recycle_constraint_systems(); static bool can_recycle_congruence_systems(); |
|
|
SW_SPEC
|
7 |
|
|
Parents:
|
Incoming link from:
3. Owned polyhedron copying, assignment and exchange
1 |
Conversion or assignment from closed to NNC shall preserve the represented set and dimension exactly. Conversion or assignment from NNC to closed shall produce the exact topological closure, including empty and lower-dimensional sets. The complexity argument shall not reduce this precision. Sources shall retain their values; successful assignment shall return its receiver by reference. Changing topology shall occur through the selected value type's conversion, without exposing a receiver with the wrong topology. 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. |
Closed targets cannot retain excluded boundary points, whereas NNC targets can represent every closed polyhedron unchanged. |
BagnaraHZ10CGTA | Sections 2.1–2.3, Theorems 2.1 and 2.3, Definition 2.2 (closed and NNC generator semantics). |
|
|
|
|
Check open and half-open intervals, empty inconsistent strict systems, singletons, free coordinates, source preservation and assignments across 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/Polyhedron/cnncconversion1.cc; tests/Polyhedron/topclosure1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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. explicit C_Polyhedron(const NNC_Polyhedron&, Complexity_Class=ANY_COMPLEXITY); explicit NNC_Polyhedron(const C_Polyhedron&, Complexity_Class=ANY_COMPLEXITY); C_Polyhedron& operator=(const NNC_Polyhedron&); NNC_Polyhedron& operator=(const C_Polyhedron&); |
|
|
SW_SPEC
|
8 |
|
|
Parents:
|
|
Box conversion shall preserve dimension and source value. NNC conversion shall represent the source box exactly, including open endpoints; closed conversion shall represent its exact topological closure. Infinite endpoints shall impose no finite bound. The complexity argument shall not affect the result. Structural dimension overflow shall throw std::length_error. 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. |
Finite rational interval bounds translate to axis-aligned affine constraints; closing the target changes only endpoint inclusion. |
|
|
|
|
|
Check empty, zero-dimensional, finite/infinite and open/closed endpoint combinations, selected interval profiles and structural bounds. |
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/Polyhedron/frombox1.cc; tests/Polyhedron/frombox2.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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 Interval> explicit C_Polyhedron(const Box<Interval>&, Complexity_Class=ANY_COMPLEXITY); template <typename Interval> explicit NNC_Polyhedron(const Box<Interval>&, Complexity_Class=ANY_COMPLEXITY); |
|
|
SW_SPEC
|
9 |
|
|
Parents:
|
|
Construction from a bounded-difference or octagonal shape shall preserve the source's real pointset and ambient dimension exactly in either topology. Every represented finite bound shall retain its coefficient-profile value; unbounded entries shall add no constraint. The complexity argument shall not change precision. Structural dimension overflow shall throw std::length_error. Source values shall be preserved. 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. |
Both source constraint classes are representable by ordinary closed rational polyhedra. |
|
|
|
|
|
Check independent relational constraints, latent empty and zero dimensions, bounded/infinite profiles, selected arithmetic admission and source preservation. |
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/Polyhedron/frombdshape1.cc; tests/Polyhedron/fromoctagonalshape1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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 U> explicit C_Polyhedron(const BD_Shape<U>&, Complexity_Class=ANY_COMPLEXITY); template <typename U> explicit C_Polyhedron(const Octagonal_Shape<U>&, Complexity_Class=ANY_COMPLEXITY); template <typename U> explicit NNC_Polyhedron(const BD_Shape<U>&, Complexity_Class=ANY_COMPLEXITY); template <typename U> explicit NNC_Polyhedron(const Octagonal_Shape<U>&, Complexity_Class=ANY_COMPLEXITY); |
|
|
SW_SPEC
|
10 |
|
|
Parents:
|
|
Construction from a grid shall preserve dimension and return empty for an empty source; otherwise it shall return the exact affine hull of the source, with all periodic restrictions removed and all affine equalities preserved. Both target topologies shall represent the same closed affine space. The complexity argument shall not reduce this guarantee. Source value shall be preserved, and structural dimension overflow shall throw std::length_error. 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. |
The convex hull of a nonempty rational grid is its affine hull: unrestricted integer parameter multiples fill their real spans under convexification. |
|
|
|
|
|
Check periodic sets, non-axis affine equalities, line directions, fractional phases, latent inconsistent congruences, zero dimensions and source preservation. |
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/Polyhedron/fromgrid1.cc; tests/polyhedronvaluesspec1.cc. |
|
|
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. explicit C_Polyhedron(const Grid&, Complexity_Class=ANY_COMPLEXITY); explicit NNC_Polyhedron(const Grid&, Complexity_Class=ANY_COMPLEXITY); |