nogen include "../scg/scg.cd"; package csp; import scg.*; import java.util.Iterator; CSPInstance = List(Var) *s Cons(Clause) implements InstanceI . Clause = "(" int *s "{" int "}" *s List(Var) ")". // Using the new ListMap, instead CSPSolution = ListMap(Var,Boolean) implements SolutionI. Var = ident implements Comparable(Var). CSPInstanceSet = "(" ListSet(Integer) ")" implements InstanceSetI. CSPDomain = implements DomainI. CSPConfig = "csp_config[" *l*t "maxRelNum:" *s int //maximum value of relation number in Instance allowed *l*t "maxVariables:" *s int //maximum no of variables allowed in Instance *l "]" implements DomainConfigI.