UNPKG

consys-solver

Version:

consys-solver is a tool to find feasible model assignments for consys constraint systems.

18 lines (17 loc) 377 B
import Domain from './Domain'; /** * Represents a domain with a constant value that cannot be changed. */ export default class Constant<T> extends Domain<T> { private readonly value; /** * Creates a new constant value. * * @param value value */ constructor(value: T); /** * Returns the constant value. */ getValues(): T[]; }