This pull request introduces complete problem formulations for four specific problems described in the book "Artificial Intelligence: A Modern Approach". The formulations are designed to be precise enough for implementation.
Key Changes:
Formulation for the Glass Boxes and Banana Problem:
State Representation: A tuple indicating the lock status of each box.
Actions: Unlock the next box if the current one is unlocked.
Goal: Unlock all boxes to reach the banana.
Formulation for the Sequence Transformation Problem:
State Representation: A string composed of characters A, B, C, and E.
Actions: Apply transformations based on given rules (AC = E, AB = BC, BB = E, and E$x$ = $x$).
Goal: Transform the sequence into a single E.
Formulation for the Grid Painting Problem:
State Representation: Current position on the grid and the painted/unpainted state of each square.
Actions: Paint the current square or move to an adjacent unpainted floor square.
Goal: Paint all non-pit squares.
Formulation for the Container Ship Unloading Problem:
State Representation: A 3D grid representing the containers and the crane's position.
Actions: Move the crane, pick up a container, and unload it.
Goal: Empty the grid of containers.
Highlights:
Comprehensive Problem Formulations: Detailed state, actions, and goal descriptions for each problem.
Implementation Ready: Formulations are precise and can be directly implemented in code.
Versatile Applications: Problems span various domains, demonstrating diverse AI problem-solving techniques.
Benefits:
Clear and Concise: Provides a structured approach to understanding and solving each problem.
Facilitates Implementation: Detailed formulations make it easy for developers to implement and test solutions.
Educational Value: Serves as a learning resource for understanding problem formulations in AI.
Checklist:
[x] Formulated the glass boxes and banana problem.
[x] Formulated the sequence transformation problem.
[x] Formulated the grid painting problem.
[x] Formulated the container ship unloading problem.
Problem Formulations for AIMA Problems
Issue: #853
This pull request introduces complete problem formulations for four specific problems described in the book "Artificial Intelligence: A Modern Approach". The formulations are designed to be precise enough for implementation.
Key Changes:
Formulation for the Glass Boxes and Banana Problem:
Formulation for the Sequence Transformation Problem:
Formulation for the Grid Painting Problem:
Formulation for the Container Ship Unloading Problem:
Highlights:
Benefits:
Checklist:
Examples:
Glass Boxes and Banana Problem:
Sequence Transformation Problem:
Grid Painting Problem:
Container Ship Unloading Problem: