|
bool | initialize () |
|
bool | initialize (const int num_time_steps, const int num_dimensions, const double movement_duration, const double cost_ridge_factor, const std::vector< double > &derivative_costs) |
|
bool | setToMinControlCost (Eigen::VectorXd &start, Eigen::VectorXd &goal) |
| compute the minmal control costs given a start and goal state
|
|
bool | getParametersAll (std::vector< Eigen::VectorXd > ¶meters) |
|
void | setFileNameBase (const std::string &file_name_base) |
|
void | setPrintDebug (bool print_debug) |
|
bool | setNumTimeSteps (const int num_time_steps) |
| Sets the number of time steps used in reinforcement learning. More...
|
|
bool | getNumTimeSteps (int &num_time_steps) |
| Gets the number of time steps used in reinforcement learning. More...
|
|
bool | getNumDimensions (int &num_dimensions) |
| Gets the number of dimensions. More...
|
|
bool | getNumParameters (std::vector< int > &num_params) |
| Gets the number of policy parameters per dimension. More...
|
|
bool | getBasisFunctions (std::vector< Eigen::MatrixXd > &basis_functions) |
| Gets the basis functions that multiply the policy parameters in the dynamical system. More...
|
|
bool | getControlCosts (std::vector< Eigen::MatrixXd > &control_costs) |
| Gets the positive semi-definite matrix of the quadratic control cost The weight of this control cost is provided by the task. More...
|
|
bool | updateParameters (const std::vector< Eigen::MatrixXd > &updates) |
| Update the policy parameters based on the updates per timestep. More...
|
|
void | printParameters () |
| print paramters in standard output
|
|
bool | getParameters (std::vector< Eigen::VectorXd > ¶meters) |
| Get the policy parameters per dimension. More...
|
|
bool | setParameters (const std::vector< Eigen::VectorXd > ¶meters) |
| Set the policy parameters per dimension. More...
|
|
bool | computeControlCosts (const std::vector< Eigen::MatrixXd > &control_cost_matrices, const std::vector< std::vector< Eigen::VectorXd > > ¶meters, const double weight, std::vector< Eigen::VectorXd > &control_costs) |
| Compute the control costs over time, given the control cost matrix per dimension and parameters over time. More...
|
|
bool | computeControlCosts (const std::vector< Eigen::MatrixXd > &control_cost_matrices, const std::vector< Eigen::VectorXd > ¶meters, const std::vector< Eigen::VectorXd > &noise, const double weight, std::vector< Eigen::VectorXd > &control_costs) |
|
std::string | getInfoString () |
|
std::string | getClassName () |
|
bool | readFromDisc (const std::string directory_name, const int item_id, const int trial_id=0) |
|
bool | writeToDisc (const int trial_id=0) |
|
bool | readFromDisc (const std::string abs_file_name) |
|
bool | writeToDisc (const std::string abs_file_name) |
|
std::string | getFileName (const int trial_id) |
|