C++ Reference: class RestartPolicy
Note: This documentation is automatically generated.
Contain the logic to decide when to restart a SAT tree search.Method | |
---|---|
InfoString | Return type: Returns a string with the current restart statistics. |
NumRestarts | Return type: Returns the number of restarts since the last Reset(). |
OnConflict | Return type: Arguments: This will be called by the solver engine after each conflict. The arguments reflect the state of the solver when the conflict was detected and before the backjump. |
Reset | Return type: Resets the policy using the current model parameters. |
RestartPolicy | Return type: Arguments: |
ShouldRestart | Return type: Returns true if the solver should be restarted before the next decision is taken. Note that this will return true just once and then assumes that the search was restarted and starts worrying about the next restart. |