|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Priority Queue Detailed Description
Function Documentation
creates priority queue
Definition at line 940 of file misc.c. References BMSallocMemory, MAX, NULL, pqueueResize(), SCIP_ALLOC, SCIP_CALL, and SCIP_OKAY. Referenced by initData(), nodepairqueueCreate(), and SCIPconflictCreate().
frees priority queue, but not the data elements themselves
Definition at line 965 of file misc.c. References BMSfreeMemory, BMSfreeMemoryArray, and NULL. Referenced by nodepairqueueFree(), SCIP_DECL_PROPEXITSOL(), and SCIPconflictFree().
clears the priority queue, but doesn't free the data elements themselves
Definition at line 976 of file misc.c. References SCIP_PQueue::len, and NULL. Referenced by conflictClear().
inserts element into priority queue
Definition at line 986 of file misc.c. References SCIP_PQueue::len, NULL, PQ_PARENT, pqueueResize(), SCIP_CALL, SCIP_OKAY, and SCIP_PQueue::slots. Referenced by conflictQueueBound(), nodepairqueueCreate(), propagateVbounds(), and SCIP_DECL_EVENTEXEC().
removes and returns best element from the priority queue
Definition at line 1013 of file misc.c. References SCIP_PQueue::len, NULL, PQ_LEFTCHILD, PQ_PARENT, PQ_RIGHTCHILD, and SCIP_PQueue::slots. Referenced by conflictFirstCand(), conflictRemoveCand(), nodepairqueueRemove(), and propagateVbounds().
returns the best element of the queue without removing it
Definition at line 1054 of file misc.c. References SCIP_PQueue::len, NULL, and SCIP_PQueue::slots. Referenced by conflictFirstCand(), and nodepairqueueIsEmpty().
returns the number of elements in the queue
Definition at line 1068 of file misc.c. References SCIP_PQueue::len, and NULL. Referenced by conflictAddConflictset(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictFirstCand(), conflictRemoveCand(), conflictResolveBound(), propagateVbounds(), SCIP_DECL_EVENTEXEC(), SCIPconflictAnalyze(), and SCIPisPropagatedVbounds().
returns the elements of the queue; changing the returned array may destroy the queue's ordering!
Definition at line 1079 of file misc.c. References SCIP_PQueue::len, NULL, and SCIP_PQueue::slots. Referenced by conflictAddConflictset(), and conflictResolveBound(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||