{ return _pimpl->freshenPool(); }
bool Resolver::resolvePool ()
{ return _pimpl->resolvePool( false ); }// do not try all possibilities
- bool Resolver::resolvePool( bool tryAllPossibilities, bool keepExtras )
- { return _pimpl->resolvePool( tryAllPossibilities, keepExtras ); }
+ bool Resolver::resolvePool( bool tryAllPossibilities)
+ { return _pimpl->resolvePool( tryAllPossibilities); }
bool Resolver::resolveDependencies( void )
{ return _pimpl->resolveDependencies( ); }
void Resolver::undo()
* the latter case, use problems() and later applySolutions()
* below.
**/
- bool resolvePool (bool tryAllPossibilities, bool keepExtras = false );
+ bool resolvePool (bool tryAllPossibilities);
bool resolveDependencies( void );
// process the queue
resolveDependencies( context );
-
- reset();
+ reset( false, true ); //resetValidResults,keepExtras
}
context->setEstablishing (false);
resolveDependencies( context );
if (resetAfterSolve) {
- reset();
+ reset( false, true ); //resetValidResults,keepExtras
context->setEstablishing( false );
_best_context = context;
}
bool
-Resolver::resolvePool( bool tryAllPossibilities, bool keepExtras )
+Resolver::resolvePool( bool tryAllPossibilities )
{
ResolverContext_Ptr saveContext = _best_context;
CollectTransact info (*this);
// cleanup before next run
- reset( false, keepExtras );
-
+ reset( false, true ); //resetValidResults,keepExtras
bool saveTryAllPossibilities = _tryAllPossibilities;
if (tryAllPossibilities) {
void freshenState( ResolverContext_Ptr context = NULL, bool resetAfterSolve = true );
bool freshenPool( bool resetAfterSolve = true );
bool resolveDependencies (const ResolverContext_Ptr context = NULL);
- bool resolvePool( bool tryAllPossibilities = false, bool keepExtras = false );
+ bool resolvePool( bool tryAllPossibilities = false);
bool transactResObject( ResObject::constPtr robj,
bool install = true,