Skip to content

Commit 419957e

Browse files
committed
Merge branch 'master' of https://github.com/pockerman/cubeai
2 parents e3e1b8f + 81caae0 commit 419957e

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,6 @@ The following is an indicative list of examples.
3737
- <a href="examples/rl/rl_example_20/rl_example_20.md">REINFORCE algorithm with baseline on ```CartPole```</a>
3838
- <a href="examples/rl/rl_example_22/rl_example_22.md">PPO on ```LunarLander```</a>
3939

40-
### Filtering
41-
42-
- <a href="examples/filtering/filtering_example_1/filtering_example_1.md">Kalman filtering</a>
43-
- <a href="examples/filtering/filtering_example_2/filtering_example_2.md">Extended Kalman filter for diff-drive system</a>
44-
45-
46-
### Path planning
47-
48-
- <a href="#">Path planning with rapidly-exploring random trees (TODO)</a>
49-
- <a href="#">Path planning with dynamic windows (TODO) </a>
50-
- <a href="examples/example_17/example_17.cpp"> A* search on a road network from Open Street Map data</a>
51-
52-
5340
## Installation
5441

5542
The cubeai library has a host of dependencies:

examples/rl/rl_example_9/rl_example_9.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ using cuberl::rl::algos::td::SarsaConfig;
2323
using cuberl::rl::policies::EpsilonDecayOption;
2424
using cuberl::rl::RLSerialAgentTrainer;
2525
using cuberl::rl::RLSerialTrainerConfig;
26-
using bitrl::network::RESTRLEnvClient;
26+
using bitrl::network::RESTRLEnvClient;
2727
typedef bitrl::envs::gymnasium::CliffWorld env_type;
2828

2929

examples/rl/rl_example_9/rl_example_9.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,19 @@ Below is the driver code for this example.
6767
#include "cuberl/rl/algorithms/td/sarsa.h"
6868
#include "cuberl/rl/policies/epsilon_greedy_policy.h"
6969
#include "cuberl/rl/trainers/rl_serial_agent_trainer.h"
70-
#include "bitrl/envs/api_server/apiserver.h"
70+
#include "bitrl/network/rest_rl_env_client.h"
7171
#include "bitrl/envs/gymnasium/toy_text/cliff_world_env.h"
7272

7373
#include <boost/log/trivial.hpp>
7474
#include <iostream>
75+
7576
@endcode
7677

7778

7879

7980

8081
@code{.cpp}
82+
8183
namespace rl_example_9{
8284

8385
const std::string SERVER_URL = "http://0.0.0.0:8001/api";
@@ -95,8 +97,6 @@ using cuberl::rl::RLSerialAgentTrainer;
9597
using cuberl::rl::RLSerialTrainerConfig;
9698
using rlenvscpp::envs::RESTApiServerWrapper;
9799
typedef rlenvscpp::envs::gymnasium::CliffWorld env_type;
98-
99-
100100
}
101101

102102
int main(){
@@ -176,7 +176,6 @@ int main(){
176176

177177
return 0;
178178
}
179-
180179
@endcode
181180

182181

0 commit comments

Comments
 (0)