Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/engine/HarbormasterBuildGraph.php
| Show All 27 Lines | public static function determineDependencyExecution( | ||||
| $raw_results = | $raw_results = | ||||
| $graph->getBestEffortTopographicallySortedNodes(); | $graph->getBestEffortTopographicallySortedNodes(); | ||||
| $results = array(); | $results = array(); | ||||
| foreach ($raw_results as $node) { | foreach ($raw_results as $node) { | ||||
| $results[] = array( | $results[] = array( | ||||
| 'node' => $steps_by_phid[$node['node']], | 'node' => $steps_by_phid[$node['node']], | ||||
| 'depth' => $node['depth'], | 'depth' => $node['depth'], | ||||
| 'cycle' => $node['cycle']); | 'cycle' => $node['cycle'], | ||||
| ); | |||||
| } | } | ||||
| return $results; | return $results; | ||||
| } | } | ||||
| public function __construct($step_map) { | public function __construct($step_map) { | ||||
| $this->stepMap = $step_map; | $this->stepMap = $step_map; | ||||
| } | } | ||||
| Show All 17 Lines | |||||