Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConstraintSolver

Implements

Index

Constructors

constructor

  • Returns ConstraintSolver

Properties

Readonly artificial

artificial: null | ConstraintRow

Readonly constraintVariables

constraintVariables: ConstraintMap<ConstraintVariable, ConstraintVariableBinding>

Readonly constraints

constraints: ConstraintMap<Constraint, ConstraintTag>

Readonly infeasible

infeasible: ConstraintSymbol[]

Readonly invalidated

Readonly objective

objective: ConstraintRow

Readonly rows

Methods

addConstraint

Protected addConstraintRow

  • Parameters

    Returns void

addConstraintVariable

constraint

constraintVariable

Protected didAddConstraint

  • Parameters

    Returns void

Protected didAddConstraintVariable

  • Parameters

    Returns void

Protected didRemoveConstraint

  • didRemoveConstraint(constraint: Constraint): void
  • Parameters

    Returns void

Protected didRemoveConstraintVariable

  • Parameters

    Returns void

Protected didSetConstraintVariable

  • didSetConstraintVariable(variable: ConstraintVariable, newState: number, oldState: number): void
  • Parameters

    Returns void

hasConstraint

hasConstraintVariable

invalidate

  • Parameters

    Returns void

removeConstraint

Protected removeConstraintRow

  • removeConstraintRow(constraint: Constraint): void
  • Parameters

    Returns void

removeConstraintVariable

setConstraintVariable

updateSolution

  • updateSolution(): void
  • Returns void

Protected willAddConstraint

  • Parameters

    Returns void

Protected willAddConstraintVariable

  • Parameters

    Returns void

Protected willRemoveConstraint

  • willRemoveConstraint(constraint: Constraint): void
  • Parameters

    Returns void

Protected willRemoveConstraintVariable

  • Parameters

    Returns void

Protected willSetConstraintVariable

  • willSetConstraintVariable(variable: ConstraintVariable, newState: number, oldState: number): void
  • Parameters

    Returns void

Generated using TypeDoc