[MultiFall] Change the agent position
This commit is contained in:
parent
46f47c2223
commit
a698612d3f
@ -259,7 +259,7 @@ class GoalRewardMultiFall(GoalRewardUMaze):
|
|||||||
MAZE_SIZE_SCALING: Scaling = Scaling(ant=2.0, point=6.0, swimmer=None)
|
MAZE_SIZE_SCALING: Scaling = Scaling(ant=2.0, point=6.0, swimmer=None)
|
||||||
OBSERVE_BLOCKS: bool = True
|
OBSERVE_BLOCKS: bool = True
|
||||||
|
|
||||||
def __init__(self, scale: float, goal: Tuple[int, int] = (0.0, 3.0)) -> None:
|
def __init__(self, scale: float, goal: Tuple[int, int] = (0.0, 4.0)) -> None:
|
||||||
super().__init__(scale)
|
super().__init__(scale)
|
||||||
self.goals = [MazeGoal(np.array([*goal, 0.5]) * scale)]
|
self.goals = [MazeGoal(np.array([*goal, 0.5]) * scale)]
|
||||||
|
|
||||||
@ -269,9 +269,9 @@ class GoalRewardMultiFall(GoalRewardUMaze):
|
|||||||
M = MazeCell.YZ_BLOCK
|
M = MazeCell.YZ_BLOCK
|
||||||
return [
|
return [
|
||||||
[B, B, B, B, B, B, B, B, B],
|
[B, B, B, B, B, B, B, B, B],
|
||||||
[B, E, C, E, E, E, C, E, B],
|
|
||||||
[B, E, C, E, R, E, C, E, B],
|
[B, E, C, E, R, E, C, E, B],
|
||||||
[B, E, C, E, M, E, C, E, B],
|
[B, E, C, E, M, E, C, E, B],
|
||||||
|
[B, E, C, E, E, E, C, E, B],
|
||||||
[B, B, B, C, C, C, B, B, B],
|
[B, B, B, C, C, C, B, B, B],
|
||||||
[B, B, B, E, E, E, B, B, B],
|
[B, B, B, E, E, E, B, B, B],
|
||||||
[B, B, B, B, B, B, B, B, B],
|
[B, B, B, B, B, B, B, B, B],
|
||||||
|
Loading…
Reference in New Issue
Block a user