Commit Graph

91 Commits

Author SHA1 Message Date
afae656d76 dodatkowe dane 2024-05-12 21:39:01 +02:00
9ebac46bef This: -fixed a bug where tractor_water_level and move delay was called in wrong place 2024-05-12 17:34:27 +02:00
0b494d694d This: -removed unused move in tree_move -changed display to table form in terminal -small refactoring due to code clean 2024-05-12 14:59:23 +02:00
3713ccc8ff This: -made graph bigger 2024-05-12 13:58:57 +02:00
tafit0902
7a14a94b1e traktor porusza sie po polu i decyduje czy podlac na podstawie drzewa decyzyjnego 2024-05-11 22:05:02 +02:00
7c7a485d6b Made an algorithm to generate data (treeData.py) 2024-05-11 18:30:14 +02:00
d2d7a98a84 This: -changed decision from int to string values 2024-05-11 14:30:29 +02:00
b377c5ea24 This: -added tree.png to .gitignore to prevent mistakes 2024-05-11 14:21:26 +02:00
12d2ba0d81 This: -added tree saving to .png file -added usage of decision tree -added way to get current status of all conditions -small improvements -switched off road and mud generation -changed order in .csv file to more logical 2024-05-11 14:18:40 +02:00
48b159ae02 This: -switched diseases from string to int values 2024-05-11 13:31:06 +02:00
de69592612 This: -turned off gas station drawing 2024-05-11 13:25:36 +02:00
51fe19a071 This: -switched data for tree from strings to int -broke weather atributte to temperature and rain -added waterLevel for tractor 2024-05-11 13:24:09 +02:00
f8a3156678 This: -renamed tree.py to Drzewo.py -added dataTree.csv -added basic function connected to decision tree -added required packages to readme.txt 2024-05-10 19:41:13 +02:00
e6c86e7856 This: -added readme file 2024-05-10 18:39:26 +02:00
01a3d1864b This: -added Tree.py 2024-05-10 18:34:52 +02:00
feeca26892 This: -added weather cycle 2024-05-10 18:33:38 +02:00
2b3170d10c This: -refactor few lines to disable Astar related functions and behaviour 2024-05-10 17:47:05 +02:00
d0e8a47da1 Merge pull request 'astar_temp' (#19) from astar_temp into master
Reviewed-on: #19
2024-05-10 17:34:47 +02:00
d150e9c21d Made function to test speed of A*.
Changed heuristic2.
2024-04-29 14:05:26 +02:00
c0fe5766b0 fix: brakowalo total_cost przy wylowywaniu A_star2 w App.py 2024-04-28 13:17:08 +02:00
92c893c917 This: -added road.jpg 2024-04-28 12:59:28 +02:00
7c50b44417 This: -fixed cost sum in A* -added cost of direction change for A*2 -added function to change image of visited tile -added display of total cost 2024-04-28 12:58:58 +02:00
e448c80739 This: -simplified cost taking for A* 2024-04-28 11:51:47 +02:00
eb17e42686 Merge branch 'losowanie_celu' into astar_temp 2024-04-28 11:21:09 +02:00
af15a10048 Dodanie wypisywanie kosztu do AStar1 i ustawiono staly koszt obrotu 2024-04-27 20:09:12 +02:00
tafit0902
702eff581a cel jest losowany w osobnej funkcji, dodano zdjecie stacji benzynowej jako cel trakotra 2024-04-27 00:59:48 +02:00
03434fdb79 Did heuristic2 and A_star2.
Fixed coordinate bug.
2024-04-26 16:32:50 +02:00
637b7567b4 Pierwsza wersja AStar 2024-04-25 22:56:18 +02:00
2017b89aa4 Merge pull request 'New surfaces were made (mud, dirt, stone).' (#18) from introduction_astar into astar
Reviewed-on: #18
2024-04-25 20:51:56 +02:00
ae462e2920 New surfaces were made (mud, dirt, stone).
Renamed from bfs2 to bfs3.
Added koszt to Stan and it's set automatically.
Added some ideas about A*.
2024-04-24 22:16:34 +02:00
ab14a34ecf Merge pull request 'BFS' (#17) from BFS into master
Reviewed-on: #17
2024-04-24 17:44:08 +02:00
da6b3ef067 Merge pull request 'snake_move' (#16) from snake_move into BFS
Reviewed-on: #16
2024-04-24 17:41:46 +02:00
a696da09de -Added way to clear console -Support different dimmension of grid for console 2024-04-15 11:20:47 +02:00
e0397b95a7 -Added support to precalculated BFS2 -Added way to set HydrateValue by HydrateIndex -Minor changes in Tractor.py -Added flags to make handling different BFS implements easier 2024-04-15 10:49:25 +02:00
d38c4d9593 -Added garage -Fixed bugs that were causing crashes realted to mouse position out of the window 2024-04-15 10:02:09 +02:00
a8c5b1b434 Merge pull request 'Made BFS1 and BFS3 algorithm in BFS.py file.' (#15) from algorytm_bfs2 into snake_move
Reviewed-on: #15 reviewed by Jakub Zaręba
2024-04-15 09:25:33 +02:00
63229b2c60 Made BFS1 and BFS3 algorithm in BFS.py file. 2024-04-14 21:39:04 +02:00
066894d85c Merge pull request 'ruch_traktora_po_bfs' (#14) from ruch_traktora_po_bfs into snake_move
Reviewed-on: #14
2024-04-14 19:50:30 +02:00
tafit0902
2c03c4857c poprawki 2024-04-14 00:41:18 +02:00
tafit0902
fbe6a7e386 poprawa obrotu traktora 2024-04-14 00:13:27 +02:00
tafit0902
1578dd28f9 traktor porusza sie po scieszce bfs i nawadnia na sztywno pole 2024-04-13 23:55:58 +02:00
tafit0902
eb5556e514 poprawki 2024-04-13 23:49:04 +02:00
9ca821bab8 -fixed a bug where mouse on the console would sometimes cause a crash 2024-04-13 02:09:49 +02:00
7ac1093231 -fix in gap between lines -added option to disable console 2024-04-13 01:51:52 +02:00
911876e59a -added initial_move to get all slot's hydrate stats by visiting all slots -added way to get hydrate stats for single slot -added console to print things there instead of terminal 2024-04-13 01:39:39 +02:00
2dac7c64a9 -minor changes to move action (added do_move_if_valid) 2024-04-13 00:13:51 +02:00
999f28a405 Merge pull request 'Made BFS algorithm.' (#13) from algorytm_bfs into BFS
Reviewed-on: #13 by Jakub Zaręba
2024-04-13 00:02:29 +02:00
ce698aa14a Made BFS algorithm. 2024-04-12 22:11:30 +02:00
901c246681 Merge pull request 'ruch_traktor_bfs' (#12) from ruch_traktor_bfs into BFS
Reviewed-on: #12
2024-04-12 20:44:17 +02:00
18d2fdbb49 -Fixed direction changes 2024-04-12 09:12:38 +02:00