Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How many triangles does your perl script "see"?

by pg (Canon)
on Oct 27, 2005 at 15:29 UTC ( [id://503377]=note: print w/replies, xml ) Need Help??


in reply to Re: How many triangles does your perl script "see"?
in thread How many triangles does your perl script "see"?

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.)

In the latter case, the question needs to be changed to something like "what is the maximum number of triangles can be formed" or something similar.

  • Comment on Re^2: How many triangles does your perl script "see"?

Replies are listed 'Best First'.
Re^3: How many triangles does your perl script "see"?
by Perl Mouse (Chaplain) on Oct 27, 2005 at 15:32 UTC
    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.
    Perl --((8:>*

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://503377]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-23 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found