Pagini recente » Diferente pentru blog/meet-in-the-middle intre reviziile 123 si 98 | Diferente pentru pregatire-online-pentru-bacalaureatul-la-informatica intre reviziile 5 si 2 | Istoria paginii utilizator/daniyel98 | Atasamentele paginii Profil coolback | Diferente pentru blog/meet-in-the-middle intre reviziile 77 si 78
Nu exista diferente intre titluri.
Diferente intre continut:
bq. Find the shortest path between two nodes nodes in a large graph which you can’t keep in memory, for example the Facebook friendship graph.
!<blog/meet-in-the-middle?12fig26.gif! The usual approach is to use a bread first search algorithm. If the distance between two nodes is $k$ and the average degree in the network is $p$ then we explore $O(p^k^)$ nodes.
!<blog/meet-in-the-middle?12fig26.gif 60%! The usual approach is to use a bread first search algorithm. If the distance between two nodes is $k$ and the average degree in the network is $p$ then we explore $O(p^k^)$ nodes.
One neat idea is instead of starting the search from one node, start from both and see when the two search spaces meet. This way we only go through $O(p^k/2^)$ nodes.
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.