34 #define NODESEL_NAME "breadthfirst" 35 #define NODESEL_DESC "breadth first search" 36 #define NODESEL_STDPRIORITY -10000 37 #define NODESEL_MEMSAVEPRIORITY -1000000 48 assert(nodesel != NULL);
61 assert(nodesel != NULL);
64 assert(selnode != NULL);
68 if( *selnode == NULL )
71 if( *selnode == NULL )
74 if( *selnode != NULL )
91 assert(nodesel != NULL);
101 else if( depth1 > depth2 )
111 assert(number1 != number2);
113 if( number1 < number2 )
133 nodeselSelectBreadthfirst, nodeselCompBreadthfirst, NULL) );
135 assert(nodesel != NULL);
SCIP_RETCODE SCIPsetNodeselCopy(SCIP *scip, SCIP_NODESEL *nodesel, SCIP_DECL_NODESELCOPY((*nodeselcopy)))
SCIP_RETCODE SCIPincludeNodeselBasic(SCIP *scip, SCIP_NODESEL **nodesel, const char *name, const char *desc, int stdpriority, int memsavepriority, SCIP_DECL_NODESELSELECT((*nodeselselect)), SCIP_DECL_NODESELCOMP((*nodeselcomp)), SCIP_NODESELDATA *nodeseldata)
SCIP_NODE * SCIPgetBestSibling(SCIP *scip)
enum SCIP_Retcode SCIP_RETCODE
int SCIPnodeGetDepth(SCIP_NODE *node)
SCIP_Longint SCIPnodeGetNumber(SCIP_NODE *node)
#define NODESEL_STDPRIORITY
#define NODESEL_MEMSAVEPRIORITY
const char * SCIPnodeselGetName(SCIP_NODESEL *nodesel)
static SCIP_DECL_NODESELSELECT(nodeselSelectBreadthfirst)
static SCIP_DECL_NODESELCOPY(nodeselCopyBreadthfirst)
SCIP_NODE * SCIPgetBestChild(SCIP *scip)
static SCIP_DECL_NODESELCOMP(nodeselCompBreadthfirst)
SCIP_NODE * SCIPgetBestLeaf(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselBreadthfirst(SCIP *scip)
node selector for breadth-first search