mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-31 13:14:02 +00:00
Start of the long road towards debugging it to work
This commit is contained in:
@ -30,7 +30,7 @@ class ScheduleStep extends Schedule
|
||||
$this->_index = $index;
|
||||
}
|
||||
|
||||
public function visit($depth, $maxDepth)
|
||||
public function visit($depth = -1, $maxDepth = 0)
|
||||
{
|
||||
$delta = $this->_factor->updateMessageIndex($this->_index);
|
||||
return $delta;
|
||||
@ -47,7 +47,7 @@ class ScheduleSequence extends Schedule
|
||||
$this->_schedules = $schedules;
|
||||
}
|
||||
|
||||
public function visit($depth, $maxDepth)
|
||||
public function visit($depth = -1, $maxDepth = 0)
|
||||
{
|
||||
$maxDelta = 0;
|
||||
|
||||
@ -72,7 +72,7 @@ class ScheduleLoop extends Schedule
|
||||
$this->_maxDelta = $maxDelta;
|
||||
}
|
||||
|
||||
public function visit($depth, $maxDepth)
|
||||
public function visit($depth = -1, $maxDepth = 0)
|
||||
{
|
||||
$totalIterations = 1;
|
||||
$delta = $this->_scheduleToLoop->visit($depth + 1, $maxDepth);
|
||||
|
Reference in New Issue
Block a user