Commit Graph

444 Commits

Author SHA1 Message Date
Michał Czekański
c4d4d6bb52 Add enum for player distance from objects like food
This enum will be used in decision tree learning.
2020-05-23 17:14:29 +02:00
Michał Czekański
479137ce74 Add enum for player stats amount
This enum will be used in decision tree learning when creating examples.
2020-05-23 17:14:06 +02:00
Michał Czekański
b0d8872c15 Add inductive decision tree learning set of functions
To build decision tree use inductiveDecisionTreeLearning function.
2020-05-22 14:21:52 +02:00
Michał Czekański
43b654a6a5 Add static method printing decision tree 2020-05-21 17:01:27 +02:00
Michał Czekański
44419b5f28 Add method making decision in DecisionTree class
This method takes an instance of DecisionTreeExample and returns what it "decided".
2020-05-21 17:00:59 +02:00
Michał Czekański
9d1299b162 Add method adding branch to decision tree 2020-05-21 16:58:28 +02:00
Michał Czekański
fd54303dba Change type of branch field in DecisionTree class
Type was Any, now it is DecisionTreeBranch.
2020-05-21 16:57:33 +02:00
Michał Czekański
a3d47b4320 Add DecisionTreeBranch class 2020-05-21 16:56:20 +02:00
Michał Czekański
fbd76f31e7 Add DecisionTree class with just init 2020-05-21 16:56:01 +02:00
Michał Czekański
bdba45de08 Add DecisionTreeExample class
This class will be used in decision trees.
2020-05-21 16:52:48 +02:00
Michał Czekański
ad791a299e Add Attribute class
This class will be used in decision trees.
2020-05-21 16:50:46 +02:00
Michał Czekański
38ce217db4 Add AttributeDefinition class
This class will be used in decision trees.
2020-05-21 16:50:07 +02:00
ee9769db6e Updated gif URL 2020-05-18 13:15:56 +00:00
c5ff411eba Added simulation example 2020-05-18 15:14:59 +02:00
2f018eae2f Updated training values 2020-05-18 15:03:23 +02:00
f67a9748f6 Updated plot 2020-05-18 15:01:54 +02:00
a0da920e39 Changed seed 2020-05-18 14:58:44 +02:00
b20ac9c356 Removed stepCount (bugged) 2020-05-18 14:58:31 +02:00
ded03f5a3b Removed redundant import 2020-05-18 14:29:39 +02:00
3e4f10236d Removed redundant pickWeightedAffinity function 2020-05-18 14:29:26 +02:00
dc5dc756cb Removed randomness from entity picking 2020-05-18 14:28:48 +02:00
de68c5e991 GA raport done 2020-05-17 18:13:24 +02:00
2ff0ce1ddf Added new info 2020-05-17 12:06:43 +02:00
f1d616576c Added optional file log out 2020-05-17 11:56:06 +02:00
89eb557a2d Added GA documentation 2020-05-17 11:29:35 +02:00
04370fb98c Added docstrings 2020-05-17 11:22:38 +02:00
96cf823619 Added missing docstrings 2020-05-17 11:22:27 +02:00
df16339eef Changed log paths 2020-05-17 11:17:08 +02:00
aa3eea8b39 Added resultsExplorer.py 2020-05-17 11:15:54 +02:00
1aacc693b9 Fixed Raw logging 2020-05-17 10:34:36 +02:00
3108343513 Logging changes 2020-05-17 10:25:10 +02:00
b6312df9f3 Changed formulas back to original 2020-05-17 10:16:56 +02:00
d31e03050e Buffed firepit 2020-05-17 10:16:45 +02:00
3b294030f4 Fixed movement when moveTimeout is zero 2020-05-17 01:30:38 +02:00
d9a4750f7d Added random seed 2020-05-17 01:29:20 +02:00
878f9b9523 All interactables are now reachable 2020-05-17 01:29:08 +02:00
ada3564713 Fixed issue with targets forwards to player 2020-05-17 01:02:07 +02:00
d1b6027ffa Fixed fitness logging 2020-05-17 00:46:33 +02:00
eed7d2ea82 Added GA iteration run param 2020-05-17 00:43:24 +02:00
0225eda1eb Added file logging 2020-05-17 00:38:36 +02:00
7c6cc737e1 Added execution parameters 2020-05-17 00:27:53 +02:00
4b75bebf5a Added more debug keybindings 2020-05-17 00:16:20 +02:00
2afbcdaff8 Removed A* debug text 2020-05-17 00:15:56 +02:00
b9997a0a93 Changed entities 2020-05-17 00:15:09 +02:00
584d371ec1 Optimized map respawn method 2020-05-17 00:14:42 +02:00
dcc8da6d2a Changed fatigue 2020-05-17 00:14:23 +02:00
92490789ea Improved multithreading 2020-05-17 00:14:10 +02:00
6725c4ae0c Weighted entity picks are now seeded 2020-05-16 22:50:56 +02:00
8c2a3f2bff Fixed bug, where the game would crash if there are no pikcupable entities left 2020-05-16 22:36:42 +02:00
1c8b21bf2c Changed fatigue 2020-05-16 16:23:49 +02:00