Value based history Detailed DescriptionValue based history methods
Function Documentation
creates an empty value history
Definition at line 228 of file history.c. References BMSallocBlockMemory, BMSallocBlockMemoryArray, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by findValuehistoryEntry().
frees a value history
Definition at line 247 of file history.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, NULL, and SCIPhistoryFree(). Referenced by varFree().
finds for the given domain value the history if it does not exist yet it will be created
Definition at line 269 of file history.c. References BMSreallocBlockMemoryArray, SCIP_ValueHistory::histories, NULL, SCIP_ValueHistory::nvalues, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPhistoryCreate(), SCIPsetCalcMemGrowSize(), SCIPsortedvecFindReal(), SCIPsortedvecInsertRealPtr(), SCIP_ValueHistory::sizevalues, and SCIP_ValueHistory::values. Referenced by findValuehistoryEntry().
scales the conflict score values with the given scalar for each value history entry
Definition at line 314 of file history.c. References SCIP_ValueHistory::histories, NULL, SCIP_ValueHistory::nvalues, and SCIPhistoryScaleVSIDS(). Referenced by SCIPvarScaleVSIDS().
return the number of (domain) values for which a history exists
Definition at line 348 of file history.c. References NULL, and SCIP_ValueHistory::nvalues. Referenced by getValueScore().
return the array containing the histories for the individual (domain) values
Definition at line 358 of file history.c. References SCIP_ValueHistory::histories, and NULL. Referenced by getValueScore().
return the array containing the (domain) values for which a history exists
Definition at line 368 of file history.c. References NULL, and SCIP_ValueHistory::values. Referenced by getValueScore(). |