Skip to content

Package: MinimaxStrategy

MinimaxStrategy

Coverage

1: package de.fhdw.gaming.ipspiel24.minimax;
2:
3: import java.util.List;
4:
5: import de.fhdw.gaming.core.domain.Move;
6: import de.fhdw.gaming.core.domain.Player;
7: import de.fhdw.gaming.core.domain.State;
8: import de.fhdw.gaming.core.domain.Strategy;
9:
10: public interface MinimaxStrategy<P extends Player<P>, S extends State<P, S>, M extends Move<P, S>>
11: extends Strategy<P, S, M> {
12:
13: List<M> getPossibleMoves(S state);// throws GameException;
14:
15: int evaluate(S state, P Player, int depth);// throws GameException;
16:
17: P getOpponent(S state, P currentPlayer);
18:
19: }