Skip to content
C++ Artificial Reinforcement Learning Intelligence
C++ Java Python Shell Lua Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
experiment-adv
experiment-bw2-long-again
experiment-bw2-long
marioai
rules
src
.gitignore
README.md
advent-batch.py
advent.py
blocksworld-batch.py
blocksworld.py
blocksworld2-156.py
blocksworld2-batch-boltzmann.py
blocksworld2-batch-long.py
blocksworld2-batch-nonstationary.py
blocksworld2-batch-transfer.py
blocksworld2-batch.py
blocksworld2-hog.py
blocksworld2-legacy++.sh
blocksworld2-legacy+.sh
blocksworld2-legacy.sh
blocksworld2-normal.py
blocksworld2-optimality-45.sh
blocksworld2-optimality-evaluation.py
blocksworld2-optimality-evaluation.sh
blocksworld2-optimality-evaluation.txt
blocksworld2-optimality.sh
blocksworld2-performance-classic-45.sh
blocksworld2-performance-classic-45.txt
blocksworld2-performance-classic.sh
blocksworld2-performance-classic.txt
blocksworld2-performance-ep-dvz.txt
blocksworld2-performance-ep-exact.txt
blocksworld2-performance-episode.sh
blocksworld2-performance-episode.txt
blocksworld2-performance-step.sh
blocksworld2-performance-step.txt
blocksworld2-performance.py
blocksworld2-train-color.sh
blocksworld2-train.sh
blocksworld2.py
bw2-performance.py
bw2-performance.sh
cartpole.sh
dot.sh
experiments.sh
infinite_mario.bat
infinite_mario.sh
infinite_mario_dbg.sh
infinite_mario_ne.sh
memory.py
mountaincar-batch.py
mountaincar-grid.py
mountaincar-heat.py
mountaincar.py
mountaincar.sh
play_infinite_mario.bat
premake4.lua
profile.sh
puddleworld-batch.py
puddleworld-grid.py
puddleworld-heat.py
puddleworld.py
sparc-v2.txt
sparc-v3.txt
summary.py
taxicab-batch-transfer.py
taxicab.py
tetris_-_lines_[y,created,clears].sh

README.md

#C++ Artificial Reinforcement Learning Intelligence (Carli)

##Welcome

This is my C++ reinforcement learning testbed. If you find it useful, great. Please let me know. I've made little effort to document it for others' understanding, but I'm now making it public.

~bazald

##Building

The simplest way to build Carli is using premake4.

premake4 gmake
make config=release

I use a fair number of C++11 features in Carli, so compilation in Visual Studio is not supported. I recommend the use of Code::Blocks, which uses the high quality TDM-GCC compilation suite. To build the Code::Blocks project, simply run:

premake4 codeblocks

I've tested the project on Windows and Linux.

##License

Copyright (c) 2013, Mitchell Keith Bloch
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

You can’t perform that action at this time.