Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
billion:
g++ *.cpp
a 1000000000

million:
g++ *.cpp
a 1000000

thousand:
g++ *.cpp
a 1000

hundred:
g++ *.cpp
a 100
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# Bayesian Thompson Sampling MAB RPS - README

### Compiling
To compile, please use the following command:

> ``g++ *.cpp``
To compile, please use the following commands:

> `make hundred` > `make thousand` > `make million` > `make billion`

### Running

Example: run > ``./a.out 1000``
You may change the number of trials to suit your needs.
Example:

> 'g++ \*.cpp'
> `./a.out 1000`

The above will run 1000 trials. You may change the number of trials to suit your needs.
This program has been tested to up to 1 billion trials successfully.
13 changes: 0 additions & 13 deletions README.txt

This file was deleted.

1 change: 1 addition & 0 deletions strategies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,5 @@ std::string RPS_to_s(RPS rps)
break;

}
return 0;
}