paths_exceed_limit.read_table | R Documentation |
Quickly determine if the number of paths in an adjacency matrix exceed a lower limit
paths_exceed_limit.read_table(m, paths_cutoff)
m |
adjacency matrix |
paths_cutoff |
threshold for number of paths |
number of paths are determined by dynamic programming algorith that is O(V+E). The quick part is that once the number of paths exceeds num_paths, the algorithm exits. This is needed when the number of edges is very large and we would waste time computing the total number of paths.
NA if number of paths exceeds num_paths, otherwise returns the number of paths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.