summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/physical/stragegies/reducer/BlindChoiceReducer.java
blob: 169a8f660ee30cbcfd9ef27b06c6b66ef4ea82e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package ch.epfl.maze.physical.stragegies.reducer;

import ch.epfl.maze.physical.World;
import ch.epfl.maze.util.Direction;

import java.util.Set;

/**
 * A decision filter unaware of its distant environment.
 *
 * @author Pacien TRAN-GIRARD
 */
public interface BlindChoiceReducer extends ChoiceReducer {

    @Override
    default Set<Direction> reduce(Set<Direction> choices, World world) {
        return this.reduce(choices);
    }

}