|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Queue Detailed Description
Function Documentation
creates a (circular) queue, best used if the size will be fixed or will not be increased that much
Definition at line 737 of file misc.c. References BMSallocMemory, MAX, NULL, queueResize(), SCIP_ALLOC, SCIP_CALL, and SCIP_OKAY. Referenced by createReopttree(), and SCIPconshdlrCreate().
frees queue, but not the data elements themselves
Definition at line 761 of file misc.c. References BMSfreeMemory, BMSfreeMemoryArray, and NULL. Referenced by freeReoptTree(), and SCIPconshdlrFree().
clears the queue, but doesn't free the data elements themselves
Definition at line 772 of file misc.c. References SCIP_Queue::firstfree, SCIP_Queue::firstused, and NULL. Referenced by clearReoptnodes().
inserts element at the end of the queue
Definition at line 783 of file misc.c. References BMSmoveMemoryArray, SCIP_Queue::firstfree, SCIP_Queue::firstused, NULL, queueResize(), SCIP_CALL, SCIP_OKAY, SCIP_Queue::size, BMS_BufMem::size, and SCIP_Queue::slots. Referenced by clearReoptnodes(), createReopttree(), deleteChildrenBelow(), reopttreeCheckMemory(), SCIPconsPushProp(), and shrinkNode().
removes and returns the first element of the queue
Definition at line 827 of file misc.c. References SCIP_Queue::firstfree, SCIP_Queue::firstused, NULL, SCIP_Queue::size, and SCIP_Queue::slots. Referenced by addNode(), SCIPconshdlrPopProp(), SCIPreoptApplyCompression(), and SCIPreoptSplitRoot().
returns the first element of the queue without removing it
Definition at line 861 of file misc.c. References SCIP_Queue::firstfree, SCIP_Queue::firstused, NULL, SCIP_Queue::size, and SCIP_Queue::slots. Referenced by SCIPconshdlrFrontProp().
returns whether the queue is empty
Definition at line 879 of file misc.c. References SCIP_Queue::firstfree, SCIP_Queue::firstused, NULL, and SCIP_Queue::size. Referenced by reopttreeCheckMemory(), SCIPconshdlrExit(), SCIPconshdlrExitpre(), SCIPconshdlrFrontProp(), and SCIPconshdlrPopProp().
returns the number of elements in the queue
Definition at line 892 of file misc.c. References SCIP_Queue::firstfree, SCIP_Queue::firstused, NULL, and SCIP_Queue::size. Referenced by clearReoptnodes(), and createReopttree(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||