1
0
Fork 0

Rename walkLiteral method to more explicitly say what it does

pull/715/head
Nils Adermann 2012-05-19 20:50:21 +02:00
parent a395bc04d7
commit 025581b365
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class RuleWatchGraph
return isset($this->watches[$literal]);
}
public function walkLiteral($literal, $level, $skipCallback, $conflictCallback, $decideCallback)
public function propagateLiteral($literal, $level, $skipCallback, $conflictCallback, $decideCallback)
{
if (!isset($this->watches[$literal])) {
return null;

View File

@ -318,7 +318,7 @@ class Solver
$this->propagateIndex++;
$conflict = $this->watchGraph->walkLiteral(
$conflict = $this->watchGraph->propagateLiteral(
$literal,
$level,
array($this, 'decisionsContain'),