C++ Reference: class PropagationBaseObject
Note: This documentation is automatically generated.
The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver class. It allows accessing methods useful when writing new constraints or new expressions.Method | |
---|---|
BaseName | Return type: Returns a base name for automatic naming. |
DebugString | Return type: |
EnqueueAll | Return type: Arguments: |
EnqueueDelayedDemon | Return type: Arguments: This method pushes the demon onto the propagation queue. It will be processed directly if the queue is empty. It will be enqueued according to its priority otherwise. |
EnqueueVar | Return type: Arguments: |
ExecuteAll | Return type: Arguments: |
FreezeQueue | Return type: This method freezes the propagation queue. It is useful when you need to apply multiple modifications at once. |
HasName | Return type: Returns whether the object has been named or not. |
name | Return type: Object naming. |
PropagationBaseObject | Return type: Arguments: |
~PropagationBaseObject | |
reset_action_on_fail | Return type: This method clears the failure callback. |
set_action_on_fail | Return type: Arguments: This method sets a callback that will be called if a failure happens during the propagation of the queue. |
set_name | Return type: Arguments: |
set_variable_to_clean_on_fail | Return type: Arguments: Shortcut for variable cleaner. |
solver | Return type: |
UnfreezeQueue | Return type: This method unfreezes the propagation queue. All modifications that happened when the queue was frozen will be processed. |