Actually the latter case can not be logically resolved, as the number of triangles not only depends on the linkage, but also the geo-location of each point (things like what if three points are located on one straight line etc.)That's what I wrote, wasn't it? Three co-linear points form a trivial 3-cycle. And we want to avoid those.
In reply to Re^3: How many triangles does your perl script "see"?
by Perl Mouse
in thread How many triangles does your perl script "see"?
by Skeeve
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |