
String tokenizer is used for cleaning the data.Īlgorithm converts data into Undirected Bipartite Graph after find that what is the Vertex number of this graph.Īfter graph is made, Breadth First Search is used for finding what is Bacon number of every single actor.īreadth First Search is also used for what is the shortest connection map distance between a specific actor and Kevin Bacon. Movie2(year)/surname_actor3, name_actor3/surname_actor4, name_actor4 Movie1(year)/surname_actor1, name_actor1/surname_actor2, name_actor2
6 DEGREES OF SEPARATION KEVIN BACON MOVIE
If the lowest Bacon number of any actor with whom X has appeared in any movie is N, X's Bacon number is N+1.Īctor - Movie data is in.Those actors who have worked directly with Kevin Bacon have a Bacon number of 1.If an actor had not been in the same sub-network, his/her Bacon number is 0.The computation of a Bacon number for actor X is a "shortest path" algorithm, applied to the co-stardom network: The higher the Bacon number, the greater the separation from Kevin Bacon the actor is.

This is an application of the Erdős number concept to the Hollywood movie industry.

The Bacon number of an actor is the number of degrees of separation he or she has from Bacon, as defined by the game. In 2020, Bacon started a podcast called The Last Degree of Kevin Bacon. In 2007, Bacon started a charitable organization called. It rests on the assumption that anyone involved in the Hollywood film industry can be linked through their film roles to Bacon within six steps. Movie buffs challenge each other to find the shortest path between an arbitrary actor and prolific actor Kevin Bacon. Six Degrees of Kevin Bacon or "Bacon's Law" is a parlour game based on the "six degrees of separation" concept, which posits that any two people on Earth are six or fewer acquaintance links apart. Most, if not all, of us have heard about the Six Degrees of Separation theoryostensibly, everyone and everything is just six connections removed from Kevin.
