Commit Graph

85 Commits

Author SHA1 Message Date
matixezor
f75a5a68d5 remove code duplication, add a_star flag to bfs 2021-05-18 00:01:37 +02:00
matixezor
cfe68b8e7a code refactor 2021-05-18 00:01:19 +02:00
363ea4b786 changes in tilesFactory and added KABOOM img 2021-05-17 23:22:57 +02:00
matixezor
7a4285c053 add type hints 2021-05-17 18:42:47 +02:00
matixezor
fda1579a87 add usage of decision tree 2021-05-17 17:53:21 +02:00
matixezor
13ccc6c184 add parameters for decision tree 2021-05-17 17:53:08 +02:00
matixezor
5560d6687d implement id3 algorithm 2021-05-16 19:41:45 +02:00
matixezor
c6e2f5b796 add generate data set func 2021-05-16 19:41:09 +02:00
matixezor
dc3086307b update requirements to contain anytree 2021-05-16 19:40:35 +02:00
matixezor
66fdc7818e move node to search_algorithms package 2021-05-16 12:07:20 +02:00
59f2da2068 Merge pull request 'A_star' (#2) from A_star into master
Reviewed-on: #2
2021-05-16 12:00:43 +02:00
matixezor
04bbaedb4c code refactor 2021-05-16 11:59:06 +02:00
matixezor
b10bfbbbeb remove nearest bomb 2021-04-27 21:34:59 +02:00
6a08195fe0 fixed a_Star algorithm 2021-04-26 18:46:56 +02:00
matixezor
37dc6d5595 change weight to one when agent is rotating 2021-04-26 16:58:00 +02:00
matixezor
176f14b0a3 remove unnecessary argument 2021-04-26 16:57:35 +02:00
matixezor
4f6b562d9b code refactor 2021-04-26 16:57:08 +02:00
matixezor
95d77e72b8 fix sorting 2021-04-26 16:56:48 +02:00
matixezor
4fae45b696 add node cost and add lt comparator, adjust a_star and helpers to use node.cost, 2021-04-26 13:52:32 +02:00
matixezor
f225f42ba9 fix weight assignment 2021-04-26 13:51:25 +02:00
matixezor
d2106e8ea7 add debug field 2021-04-26 13:50:16 +02:00
matixezor
77afd5cc15 fix some stuff 2021-04-25 22:28:44 +02:00
7e61c61116 improving a_star algorithm 2021-04-25 21:32:43 +02:00
matixezor
b46ebc9b3e add goal type hint 2021-04-25 17:14:07 +02:00
matixezor
f777afba56 change project structure, add a* template 2021-04-25 17:10:12 +02:00
matixezor
1de3c78fd3 fix bfs 2021-04-24 20:01:45 +02:00
matixezor
8e9af8f0b3 fix directions constants 2021-04-12 19:05:04 +02:00
matixezor
f0359f53c8 add slight delay between moves 2021-04-12 18:53:41 +02:00
matixezor
39d7f0a827 change logging msg 2021-04-12 18:53:25 +02:00
matixezor
90e11febc5 add basic console logging, fix rotating 2021-04-12 18:50:52 +02:00
matixezor
995dd6860e changed bfs to start at top neighbour and proceed against the clock 2021-04-12 18:50:22 +02:00
matixezor
5ac5fd9aea fix queue events 2021-04-12 16:49:43 +02:00
Darek Golomski
6d34b95f8f Refactor: Agent defuse mine under him 2021-04-12 16:21:34 +02:00
Darek Golomski
de75ae3122 Agent defuse mine under him 2021-04-12 16:10:14 +02:00
Darek Golomski
63645f3b24 Repair agent 2021-04-12 16:02:10 +02:00
matixezor
27cf66d35d add actions, directions to node. add mine_count to env 2021-04-12 10:51:33 +02:00
matixezor
a7fb859e32 fix type hint for field 2021-04-10 15:39:46 +02:00
matixezor
cecdc84657 code refactor 2021-04-10 14:13:36 +02:00
matixezor
be6481745a implement successor and bfs 2021-04-10 12:12:06 +02:00
matixezor
a1938e5683 add node class 2021-04-10 12:11:43 +02:00
matixezor
5c5e301d6e add bfs launch on T key pressed 2021-04-10 12:11:14 +02:00
matixezor
ab447f4594 add constants for BFS 2021-04-10 12:10:51 +02:00
matixezor
9123ccf3f9 fix going offscren with W key, code refactor 2021-04-09 22:32:08 +02:00
matixezor
30b8fc3fae code refactor 2021-04-09 22:31:39 +02:00
5f1780bc2f Merge pull request 'Scal SuperSaperTestowy' (#1) from SuperSaperTestowy into master
Reviewed-on: #1
2021-04-09 21:24:02 +02:00
227a246968 add impassable terrain 2021-04-09 19:48:59 +02:00
edb56dac1d Change image on rotate 2021-04-09 19:11:33 +02:00
Darek Golomski
1900954708 add agent rotate image 2021-04-09 18:47:12 +02:00
Darek Golomski
3d8ff6222c add comment to agent move 2021-04-09 18:37:42 +02:00
Darek Golomski
fc4895fc4e add agent rotate 2021-04-09 18:31:38 +02:00