Class ConstraintGoalSolver

java.lang.Object
ch.so.agi.mcp.constraint.ConstraintGoalSolver

public final class ConstraintGoalSolver extends Object
Small deterministic finite-domain solver for semantic constraint test goals.

The solver derives interesting values from INTERLIS model domains and IR literals, searches a bounded cartesian product and validates every candidate assignment through ConstraintModelSynthesizer. Simple numeric equalities additionally drive candidate derivation backwards through ADD/SUB/MUL/DIV and COLLECTION_SUM instead of relying on unrelated literal/pivot guesses. It is deliberately not a complete SMT solver. Search exhaustion is reported explicitly so a later solver strategy (for example Z3) can replace or complement it without changing the IR or object-graph layers.