Pagini recente » Diferente pentru warm-up-2019/solutii/shoturi intre reviziile 14 si 13 | Diferente pentru blog/demouri-tari-de-la-siggraph intre reviziile 4 si 5 | Diferente pentru planificare/sedinta-20100112 intre reviziile 15 si 14 | Diferente pentru algoritmiada-2018/runda-preoji/solutii intre reviziile 3 si 4 | Diferente pentru blog/meet-in-the-middle intre reviziile 79 si 80
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 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.
!<blog/meet-in-the-middle?12fig26.gif 70%! 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.
A better solution starts from both nodes and sees when the two search spaces meet. The improvement is that you only explore $O(p^k/2^)$ nodes.
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.