LegacyLinear

dicechess.engine.search.TimePolicies.LegacyLinear
case object LegacyLinear extends TimePolicy

The original chess-inspired linear taper, retained as the compatibility baseline.

Attributes

Source
TimePolicy.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TimePolicy
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredMonoType = this.type

The mirrored *-type.

The mirrored *-type.

Attributes

Inherited from:
Singleton
type MirroredType = this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def estimateMovesToGo(clock: ClockState): Double

Estimates the number of further turns to spread the spendable clock over.

Estimates the number of further turns to spread the spendable clock over.

The estimate is fractional because empirical expected remaining turns and interpolation between observations are not restricted to whole numbers.

ClockState.movesToGo is an explicit time-control override and is applied by TimeManager before this estimate is used. The manager also clamps the final value to at least one.

Attributes

Definition Classes
Source
TimePolicy.scala

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Creates a new instance of type T with elements taken from product p.

Creates a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product

Concrete fields

override val id: String

Stable configuration/reporting identifier. Version policy ids when their behaviour changes materially.

Stable configuration/reporting identifier. Version policy ids when their behaviour changes materially.

Attributes

Source
TimePolicy.scala