XPSrulechecker

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Artificial Intelligence
Introduced first in SolidGeometry 5.4, Creation date: 2024-01-28, Last change: 2025-09-15

checks XPS rules for easy human errors during rule definition

Description

under constant development

See Also: XPSblocksworldequation , XPSblocksworld , XPSslidingpuzzle

Example Illustration

 missing image of XPSrulechecker(ops)

Syntax

XPSrulechecker(ops)

Input Parameter

ops: STRIPS rules [Action, Condition-List, Add-list, Delete-list, NOT-Condition-List]




Copyright 2024-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

The function XPSrulechecker is designed to check STRIPS rules for potential human errors during rule definition. It is part of the SolidGeometry library and was introduced in version 5.4. The function is under constant development as of February 3, 2024.

Input Parameters

Algorithm Steps

  1. Initialize a cell array VV with the same number of columns as ops.
  2. Iterate over each rule in ops (rows of ops).
  3. For each element in the rule (columns of ops), extract variables using varsofstringpattern and store them in VV.
  4. Remove variables in the Condition-List from the Action variables (VV{1}).
  5. For the Add-list and Delete-list, remove variables that are in the Condition-List.
  6. Check for unused or undefined symbols in the Action, Add-list, and Delete-list:
Algorithm explaination created using ChatGPT on 2025-08-19 07:18. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21