Polynomial zonotope sets (AbstractPolynomialZonotope)
LazySets.AbstractPolynomialZonotope
— TypeAbstractPolynomialZonotope{N} <: LazySet{N}
Abstract type for polynomial zonotope sets.
Notes
Polynomial zonotopes are in general non-convex. They are always bounded.
Every concrete AbstractPolynomialZonotope
must define the following functions:
center(::AbstractPolynomialZonotope)
– return the centerpolynomial_order(::AbstractPolynomialZonotope)
– return the polynomial orderngens_dep
– return the number of dependent generatorsngens_indep
– return the number of independent generators
The subtypes of AbstractPolynomialZonotope
(including abstract interfaces):
julia> subtypes(AbstractPolynomialZonotope)
2-element Vector{Any}:
AbstractSparsePolynomialZonotope
DensePolynomialZonotope
This interface requires to implement the following functions:
LazySets.API.center
— Methodcenter(X::LazySet)
Compute the center of a centrally symmetric set.
Input
X
– centrally symmetric set
Output
A vector with the center, or midpoint, of X
.
LazySets.ngens_dep
— Methodngens_dep(P::AbstractPolynomialZonotope)
Determine the number of dependent generators of a polynomial zonotope.
Input
P
– polynomial zonotope
Output
A nonnegative integer representing the number of dependent generators.
LazySets.ngens_indep
— Methodngens_indep(P::AbstractPolynomialZonotope)
Determine the number of independent generators of a polynomial zonotope.
Input
P
– polynomial zonotope
Output
A nonnegative integer representing the number of independent generators.
LazySets.polynomial_order
— Methodpolynomial_order(P::AbstractPolynomialZonotope)
Determine the polynomial order of a polynomial zonotope.
Input
P
– polynomial zonotope
Output
A nonnegative integer representing the polynomial order.
Notes
The polynomial order is the maximum sum of all monomials' parameter exponents.
This interface defines the following functions:
LazySets.API.dim
— Methoddim(PZ::AbstractPolynomialZonotope)
Return the ambient dimension of a polynomial zonotope.
Input
PZ
– polynomial zonotope
Output
An integer representing the ambient dimension of the polynomial zonotope.
LazySets.ngens
— Methodngens(P::AbstractPolynomialZonotope)
Return the number of generators of a polynomial zonotope.
Input
P
– polynomial zonotope
Output
The total number of generators of P
.
LazySets.order
— Methodorder(P::AbstractPolynomialZonotope)
Return the order of a polynomial zonotope.
Input
P
– polynomial zonotope
Output
The order, defined as the quotient between the total number of generators and the ambient dimension, as a Rational
number.