package ba.intersection; //TODO: x = (n-1)n/2 component ConflictToStopConverter{ port in Z(1:n) indexLookupIn[x]; port in B conflictIn[x]; port out B stopOut[n]; implementation Math{ for i = 1:n stopOut(i) = False; end for i = 1:x if conflictIn(i) Z curIndex = indexLookupIn(i); stopOut(curIndex) = True; end end } }