Function stack_graphs::c::sg_forward_path_stitcher_process_next_phase [−][src]
#[no_mangle]
pub extern "C" fn sg_forward_path_stitcher_process_next_phase(
graph: *const sg_stack_graph,
paths: *mut sg_path_arena,
partials: *mut sg_partial_path_arena,
db: *mut sg_partial_path_database,
stitcher: *mut sg_forward_path_stitcher
)
Expand description
Runs the next phase of the path-stitching algorithm. We will have built up a set of
incomplete paths during the previous phase. Before calling this function, you must
ensure that db
contains all of the possible partial paths that we might want to extend
any of those paths with.
After this method returns, you can retrieve a list of the (possibly incomplete) paths that were
encountered during this phase via the previous_phase_paths
and previous_phase_paths_length
fields.