concepts.pdsketch.parsers.csp_parser.load_csp_problem_string#

load_csp_problem_string(string, domain, ignore_unknown_predicates=False)[source]#

Load a PDSketch CSP problem from a string.

Parameters:
  • string (str) –

  • domain (Domain) –

  • ignore_unknown_predicates (bool) –

Return type:

NamedConstraintSatisfactionProblem