Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for constraint implementations

Hierarchy

Index

Constructors

constructor

  • new Impl(...args: any[]): Impl
  • Parameters

    • Rest ...args: any[]

    Returns Impl

Properties

Private _constraint

_constraint: Constraint

Private _projection

_projection: Projection

Accessors

isDisposed

  • get isDisposed(): boolean
  • Returns boolean

Methods

dispose

  • dispose(): void
  • Returns void

init1

  • init1(constraint: Constraint, parameterValues: Real[], fixParameters: boolean[]): Impl
  • Parameters

    • constraint: Constraint
    • parameterValues: Real[]
    • fixParameters: boolean[]

    Returns Impl

init2

  • Parameters

    Returns Impl

lowerBound

  • Returns lower bound for given parameters

    Parameters

    Returns Real[]

test

  • test(params: Real[]): boolean
  • Tests if params satisfy the constraint

    Parameters

    Returns boolean

upperBound

  • Returns upper bound for given parameters

    Parameters

    Returns Real[]