Polynomial zonotope sets (AbstractPolynomialZonotope)

LazySets.AbstractPolynomialZonotopeType
AbstractPolynomialZonotope{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 center

  • polynomial_order(::AbstractPolynomialZonotope) – return the polynomial order

  • ngens_dep – return the number of dependent generators

  • ngens_indep – return the number of independent generators

The subtypes of AbstractPolynomialZonotope (including abstract interfaces):

julia> subtypes(AbstractPolynomialZonotope)
2-element Vector{Any}:
 AbstractSparsePolynomialZonotope
 DensePolynomialZonotope
source

This interface requires to implement the following functions:

LazySets.API.centerMethod
center(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.

source
LazySets.ngens_depMethod
ngens_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.

source
LazySets.ngens_indepMethod
ngens_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.

source
LazySets.polynomial_orderMethod
polynomial_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.

source

This interface defines the following functions:

LazySets.API.dimMethod
dim(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.

source
LazySets.ngensMethod
ngens(P::AbstractPolynomialZonotope)

Return the number of generators of a polynomial zonotope.

Input

  • P – polynomial zonotope

Output

The total number of generators of P.

source
LazySets.orderMethod
order(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.

source

Implementations