SCIPexpriterRestartDFS

Function SCIPexpriterRestartDFS 

Source
pub unsafe extern "C" fn SCIPexpriterRestartDFS(
    iterator: *mut SCIP_EXPRITER,
    expr: *mut SCIP_EXPR,
) -> *mut SCIP_EXPR
Expand description

restarts an already initialized expression iterator in DFS mode

The expression iterator will continue from the given expression, not revisiting expressions that this iterator has already been visited (if initialized with allowrevisit=FALSE) and giving access to the same iterator specified expression data that may have been set already. Also the stop-stages are not reset.

If revisiting is forbidden and given expr has already been visited, then the iterator will behave as on the end of iteration (SCIPexpriterIsEnd() is TRUE). If the enterexpr stage is not one of the stop stages, then the iterator will be moved forward (SCIPexpriterGetNext() is called).

@return The current expression.