|
apt 3.0.3
commandline package manager
|
A single work item. More...
#include <apt-pkg/solver3.h>
Public Member Functions | |
| bool | operator< (APT::Solver::Work const &b) const |
| std::string | toString (pkgCache &cache) const |
| Work (const Clause *clause, depth_type depth) | |
Public Attributes | ||
| const Clause * | clause | |
| depth_type | depth | |
| union { | ||
| Var choice | ||
| size_t size {0} | ||
| }; | ||
| bool | erased {false} | |
A single work item.
A work item is a positive dependency that still needs to be resolved. Work is ordered, by depth, length of solutions, and optionality.
The work can always be recalculated from the state by iterating over dependencies of all packages in there, finding solutions to them, and then adding all dependencies not yet resolved to the work queue.