Skip to main content

SolveBoard

Function SolveBoard 

Source
pub unsafe extern "C" fn SolveBoard(
    dl: Deal,
    target: c_int,
    solutions: c_int,
    mode: c_int,
    futp: *mut FutureTricks,
    threadIndex: c_int,
) -> c_int
Expand description

@brief Solve a single bridge Deal using double dummy analysis.

@param dl The Deal to analyze @param target Target number of tricks @param solutions Solution mode (1 = best, 2 = all, etc.) @param mode Analysis mode @param futp Pointer to result structure @param threadIndex Index of thread to use @return 1 on success, error code otherwise