include "lib.java.cd"; package gen; PlayerID = int implements Comparable(PlayerID). Var = ident implements Comparable(Var). Solution = Map(Var,Boolean). Challenge = OfferedChallenge | AcceptedChallenge | ProvidedChallenge | SolvedChallenge *s int *s PlayerID *s ProblemType *s double "]". OfferedChallenge = "offered[". AcceptedChallenge = "accepted[" PlayerID. ProvidedChallenge = "provided[" PlayerID *s Problem. SolvedChallenge = "solved[" PlayerID *s Problem *s Solution. // ---------------------------- Problem = List(Var) List(Clause). Clause = "(" int *s List(Var) ")". ProblemType = "(" List(Integer) ")". interface Objective = . interface Predicate = .