Skip to content
  • Sébastien Villemot's avatar
    Rewrite engine for matching the non-optimizing agents part in PAC · 16a97a96
    Sébastien Villemot authored
    The engine is now more robust and should reject any expression that does not
    conform to the expected form. It is also able to deal with more cases, such as
    terms appearing with a minus sign, or variables in the middle of a
    three-factors product.
    
    BTW, use a std::tuple for storing the result of the matching inside
    PacExpectationNode, and change the order of components within the
    structure (variable first, scalar last).
    16a97a96