Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: OT(ish) - Best Search Algorithm

by bart (Canon)
on Oct 15, 2007 at 10:57 UTC ( [id://644885]=note: print w/replies, xml ) Need Help??


in reply to Re: OT(ish) - Best Search Algorithm
in thread OT(ish) - Best Search Algorithm

I don't think that'll work. People can have more friends than just two. They can even share more friends than 2.

For example, A is befriended with B, which is befriended with C and E, where C is befriended with D, and D befriended with A (the original circle), but E is also befriended with F which in turn is befriended with A.

So there's 2 circles of friends, and A and B are in both: A-B-C-D-A and A-B-E-F-A.

Replies are listed 'Best First'.
Re^3: OT(ish) - Best Search Algorithm
by Corion (Patriarch) on Oct 15, 2007 at 11:01 UTC

    Your example still fits with my (tentative) definition. For both circles, it is true that each member has exactly two friendship relations in it. My definition does not say anything about the number of overall friendship relations on the whole site, but only about friendship relations within a circle.

    But I think I need a second thing in the definition, but I'm not sure which one is "better":

    • A "circle of friends" must have at least three members
    • There must be at least one person for every member of the circle without a direct "friend" relation

    The two are not equivalent, because the first rule allows circles of three persons, while the latter allows circles starting at four members.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-16 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found