Pfadexistenz
Pfadexistenz is a concept used in graph theory and computer science to refer to the decision problem of determining whether a path exists between two specified vertices in a graph. Formally, given a graph G=(V,E) and two vertices s and t, the question asks whether there is a sequence of vertices v0, v1, ..., vk with v0=s, vk=t, and each consecutive pair (vi,vi+1) connected by an edge in E. The conventional notion of a path is often a simple path, i.e., with no repeated vertices, though in many contexts a path may be allowed to repeat vertices.
The problem applies to both undirected and directed graphs. In an undirected graph, a path simply connects
Algorithms and complexity: Pfadexistenz is typically solved by graph traversal algorithms such as breadth-first search or
Variants and applications: Variants include restricted paths (e.g., paths of bounded length, paths avoiding certain vertices