Skip to content

Instantly share code, notes, and snippets.

View lorenzleutgeb's full-sized avatar

Lorenz Leutgeb lorenzleutgeb

View GitHub Profile
@lorenzleutgeb
lorenzleutgeb / check.lp
Created January 27, 2018 15:28
Conference Planning
% pc(M) M is a member of the Program Committee.
% paper(P) P is a submitted paper.
% assigned(P,M) M is assigned to review paper P.
% bid(M,P,B) M has rated the paper P with B.
% The following four auxiliary predicates are just handy shorthands:
cannot(P,M) :- bid(M,P,0).
wantnot(P,M) :- bid(M,P,1).
% 1. each PC-member is assigned with at most five submissions