-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deferred action #20
Comments
At present chessactions are created as part of the minimax search process. A deferred action is created with the following in mind:
The Chesspiece has a calculated value: Pawn = 1, Rook = 5, Bishop ans Knight = 3, Queen = 9. |
The Problem object uses permutations to calculate other actions. It uses all constants in all positions of the preconditions and effects. 31.03.21 This has now been changed |
Castling and deferred actions: |
After White castling the white Rook has the following positions: Piece name WhiteRook2 All the h positions should not be there. |
Must clear deferred moves: Deferred actions must be cleared done 09.04.21 |
Too many removed positions: |
12.04.21: 12.04.21 solved |
Create diagrams for the default part of the checkMovenumber method !!! |
After successful castling: Caused by: java.lang.NullPointerException The chessAgent returned an action that is null My WhitePawn5 is threatened, but it cannot be moved!!!! |
Create an action during the planning procedures.
An example:
We need a plan for castling.
Step one:
We want to move Whitebishop2. Then we must first move WhitePawn5.
Create an ActionSchema
initState of Pawn
goalState of Bishop.
If such an actionSchema exists then find actionSchema for Pawn and execute.
Wait for opponent
Then find actionSchema for Bishop and execute.,
Wait for opponent
The text was updated successfully, but these errors were encountered: