-
Notifications
You must be signed in to change notification settings - Fork 2
Test Statistics
Chenzs108 edited this page Feb 6, 2024
·
1 revision
All tests have the following fixed options:
"maxSteps": 500,
"mapSize": {
"height": {
"min": 25,
"max": 25
},
"width": {
"min": 25,
"max": 25
}
},
"terrainProb": {
"wall": 0.3,
"bush": 0.1
},
"moveCost": {
"grass": 1,
"bush": 15
},
And the agent and enemy will be randomly generated in the left half and right half of the map.
When testing the agent, the enemy's strategy weights are fixed as below:
"enemy": {
"random": 0.1,
"aStar": 1,
"moveClose": 0.2,
"wallDensity": 0.1
}
The agent's strategy weights are changed in each trial.
Test ID | Strategy Weights |
---|---|
1 | [1, 0, 0] |
2 | [1, 1, 1] |
3 | [1, 0 ~ 0.4, 0 ~ 0.4]. It changes in each step. |
4 | [1, 0 ~ 1, 0 ~ 1]. It changes in each step. |
The order of weights is
Random
,MoveAway
,WallDensity
.
The game runs 100 times in each trial and the agent's scores are shown below:
When testing the enemy, the agent's strategy weights are fixed.
"agent": {
"random": 0.1,
"moveAway": 0.4,
"wallDensity": 0.4
}
The enemy's strategy weights are changed in each trial.
Test ID | Strategy Weights |
---|---|
1 | [1, 0, 0, 0] |
2 | [0.5, 0, 0.7, 0.9] |
3 | [0, 1, 0, 0] |
4 | [0.1, 1, 0.2, 0.1] |
The order of weights is
Random
,AStar
,MoveClose
,WallDensity
.
The game runs 100 times in each trial and the agent's scores are shown below: