WebCola
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Block
Blocks
Constraint
Position
Stats
Solver
constructor
bs
cs
inactive
vs
LAGRANGIAN_
TOLERANCE
ZERO_
UPPERBOUND
cost
most
Violated
satisfy
set
Desired
Positions
set
Starting
Positions
solve
Variable
remove
Overlap
InOne
Dimension
Hierarchy
Solver
Index
Constructors
constructor
Properties
bs
cs
inactive
vs
LAGRANGIAN_
TOLERANCE
ZERO_
UPPERBOUND
Methods
cost
most
Violated
satisfy
set
Desired
Positions
set
Starting
Positions
solve
Constructors
constructor
new
Solver
(
vs
:
Variable
[]
, cs
:
Constraint
[]
)
:
Solver
Parameters
vs:
Variable
[]
cs:
Constraint
[]
Returns
Solver
Properties
bs
bs
:
Blocks
cs
cs
:
Constraint
[]
inactive
inactive
:
Constraint
[]
vs
vs
:
Variable
[]
Static
LAGRANGIAN_
TOLERANCE
LAGRANGIAN_
TOLERANCE
:
number
= -1e-4
Static
ZERO_
UPPERBOUND
ZERO_
UPPERBOUND
:
number
= -1e-10
Methods
cost
cost
(
)
:
number
Returns
number
Private
most
Violated
most
Violated
(
)
:
Constraint
Returns
Constraint
satisfy
satisfy
(
)
:
void
Returns
void
set
Desired
Positions
set
Desired
Positions
(
ps
:
number
[]
)
:
void
Parameters
ps:
number
[]
Returns
void
set
Starting
Positions
set
Starting
Positions
(
ps
:
number
[]
)
:
void
Parameters
ps:
number
[]
Returns
void
solve
solve
(
)
:
number
Returns
number
Generated using
TypeDoc