-
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
Game strategies from week 30 22 #49
Comments
An action schema is applicable in a state s if the preconditions are satisfied by s. |
27.08.22 Solved 27.08.22 |
Corrected!! |
When creating an Action Schema
can we change
Constant piece = new Constant(pieceName);
Constant pos = new Constant(posName);
Constant toPos = new Constant(toPosit);
List variables = new ArrayList(Arrays.asList(piece,pos,toPos));
to :
Variable piece = new Variable("piece");
Variable frompos = new Variable("from");
Variable topos = new Variable("to");
List variables = new ArrayList(Arrays.asList(piece,pos,toPos));
and then:
ActionSchema movedAction = new ActionSchema(actionName,variables,precondition,effects);
But then the preconditions and effects must also contain the same Variables.
This would represent one general Action Schema for all Action Schemas represented in the Problem
17.08.22:
These points have been done.
The castling move needs to be reworked.
Create a new Action schema based on the castling move.
(King to g1, Castle to f1, King to c1 Castle to d1)
The text was updated successfully, but these errors were encountered: