Stay organized with collections
Save and categorize content based on your preferences.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["PropagationBaseObject is a subclass of BaseObject and a friend to the Solver class, providing access to methods for creating new constraints or expressions."],["It offers methods for managing the propagation queue, including enqueuing, executing, freezing, and unfreezing demons."],["PropagationBaseObject includes functionalities for naming objects, debugging, and setting actions in case of failures during propagation."],["Developers can utilize PropagationBaseObject methods to interact with the solver and control the constraint propagation process."]]],["`PropagationBaseObject`, a subclass of `BaseObject` and friend to `Solver`, offers methods for constraint and expression creation. Key actions include: managing a propagation queue via `FreezeQueue` and `UnfreezeQueue`; adding demons using `EnqueueDelayedDemon`, `EnqueueVar`, `EnqueueAll`, `ExecuteAll`; setting and resetting a failure callback with `set_action_on_fail`, `reset_action_on_fail`; naming objects via `set_name` or `BaseName` and getting name status with `HasName`. and set variable to clean with `set_variable_to_clean_on_fail`\n"]]