Files
trueskill/src/FactorGraphs/Schedule.php

18 lines
322 B
PHP
Raw Normal View History

2022-07-05 15:55:47 +02:00
<?php
namespace DNW\Skills\FactorGraphs;
2010-09-30 08:25:31 -04:00
2022-07-05 16:21:06 +02:00
abstract class Schedule implements \Stringable
{
2022-07-05 16:21:06 +02:00
protected function __construct(private $_name)
{
}
2023-08-01 12:13:24 +00:00
abstract public function visit(int $depth = -1, int $maxDepth = 0);
2022-07-05 16:21:06 +02:00
public function __toString(): string
{
2022-07-05 16:21:06 +02:00
return (string) $this->_name;
}
2022-07-05 15:55:47 +02:00
}