From 9b89f79e01d3addee35b5db0804b9244b57fe101 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Tue, 4 Jul 2023 10:08:54 -0400 Subject: [PATCH] Shorten filename for CRAN tar limits. (#3507) --- ...nuous_double_pole_cart.hpp => cont_double_pole_cart.hpp} | 6 +++--- .../reinforcement_learning/environment/environment.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/mlpack/methods/reinforcement_learning/environment/{continuous_double_pole_cart.hpp => cont_double_pole_cart.hpp} (97%) diff --git a/src/mlpack/methods/reinforcement_learning/environment/continuous_double_pole_cart.hpp b/src/mlpack/methods/reinforcement_learning/environment/cont_double_pole_cart.hpp similarity index 97% rename from src/mlpack/methods/reinforcement_learning/environment/continuous_double_pole_cart.hpp rename to src/mlpack/methods/reinforcement_learning/environment/cont_double_pole_cart.hpp index c68b185e80..0cdae20c64 100644 --- a/src/mlpack/methods/reinforcement_learning/environment/continuous_double_pole_cart.hpp +++ b/src/mlpack/methods/reinforcement_learning/environment/cont_double_pole_cart.hpp @@ -1,5 +1,5 @@ /** - * @file methods/reinforcement_learning/environment/continuous_double_pole_cart.hpp + * @file methods/reinforcement_learning/environment/cont_double_pole_cart.hpp * @author Rahul Ganesh Prabhu * * This file is an implementation of Continuous Double Pole Cart Balancing @@ -11,8 +11,8 @@ * http://www.opensource.org/licenses/BSD-3-Clause for more information. */ -#ifndef MLPACK_METHODS_RL_ENVIRONMENT_CONTINUOUS_DOUBLE_POLE_CART_HPP -#define MLPACK_METHODS_RL_ENVIRONMENT_CONTINUOUS_DOUBLE_POLE_CART_HPP +#ifndef MLPACK_METHODS_RL_ENVIRONMENT_CONT_DOUBLE_POLE_CART_HPP +#define MLPACK_METHODS_RL_ENVIRONMENT_CONT_DOUBLE_POLE_CART_HPP #include diff --git a/src/mlpack/methods/reinforcement_learning/environment/environment.hpp b/src/mlpack/methods/reinforcement_learning/environment/environment.hpp index 4df14be356..f7a3a935ed 100644 --- a/src/mlpack/methods/reinforcement_learning/environment/environment.hpp +++ b/src/mlpack/methods/reinforcement_learning/environment/environment.hpp @@ -15,7 +15,7 @@ #include "env_type.hpp" #include "acrobot.hpp" #include "cart_pole.hpp" -#include "continuous_double_pole_cart.hpp" +#include "cont_double_pole_cart.hpp" #include "continuous_mountain_car.hpp" #include "double_pole_cart.hpp" #include "ftn.hpp"