tigercontrol.models.control.LQR¶
-
class
tigercontrol.models.control.
LQR
[source]¶ Description: Computes optimal set of actions using the Linear Quadratic Regulator algorithm.
Methods
__init__
()Initialize self. extend
(x, T)Description: If x is not in the correct form, convert it; otherwise, leave it unchanged. help
()Description: Prints information about this class and its methods. initialize
(F, f, C, c, T, x)Description: Initialize the dynamics of the model :param F: past value contribution coefficients :type F: float/numpy.ndarray :param f: bias coefficients :type f: float/numpy.ndarray :param C: quadratic cost coefficients :type C: float/numpy.ndarray :param c: linear cost coefficients :type c: float/numpy.ndarray :param T: number of timesteps :type T: postive int :param x: initial state :type x: float/numpy.ndarray plan
()Description: Updates internal parameters and then returns the estimated optimal set of actions :param None: predict
([x])to_ndarray
(x)Description: If x is a scalar, transform it to a (1, 1) numpy.ndarray; otherwise, leave it unchanged. update
(**kwargs)Attributes
compatibles
spec