All Maximal Non-Branching Paths in a Graph

A node vv in a directed graph GG is called a 1-in-1-out node if its indegree and outdegree are both equal to 1, i.e., in(v)=out(v)=1in(v) = out(v) = 1. We can rephrase the definition of a "maximal non-branching path" from the main text as a path whose internal nodes are 1-in-1-out nodes and whose initial and final nodes are not 1-in-1-out nodes. The problem is to find all maximal non-branching paths in a given graph.

Parameters

  • nn: number of vertices
  • mm: number of edges

Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 1 of 1 algorithms

See more
Naive1940O(m)O(m)O(n)O(n)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Insuffient Data to display table