Git Product home page Git Product logo

rl_pursuit's Introduction

Building

This project is configured using a Makefile, so you should be able to build it through: make.

The build process has only been tested on Ubuntu. It requires a number of packages. The commands below are expected to pull in all dependencies, many of which are not explicitly listed. Basics:

apt-get install make build-essential g++ git

C++ library dependencies:

apt-get install libarmadillo-dev libboost-dev libboost-thread-dev libgflags-dev libboost-python-dev python2.7-dev

Install Java dependencies for weka bridge:

apt-get install openjdk-8-jdk-headless

Running

The main executable takes in json config files to decide what to run. Some basic examples are included in configs/. An example of how to run a trial is:

bin/64/main configs/all_greedy.json

To run a trial with an ad hoc agent running a MCTS policy, knowing that its teammates are greedy:

bin/64/main configs/greedy.json configs/greedy_planner.json

To run a trial with an ad hoc agent running a MCTS policy, selecting from 4 types of teammates using Bayesian updates to its expectations:

bin/64/main configs/greedy.json configs/planner_bayesian.json

To run a trial with an ad hoc agent running a MCTS policy, selecting from 4 types of teammates using polynomial weights updates to its expectations:

bin/64/main configs/greedy.json configs/planner_poly.json

Other types of teammates include:

  • gr
  • ta
  • gp
  • pd

See src/factory/AgentFactory.cpp for more agent types.

rl_pursuit's People

Contributors

sambarrett avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.