public methods for branching and inference history structure
Definition in file pub_history.h.
Go to the source code of this file.
Functions | |
| SCIP_Real | SCIPhistoryGetVSIDS (SCIP_HISTORY *history, SCIP_BRANCHDIR dir) |
| SCIP_Real | SCIPhistoryGetAvgConflictlength (SCIP_HISTORY *history, SCIP_BRANCHDIR dir) |
| SCIP_Real | SCIPhistoryGetCutoffSum (SCIP_HISTORY *history, SCIP_BRANCHDIR dir) |
| SCIP_Real | SCIPhistoryGetInferenceSum (SCIP_HISTORY *history, SCIP_BRANCHDIR dir) |
| int | SCIPvaluehistoryGetNValues (SCIP_VALUEHISTORY *valuehistory) |
| SCIP_HISTORY ** | SCIPvaluehistoryGetHistories (SCIP_VALUEHISTORY *valuehistory) |
| SCIP_Real * | SCIPvaluehistoryGetValues (SCIP_VALUEHISTORY *valuehistory) |
| SCIP_Real SCIPhistoryGetVSIDS | ( | SCIP_HISTORY * | history, |
| SCIP_BRANCHDIR | dir ) |
gets the conflict score of the history entry
| history | branching and inference history |
| dir | branching direction |
Definition at line 661 of file history.c.
References assert(), NULL, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_Real, and SCIP_History::vsids.
Referenced by checkValueScore(), SCIPgetAvgConflictScore(), SCIPgetAvgConflictScoreCurrentRun(), SCIPvarGetVSIDS(), SCIPvarGetVSIDS_rec(), SCIPvarGetVSIDSCurrentRun(), and SCIPvarIncVSIDS().
| SCIP_Real SCIPhistoryGetAvgConflictlength | ( | SCIP_HISTORY * | history, |
| SCIP_BRANCHDIR | dir ) |
gets the average conflict length of the history entry
| history | branching and inference history |
| dir | branching direction |
Definition at line 703 of file history.c.
References assert(), SCIP_History::conflengthsum, SCIP_History::nactiveconflicts, NULL, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, and SCIP_Real.
Referenced by SCIPgetAvgConflictlengthScore(), SCIPgetAvgConflictlengthScoreCurrentRun(), SCIPvarGetAvgConflictlength(), and SCIPvarGetAvgConflictlengthCurrentRun().
| SCIP_Real SCIPhistoryGetCutoffSum | ( | SCIP_HISTORY * | history, |
| SCIP_BRANCHDIR | dir ) |
get number of cutoffs counter
| history | branching and inference history |
| dir | branching direction (downwards, or upwards) |
Definition at line 803 of file history.c.
References assert(), SCIP_History::cutoffsum, NULL, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, and SCIP_Real.
Referenced by checkValueScore(), SCIPcollectBranchingStatistics(), SCIPprintBranchingStatistics(), SCIPvarGetCutoffSum(), and SCIPvarGetCutoffSumCurrentRun().
| SCIP_Real SCIPhistoryGetInferenceSum | ( | SCIP_HISTORY * | history, |
| SCIP_BRANCHDIR | dir ) |
get number of inferences counter
| history | branching and inference history |
| dir | branching direction (downwards, or upwards) |
Definition at line 777 of file history.c.
References assert(), SCIP_History::inferencesum, NULL, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, and SCIP_Real.
Referenced by SCIPcollectBranchingStatistics(), SCIPprintBranchingStatistics(), SCIPvarGetInferenceSum(), and SCIPvarGetInferenceSumCurrentRun().
| int SCIPvaluehistoryGetNValues | ( | SCIP_VALUEHISTORY * | valuehistory | ) |
return the number of (domain) values for which a history exists
| valuehistory | value based history |
Definition at line 443 of file history.c.
References assert(), NULL, and SCIP_ValueHistory::nvalues.
Referenced by getValueScore().
| SCIP_HISTORY ** SCIPvaluehistoryGetHistories | ( | SCIP_VALUEHISTORY * | valuehistory | ) |
return the array containing the histories for the individual (domain) values
| valuehistory | value based history |
Definition at line 453 of file history.c.
References assert(), SCIP_ValueHistory::histories, and NULL.
Referenced by getValueScore().
| SCIP_Real * SCIPvaluehistoryGetValues | ( | SCIP_VALUEHISTORY * | valuehistory | ) |
return the array containing the (domain) values for which a history exists
| valuehistory | value based history |
Definition at line 463 of file history.c.
References assert(), NULL, SCIP_Real, and SCIP_ValueHistory::values.
Referenced by getValueScore().