brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
skill-110Comprehensive tools for working with PDDL files and planning problems, offering a wide range of functionalities for parsing, planning, and validation across different scenarios.
Independent GitHub snapshot · Automated classification · Original documentation governs
load-pddl-files(domain_path, problem_path)Description:
Loads any PDDL domain and problem files, making them accessible for further processing and planning activities.
Parameters:
domain_path (str): Path to the PDDL domain file.problem_path (str): Path to the PDDL problem file.Returns:
files_loaded: A boolean indicating whether the files were successfully loaded.Example:
files_loaded = load_pddl_files("domain.pddl", "task01.pddl")
Notes:
generate-plans(problem)Description: Generates plans based on the loaded problem, utilizing various planning strategies.
Parameters:
problem: The PDDL problem instance.Returns:
plans: A list of possible plans generated.Example:
plans = generate_plans(problem)
Notes:
save-plans(plans, output_path)Description: Saves generated plans to a specified file format, allowing for flexible output options.
Parameters:
plans: A list of generated plans.output_path (str): Path where plans should be saved.Example:
save_plans(plans, "output.plans")
Notes:
validate-plans(problem, plans)Description: Validates the generated plans against the specified problems to ensure that they are feasible.
Parameters:
problem: The original PDDL problem instance.plans: The generated plans.Returns:
Example:
valid = validate_plans(problem, plans)
Notes:
# Load PDDL files
files_loaded = load_pddl_files("domain.pddl", "task01.pddl")
# Generate plans
if files_loaded:
plans = generate_plans(problem)
# Validate plans
if not validate_plans(problem, plans):
raise ValueError("One or more plans are invalid")
# Save plans
save_plans(plans, "output.plans")