Hello,
I am trying to get the overlap between two sets out of the same map:
MapAccum<vertex, SetAccum> @@map;
overlap = (@@map.get(key1) INTERSECT @@map.get(key2)).size();
But as a syntax error I get the following:
" Left set “@@map.get(key1)” returns vertex type [], but the richt set " @@map.get(key2)" returns vertex type [] "
In my understanding both “.get(key)” calls should return a set of strings.
Is there an other way one could calculate this easily?
And please tell me if I am using the INTERSECT clause wrongly.
Thanks
Felix