1
0
Fork 0

Move all solver members to top of the file

pull/667/head
Nils Adermann 2012-04-27 18:22:55 +02:00
parent c51fedef8c
commit cf5d14e2e1
1 changed files with 9 additions and 9 deletions

View File

@ -39,6 +39,15 @@ class Solver
protected $packageToFeatureRule = array();
protected $decisionQueue = array();
protected $decisionQueueWhy = array();
protected $decisionQueueFree = array();
protected $propagateIndex;
protected $branches = array();
protected $problems = array();
protected $learnedPool = array();
protected $recommendsIndex;
public function __construct(PolicyInterface $policy, Pool $pool, RepositoryInterface $installed)
{
$this->policy = $policy;
@ -677,15 +686,6 @@ class Solver
return array_reverse($transaction);
}
protected $decisionQueue = array();
protected $decisionQueueWhy = array();
protected $decisionQueueFree = array();
protected $propagateIndex;
protected $branches = array();
protected $problems = array();
protected $learnedPool = array();
protected $recommendsIndex;
protected function literalFromId($id)
{
$package = $this->pool->packageById(abs($id));