mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 20:34:28 +00:00
18 lines
325 B
PHP
18 lines
325 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): float;
|
|
|
|
public function __toString(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
}
|