{"id":{"repo_id":"greece","oai_identifier":"oai:10442/11944"},"canonical_url":"https://search.ndltd.org/etd/greece/oai:10442/11944","repository":{"repo_id":"greece","name":"Greek National Archive of PhD Theses","base_url":"https://phdtheses.ekt.gr/eadd_oai/request"},"display":{"title":"Ανάλυση μέσης περίπτωσης αλγορίθμων ψαξίματος σε γράφους","abstract":"We estimate the expected value of various search quantities for a variety of graph-searching methods, for example \\dfs\\ and \\bfs. Our analysis applies to both directed and undirected random graphs, and it covers the range of interesting graph densities, including densities at which a random graph is disconnected with a giant connected component. We estimate the number of edges examined during the search, since this number is proportional to the running time of the algorithm. We find that for hardly connected graphs, all of the edges might be examined, but for denser graphs many fewer edges are generally required. We prove that any searching algorithm examines {$\\Theta(n \\log n)$} edges, if present, on all random graphs with {$n$} nodes but not necessarily on the complete graphs. One property of some searching algorithms is the maximum depth of the search. In \\dfs, this depth can be used to estimate the space needed for the recursion stack. For random graphs of any density, even for disconnected graphs, we prove that this space is {$\\Theta(n)$}. On the other hand, the depth of \\bfs\\ is {$\\Theta(\\log n / \\!\\log(p n))$}, where {$p$} is the probability of the existence of an edge. The size of the \\dstr\\ needed by any searching algorithm is proved to be {$\\Theta(n)$}. If the search terminates at a particular node, any searching algorithm needs a \\dstr\\ of size {$\\Theta(n)$}, and examines only {$\\Theta(n)$} edges. Finally, we derive similar results for variants of the above searching algorithms, more general classes of searching algorithms, and for random graphs with multiple edges. These results are verified through simulations. The techniques employed to permit simulations of big graphs (few millions of nodes) and the results obtained are of general interest, especially to those performing similar experiments.","abstract_html":"We estimate the expected value of various search quantities for a variety of graph-searching methods, for example \\dfs\\ and \\bfs. Our analysis applies to both directed and undirected random graphs, and it covers the range of interesting graph densities, including densities at which a random graph is disconnected with a giant connected component. We estimate the number of edges examined during the search, since this number is proportional to the running time of the algorithm. We find that for hardly connected graphs, all of the edges might be examined, but for denser graphs many fewer edges are generally required. We prove that any searching algorithm examines {$\\Theta(n \\log n)$} edges, if present, on all random graphs with {$n$} nodes but not necessarily on the complete graphs. One property of some searching algorithms is the maximum depth of the search. In \\dfs, this depth can be used to estimate the space needed for the recursion stack. For random graphs of any density, even for disconnected graphs, we prove that this space is {$\\Theta(n)$}. On the other hand, the depth of \\bfs\\ is {$\\Theta(\\log n / \\!\\log(p n))$}, where {$p$} is the probability of the existence of an edge. The size of the \\dstr\\ needed by any searching algorithm is proved to be {$\\Theta(n)$}. If the search terminates at a particular node, any searching algorithm needs a \\dstr\\ of size {$\\Theta(n)$}, and examines only {$\\Theta(n)$} edges. Finally, we derive similar results for variants of the above searching algorithms, more general classes of searching algorithms, and for random graphs with multiple edges. These results are verified through simulations. The techniques employed to permit simulations of big graphs (few millions of nodes) and the results obtained are of general interest, especially to those performing similar experiments.","abstract_has_math":true,"creators":["Kapidakis, Sarantos","Καπιδάκης, Σαράντος"],"institution":"Institutes outside Greece","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":1990,"date_issued":"1990","date_published":"1990","updated_at":"2026-11-18T20:27:23Z","subjects":["Γράφοι","Αλγόριθμοι","Αλγόριθμοι ψαξίματος","Θ (n) ακμές","Θ (n logn) ακμές","Depth-first search","Breadth-first search","Algorithms","Graph","Graph searching"],"languages":["gre"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["10.12681/eadd/11944"],"render_values":[{"text":"10.12681/eadd/11944","href":"https://doi.org/10.12681/eadd/11944","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/10442/hedi/11944","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"http://hdl.handle.net/10442/hedi/11944","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://phdtheses.ekt.gr/eadd_oai/request?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3A10442%2F11944","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Kapidakis, Sarantos","Καπιδάκης, Σαράντος"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["1990"]},{"key":"dc:publisher","label":"Institution","values":["Institutes outside Greece","Ιδρύματα Εξωτερικού"]},{"key":"dc:type","label":"Dc Type","values":["PhD Thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Γράφοι","Αλγόριθμοι","Αλγόριθμοι ψαξίματος","Θ (n) ακμές","Θ (n logn) ακμές","Depth-first search","Breadth-first search","Algorithms","Graph","Graph searching"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["gre"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["10.12681/eadd/11944","http://hdl.handle.net/10442/hedi/11944"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["We estimate the expected value of various search quantities for a variety of graph-searching methods, for example \\dfs\\ and \\bfs. Our analysis applies to both directed and undirected random graphs, and it covers the range of interesting graph densities, including densities at which a random graph is disconnected with a giant connected component. We estimate the number of edges examined during the search, since this number is proportional to the running time of the algorithm. We find that for hardly connected graphs, all of the edges might be examined, but for denser graphs many fewer edges are generally required. We prove that any searching algorithm examines {$\\Theta(n \\log n)$} edges, if present, on all random graphs with {$n$} nodes but not necessarily on the complete graphs. One property of some searching algorithms is the maximum depth of the search. In \\dfs, this depth can be used to estimate the space needed for the recursion stack. For random graphs of any density, even for disconnected graphs, we prove that this space is {$\\Theta(n)$}. On the other hand, the depth of \\bfs\\ is {$\\Theta(\\log n / \\!\\log(p n))$}, where {$p$} is the probability of the existence of an edge. The size of the \\dstr\\ needed by any searching algorithm is proved to be {$\\Theta(n)$}. If the search terminates at a particular node, any searching algorithm needs a \\dstr\\ of size {$\\Theta(n)$}, and examines only {$\\Theta(n)$} edges. Finally, we derive similar results for variants of the above searching algorithms, more general classes of searching algorithms, and for random graphs with multiple edges. These results are verified through simulations. The techniques employed to permit simulations of big graphs (few millions of nodes) and the results obtained are of general interest, especially to those performing similar experiments.","Υπολογίζουμε την προσδοκόμενη τιμή διαφόρων ποσοτήτων για μια ποικιλία από μεθόδους ψαξίματος σε γράφους, όπως στο depth-first search και στο breadth-first search. Η ανάλυσή μας εφαρμόζεται σε κατευθυνόμενους και μη κατευθυνόμενους τυχαίους γράφους και καλύπτει την περιοχή των ενδιαφέρουσων πυκνοτήτων των γράφων, περιλαμβάνοντας πυκνότητες στις οποίες ο τυχαίος γράφος αποτελείται από περισσότερες από μία συνιστώσες και έχει μία γιγαντιαία συνιστώσα. Υπολογίζουμε τον αριθμό ακμών που εξετάζεται κατά τη διάρκεια του ψαξίματος, καθώς αυτός ο αριθμός είναι ανάλογος με το χρόνο τρεξίματος του αλγορίθμου. Βρίσκουμε πως για γράφους που μόλις είναι ενωμένοι, μπορεί να εξετάσουμε όλες τις ακμές, αλλά για πυκνότερους γράφους γενικά χρειάζονται πολύ λιγότερες ακμές. Αποδεικνύουμε πως οποιοσδήποτε αλγόριθμος ψαξίματος εξετάζει Θ(n logn) ακμές, εφόσον υπάρχουν, σε όλους τους τυχαίους γράφους με n κόμβους, αλλά όχι απαραίτητα και στους πλήρεις γράφους. Μία ιδιότητα μερικών αλγορίθμων ψαξίματος είναι το μέγιστο βάθος του ψαξίματος. Στο depth-first search, αυτό το βάθος μπορεί να χρησιμοποιηθεί για να προσδιορίσουμε το χώρο που απαιτείται για τη στίβα της αναδρομής. Για τυχαίους γράφους οποιασδήποτε πυκνότητας, ακόμα και για μη συνδεμένους γράφους, αποδεικνύουμε ότι αυτός ο χώρος είναι Θ(n). Από την άλλη μεριά, το βάθος που φτάνει το breadth-first search είναι Θ(logn/log(pn)), όπου p είναι η πιθανότητα ύπαρξης οποιασδήποτε ακμής. Αποδεικνύουμε ότι το μέγεθος της δομής δεδομένων που απαιτείται από oποιονδήποτε αλγόριθμο ψαξίματος είναι Θ(n). Αν το ψάξιμο τελειώνει μόλις φτάσουμε ένα συγκεκριμένο κόμβο, αποδεικνύουμε ότι oποιοσδήποτε αλγόριθμος ψαξίματος χρειάζεται μια δομή δεδομένων μεγέθους Θ(n), και εξετάζει μόνο Θ(n) ακμές. Τελικά, παράγουμε παρόμοια αποτελέσματα για παραλαγές των παραπάνω αλγορίθμων ψαξίματος, περισσότερο γενικές τάξεις αλγορίθμων ψαξίματος, και για τυχαίους γράφους με πολλαπλές ακμές. Αυτά τα αποτελέσματα επιβεβαιώνονται με εξομοιώσεις. Οι τεχνικές που χρησιμοποιήθηκαν για να κάνουν δυνατή την εξομοίωση μεγάλων γράφων (με μερικά εκατομμύρια κόμβους) και τα αποτελέσματα που βγήκαν είναι γενικού ενδιαφέροντος, ειδικά για αυτούς που εκτελούν παρόμοια πειράματα."]},{"key":"dc:title","label":"Title","values":["Ανάλυση μέσης περίπτωσης αλγορίθμων ψαξίματος σε γράφους","Average-case analysis of graph-searching algorithms"]}]}],"canonical_facts":{"dc:creator":["Kapidakis, Sarantos","Καπιδάκης, Σαράντος"],"dc:date":["1990"],"dc:description":["We estimate the expected value of various search quantities for a variety of graph-searching methods, for example \\dfs\\ and \\bfs. Our analysis applies to both directed and undirected random graphs, and it covers the range of interesting graph densities, including densities at which a random graph is disconnected with a giant connected component. We estimate the number of edges examined during the search, since this number is proportional to the running time of the algorithm. We find that for hardly connected graphs, all of the edges might be examined, but for denser graphs many fewer edges are generally required. We prove that any searching algorithm examines {$\\Theta(n \\log n)$} edges, if present, on all random graphs with {$n$} nodes but not necessarily on the complete graphs. One property of some searching algorithms is the maximum depth of the search. In \\dfs, this depth can be used to estimate the space needed for the recursion stack. For random graphs of any density, even for disconnected graphs, we prove that this space is {$\\Theta(n)$}. On the other hand, the depth of \\bfs\\ is {$\\Theta(\\log n / \\!\\log(p n))$}, where {$p$} is the probability of the existence of an edge. The size of the \\dstr\\ needed by any searching algorithm is proved to be {$\\Theta(n)$}. If the search terminates at a particular node, any searching algorithm needs a \\dstr\\ of size {$\\Theta(n)$}, and examines only {$\\Theta(n)$} edges. Finally, we derive similar results for variants of the above searching algorithms, more general classes of searching algorithms, and for random graphs with multiple edges. These results are verified through simulations. The techniques employed to permit simulations of big graphs (few millions of nodes) and the results obtained are of general interest, especially to those performing similar experiments.","Υπολογίζουμε την προσδοκόμενη τιμή διαφόρων ποσοτήτων για μια ποικιλία από μεθόδους ψαξίματος σε γράφους, όπως στο depth-first search και στο breadth-first search. Η ανάλυσή μας εφαρμόζεται σε κατευθυνόμενους και μη κατευθυνόμενους τυχαίους γράφους και καλύπτει την περιοχή των ενδιαφέρουσων πυκνοτήτων των γράφων, περιλαμβάνοντας πυκνότητες στις οποίες ο τυχαίος γράφος αποτελείται από περισσότερες από μία συνιστώσες και έχει μία γιγαντιαία συνιστώσα. Υπολογίζουμε τον αριθμό ακμών που εξετάζεται κατά τη διάρκεια του ψαξίματος, καθώς αυτός ο αριθμός είναι ανάλογος με το χρόνο τρεξίματος του αλγορίθμου. Βρίσκουμε πως για γράφους που μόλις είναι ενωμένοι, μπορεί να εξετάσουμε όλες τις ακμές, αλλά για πυκνότερους γράφους γενικά χρειάζονται πολύ λιγότερες ακμές. Αποδεικνύουμε πως οποιοσδήποτε αλγόριθμος ψαξίματος εξετάζει Θ(n logn) ακμές, εφόσον υπάρχουν, σε όλους τους τυχαίους γράφους με n κόμβους, αλλά όχι απαραίτητα και στους πλήρεις γράφους. Μία ιδιότητα μερικών αλγορίθμων ψαξίματος είναι το μέγιστο βάθος του ψαξίματος. Στο depth-first search, αυτό το βάθος μπορεί να χρησιμοποιηθεί για να προσδιορίσουμε το χώρο που απαιτείται για τη στίβα της αναδρομής. Για τυχαίους γράφους οποιασδήποτε πυκνότητας, ακόμα και για μη συνδεμένους γράφους, αποδεικνύουμε ότι αυτός ο χώρος είναι Θ(n). Από την άλλη μεριά, το βάθος που φτάνει το breadth-first search είναι Θ(logn/log(pn)), όπου p είναι η πιθανότητα ύπαρξης οποιασδήποτε ακμής. Αποδεικνύουμε ότι το μέγεθος της δομής δεδομένων που απαιτείται από oποιονδήποτε αλγόριθμο ψαξίματος είναι Θ(n). Αν το ψάξιμο τελειώνει μόλις φτάσουμε ένα συγκεκριμένο κόμβο, αποδεικνύουμε ότι oποιοσδήποτε αλγόριθμος ψαξίματος χρειάζεται μια δομή δεδομένων μεγέθους Θ(n), και εξετάζει μόνο Θ(n) ακμές. Τελικά, παράγουμε παρόμοια αποτελέσματα για παραλαγές των παραπάνω αλγορίθμων ψαξίματος, περισσότερο γενικές τάξεις αλγορίθμων ψαξίματος, και για τυχαίους γράφους με πολλαπλές ακμές. Αυτά τα αποτελέσματα επιβεβαιώνονται με εξομοιώσεις. Οι τεχνικές που χρησιμοποιήθηκαν για να κάνουν δυνατή την εξομοίωση μεγάλων γράφων (με μερικά εκατομμύρια κόμβους) και τα αποτελέσματα που βγήκαν είναι γενικού ενδιαφέροντος, ειδικά για αυτούς που εκτελούν παρόμοια πειράματα."],"dc:identifier":["10.12681/eadd/11944","http://hdl.handle.net/10442/hedi/11944"],"dc:language":["gre"],"dc:publisher":["Institutes outside Greece","Ιδρύματα Εξωτερικού"],"dc:subject":["Γράφοι","Αλγόριθμοι","Αλγόριθμοι ψαξίματος","Θ (n) ακμές","Θ (n logn) ακμές","Depth-first search","Breadth-first search","Algorithms","Graph","Graph searching"],"dc:title":["Ανάλυση μέσης περίπτωσης αλγορίθμων ψαξίματος σε γράφους","Average-case analysis of graph-searching algorithms"],"dc:type":["PhD Thesis"]},"updated_at":"2026-11-18T20:27:23Z"}