diff options
author | David Rothstein <drothstein@gmail.com> | 2012-06-04 00:37:12 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-06-04 00:37:12 -0400 |
commit | 31a4cbdb0e804a66ef3f602450c872cefa949cbb (patch) | |
tree | f55f6419c34cd042f053432de33413def66aab6f | |
parent | f209013a5181f6b4e6c435fcc796ee9825aedbc6 (diff) | |
download | brdo-31a4cbdb0e804a66ef3f602450c872cefa949cbb.tar.gz brdo-31a4cbdb0e804a66ef3f602450c872cefa949cbb.tar.bz2 |
Issue #1503184 by aspilicious, Rob Loach, cweagans, Dave.Ingram: Make Graph.inc documentation clearer.
-rw-r--r-- | includes/graph.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/graph.inc b/includes/graph.inc index 9ef86a145..35e683057 100644 --- a/includes/graph.inc +++ b/includes/graph.inc @@ -2,12 +2,12 @@ /** * @file - * Directed acyclic graph functions. + * Directed acyclic graph manipulation. */ /** - * Performs a depth-first sort on a directed acyclic graph. + * Performs a depth-first search and sort on a directed acyclic graph. * * @param $graph * A three dimensional associated array, with the first keys being the names @@ -52,7 +52,7 @@ function drupal_depth_first_search(&$graph) { // The components of the graph. 'components' => array(), ); - // Perform the actual sort. + // Perform the actual search. foreach ($graph as $start => $data) { _drupal_depth_first_search($graph, $state, $start); } @@ -72,7 +72,7 @@ function drupal_depth_first_search(&$graph) { } /** - * Performs a depth-first sort on a graph. + * Performs a depth-first search on a graph. * * @param $graph * A three dimensional associated graph array. |