zonotope_approximation {volesti} | R Documentation |
A function to over-approximate a zonotope with PCA method and to evaluate the approximation by computing a ratio of fitness.
Description
For the evaluation of the PCA method the exact volume of the approximation body is computed and the volume of the input zonotope is computed by CoolingBodies algorithm. The ratio of fitness is R=vol(P) / vol(P_{red})
, where P_{red}
is the approximate polytope.
Usage
zonotope_approximation(
Z,
fit_ratio = FALSE,
settings = list(error = 0.1, walk_length = 1, win_len = 250, hpoly = FALSE)
)
Arguments
Z |
A zonotope. |
fit_ratio |
Optional. A boolean parameter to request the computation of the ratio of fitness. |
settings |
Optional. A list that declares the values of the parameters of CB algorithm as follows:
|
Value
A list that contains the approximation body in H-representation and the ratio of fitness
References
A.K. Kopetzki and B. Schurmann and M. Althoff, “Methods for Order Reduction of Zonotopes,” IEEE Conference on Decision and Control, 2017.
Examples
# over-approximate a 2-dimensional zonotope with 10 generators and compute the ratio of fitness
Z = gen_rand_zonotope(2, 8)
retList = zonotope_approximation(Z = Z)