ANMLWriter

class unified_planning.io.ANMLWriter(problem: Problem)[source]

Bases: object

This class is used to write a Problem in ANML.

print_problem()[source]

Prints to std output the ANML problem.

get_problem() str[source]

Returns the ANML problem.

write_problem(filename: str)[source]

Dumps to file the ANML problem.

Parameters:

filename – The path to the file where the ANML problem must be written.