diff options
author | Pacien TRAN-GIRARD | 2015-11-24 21:56:22 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-11-24 21:56:22 +0100 |
commit | f312719bf9df140a22406a4e40c5221a86cd8073 (patch) | |
tree | 06af4c01044096b6d2a5578d4f6b166d77384e07 /src/ch/epfl/maze/physical/stragegies/reducer/ChoiceReducer.java | |
parent | be641348b8d677b3d9cdc0db90804edb0c46a3dc (diff) | |
download | maze-solver-f312719bf9df140a22406a4e40c5221a86cd8073.tar.gz |
Refactor Daedalus residence
Diffstat (limited to 'src/ch/epfl/maze/physical/stragegies/reducer/ChoiceReducer.java')
-rw-r--r-- | src/ch/epfl/maze/physical/stragegies/reducer/ChoiceReducer.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ch/epfl/maze/physical/stragegies/reducer/ChoiceReducer.java b/src/ch/epfl/maze/physical/stragegies/reducer/ChoiceReducer.java index 3cb744d..c7e8833 100644 --- a/src/ch/epfl/maze/physical/stragegies/reducer/ChoiceReducer.java +++ b/src/ch/epfl/maze/physical/stragegies/reducer/ChoiceReducer.java | |||
@@ -1,8 +1,7 @@ | |||
1 | package ch.epfl.maze.physical.stragegies.reducer; | 1 | package ch.epfl.maze.physical.stragegies.reducer; |
2 | 2 | ||
3 | import ch.epfl.maze.physical.World; | 3 | import ch.epfl.maze.physical.Daedalus; |
4 | import ch.epfl.maze.util.Direction; | 4 | import ch.epfl.maze.util.Direction; |
5 | import ch.epfl.maze.util.Vector2D; | ||
6 | 5 | ||
7 | import java.util.Set; | 6 | import java.util.Set; |
8 | 7 | ||
@@ -26,9 +25,10 @@ public interface ChoiceReducer { | |||
26 | * In this variation, the animal knows the world entirely. It can therefore | 25 | * In this variation, the animal knows the world entirely. It can therefore |
27 | * use the position of other animals in the world to move more effectively. | 26 | * use the position of other animals in the world to move more effectively. |
28 | * | 27 | * |
29 | * @param choices The choices left to the animal | 28 | * @param choices The choices left to the animal |
29 | * @param daedalus The daedalus in which the animal moves | ||
30 | * @return A subset of possible direction of the animal, chosen in {@code choices} | 30 | * @return A subset of possible direction of the animal, chosen in {@code choices} |
31 | */ | 31 | */ |
32 | Set<Direction> reduce(Set<Direction> choices, World world); | 32 | Set<Direction> reduce(Set<Direction> choices, Daedalus daedalus); |
33 | 33 | ||
34 | } | 34 | } |