Skip to main content

load

Function load 

Source
pub fn load(
    signature: &Signature,
    problem: &Problem,
) -> Result<Loaded, LoadError>
Available on crate feature codegen only.
Expand description

Checks problem against signature, numbers its objects and grounds its initial state and goal.

ยงErrors

A LoadError if the problem is for another domain, uses names, types or arities the domain does not declare, or uses an unsupported construct: timed initial literals, object fluents, preferences, constraints, or a metric other than minimizing total-cost.