22 #ifndef ZYPP_SOLVER_DETAIL_SAT_RESOLVER_H
23 #define ZYPP_SOLVER_DETAIL_SAT_RESOLVER_H
27 #include <solv/solver.h>
28 #include <solv/pool.h>
139 virtual std::ostream &
dumpOn( std::ostream & str )
const;
141 {
return obj.
dumpOn (str); }
150 const std::set<Repository> & upgradeRepos
231 #endif // ZYPP_SOLVER_DETAIL_SAT_RESOLVER_H
void addPoolItemToKeep(PoolItem item)
std::list< ProblemSolution_Ptr > ProblemSolutionList
void setSolveSrcPackages(bool state_r)
A Solvable object within the sat Pool.
void setCleandepsOnRemove(bool state_r)
PoolItemList problematicUpdateItems(void) const
bool cleandepsOnRemove() const
void addPoolItemsToInstallFromList(PoolItemList &rl)
bool noupdateprovide() const
bool onlyRequires() const
void setPool(const ResPool &pool)
bool distupgrade_removeunsupported() const
void setAllowarchchange(const bool allowarchchange)
PoolItemList resultItemsToInstall()
void addPoolItemToLock(PoolItem item)
bool allowdowngrade() const
void resetItemTransaction(PoolItem item)
std::list< PoolItem > PoolItemList
bool allowuninstall() const
std::list< SolverQueueItem_Ptr > SolverQueueItemList
std::tr1::unordered_set< Capability > CapabilitySet
PoolItemList problematicUpdateItems()
bool allowvendorchange() const
bool solving(const CapabilitySet &requires_caps=CapabilitySet(), const CapabilitySet &conflict_caps=CapabilitySet())
void setUpdatesystem(const bool updatesystem)
PoolItemList _items_to_lock
void addPoolItemToRemove(PoolItem item)
std::string SATprobleminfoString(Id problem, std::string &detail, Id &ignoreId)
PoolItemList _items_to_remove
void setOnlyRequires(const bool onlyRequires)
bool solveSrcPackages() const
void addPoolItemToInstall(PoolItem item)
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
std::list< ResolverProblem_Ptr > ResolverProblemList
PoolItemList _items_to_keep
void setAllowdowngrade(const bool allowdowngrade)
sat::Solvable mapSolvable(const Id &id)
bool _ignorealreadyrecommended
friend std::ostream & operator<<(std::ostream &str, const SATResolver &obj)
void setNoupdateprovide(const bool noupdateprovide)
PoolItemList _problem_items
void setAllowvendorchange(const bool allowvendorchange)
void setDistupgrade_removeunsupported(const bool distupgrade_removeunsupported)
bool allowarchchange() const
void setIgnorealreadyrecommended(const bool ignorealreadyrecommended)
bool ignorealreadyrecommended() const
Base class for reference counted objects.
void addPoolItemsToRemoveFromList(PoolItemList &rl)
void applySolutions(const ProblemSolutionList &solutions)
void setDosplitprovides(const bool dosplitprovides)
bool resolveQueue(const SolverQueueItemList &requestQueue, const PoolItemList &weakItems)
SATResolver(const ResPool &pool, Pool *SATPool)
PoolItemList _items_to_install
PoolItemList _result_items_to_install
PoolItemList resultItemsToRemove()
void setDistupgrade(const bool distupgrade)
bool resolvePool(const CapabilitySet &requires_caps, const CapabilitySet &conflict_caps, const PoolItemList &weakItems, const std::set< Repository > &upgradeRepos)
void solverInit(const PoolItemList &weakItems)
bool updatesystem() const
bool dosplitprovides() const
PoolItemList _result_items_to_remove
PoolItem mapItem(const PoolItem &item)
Reference to a PoolItem connecting ResObject and ResStatus.
bool _distupgrade_removeunsupported
virtual std::ostream & dumpOn(std::ostream &str) const
Overload to realize std::ostream & operator<<.
void setAllowuninstall(const bool allowuninstall)
void setSystemRequirements()
ResolverProblemList problems()
void setFixsystem(const bool fixsystem)