109110111112113114115116117118119
return max; } public Integer visit(RelationPredicate x) { if (x instanceof Function) { Function f = ((Function)x); return max(f.domain().accept(this), f.range().accept(this)); } return 1; } public Integer visit(NaryExpression x) { int max = 0;