amlgym.benchmarks package

Module contents

amlgym.benchmarks.get_domain(domain_name)[source]

Read the content of a PDDL domain file as text.

Return type:

str

amlgym.benchmarks.get_domain_names()[source]

List all benchmark domain names.

Return type:

List[str]

amlgym.benchmarks.get_domain_path(domain_name)[source]

Return the absolute path of a PDDL domain file in the benchmarks.domains package.

Return type:

str

amlgym.benchmarks.get_problems_path(domain_name, kind='solving')[source]

Return the absolute path of a PDDL domain problem files in the benchmarks.problems package.

Return type:

List[str]

amlgym.benchmarks.get_test_states(domain_name, kind='predictive_power')[source]

Return a set of test states from some JSON format for a PDDL domain in the benchmarks.states package. The returned set of test states is a dictionary where keys are PDDL problem files and values are list of test states.

Return type:

Dict[str, Sequence[object]]

amlgym.benchmarks.get_trajectories(domain_name, kind='learning')[source]

Return a list of trajectory strings for a PDDL domain in the benchmarks.trajectories package.

Return type:

List[str]

amlgym.benchmarks.get_trajectories_path(domain_name, kind='learning')[source]

Return the absolute path of a PDDL domain trajectory files in the benchmarks.trajectories package.

Return type:

List[str]

amlgym.benchmarks.print_domains()[source]

Print all benchmark domain names.

Return type:

None