mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-20 04:44:28 +00:00
18 lines
327 B
PHP
18 lines
327 B
PHP
<?php
|
|
|
|
namespace DNW\Skills\FactorGraphs;
|
|
|
|
abstract class Schedule implements \Stringable
|
|
{
|
|
protected function __construct(private string $name)
|
|
{
|
|
}
|
|
|
|
abstract public function visit(int $depth = -1, int $maxDepth = 0);
|
|
|
|
public function __toString(): string
|
|
{
|
|
return (string) $this->name;
|
|
}
|
|
}
|