Commit 30e19491 authored by Lucas Bourneuf's avatar Lucas Bourneuf

graph contexts

parent 397a1691
% A clique.
rel((a;b;c;d;e),(a;b;c;d;e)). % simple but dangerous version
% rel(a,(b;c;d;e)). % more complex representation
% rel(b,(a;c;d;e)). % where nodes are not linked
% rel(c,(a;b;d;e)). % to each others.
% rel(d,(a;b;c;e)).
% rel(e,(a;b;c;d)).
% Small bicliques that cover the clique.
rel((a;b),(f;g)).
rel((c;d),(h;ii)).
% A single link that shouldn't be compressed.
rel(e,j).
% a general star
rel(a,(b;c;d;e;f;g;h;i;j;k)).
% Small independant biclique
rel((b;c),(d;e)).
% a star
rel(f,(g;h;i)).
% overlapping with a biclique
rel((f;g;h),(i;j;k)).
rel(X,Y):- rel(Y,X).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment