Skip to main content

SolveBoardPBN

Function SolveBoardPBN 

Source
pub unsafe extern "C" fn SolveBoardPBN(
    dlpbn: DealPBN,
    target: c_int,
    solutions: c_int,
    mode: c_int,
    futp: *mut FutureTricks,
    thrId: c_int,
) -> c_int
Expand description

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

@param dlpbn The PBN Deal to analyze @param target Target number of tricks @param solutions Solution mode @param mode Analysis mode @param futp Pointer to result structure @param thrId Index of thread to use @return 1 on success, error code otherwise