Compare commits
No commits in common. "69d302d38a87538cd3f35e49cb78d557c2fb6f54" and "c99e145421a052ff1bf4570235250dae55a5b6b9" have entirely different histories.
69d302d38a
...
c99e145421
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
all: a.out
|
all: a.out
|
||||||
a.out: main.c enviroment.c enviroment.h q-learning.c q-learning.h constant.h
|
a.out: main.c
|
||||||
gcc main.c enviroment.c q-learning.c -lm
|
gcc main.c enviroment.c q-learning.c -lm
|
||||||
run:
|
run:
|
||||||
./a.out
|
./a.out
|
||||||
|
|||||||
2
main.c
2
main.c
@ -14,6 +14,6 @@ int main(){
|
|||||||
init_table(&table[0][0]);
|
init_table(&table[0][0]);
|
||||||
|
|
||||||
run(&table[0][0], board, false, 10000, false);
|
run(&table[0][0], board, false, 10000, false);
|
||||||
run(&table[0][0], board, true, EPISODE_NUM, false);
|
run(&table[0][0], board, true, 1000000, false);
|
||||||
run(&table[0][0], board, false, 10000, false);
|
run(&table[0][0], board, false, 10000, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user