nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Data.visualize.Network.Layouts / Solver

Solver

Full name Microsoft.VisualBasic.Data.visualize.Network.Layouts.Cola.Solver Assembly Microsoft.VisualBasic.Data.visualize.Network.Layouts Members 11

01 Syntax

Microsoft.VisualBasic.Data.visualize.Network.Layouts.Cola.Solver

02 Methods

NameOverloadsSummary
setStartingPositions 1 set starting positions without changing desired positions.
satisfy 1 satisfy constraints by building block structure over violated constraints And moving the blocks to their desired positions
solve 1 repeatedly build And split block structure until we converge to an optimal solution
setDesiredPositions 1

03 Properties

NameOverloadsSummary
cost 1

04 Fields

NameOverloadsSummary
bs 1
inactive 1
vs 1
cs 1
LAGRANGIAN_TOLERANCE 1
ZERO_UPPERBOUND 1

05 Members

method setStartingPositions #
setStartingPositions(Double())

set starting positions without changing desired positions. Note: it throws away any previous block Structure.

Parameters
NameTypeDescription
psDouble()

-

method satisfy #
satisfy

satisfy constraints by building block structure over violated constraints And moving the blocks to their desired positions

method solve #
solve

repeatedly build And split block structure until we converge to an optimal solution

field bs #
bs
field inactive #
inactive
field vs #
vs
field cs #
cs
field LAGRANGIAN_TOLERANCE #
LAGRANGIAN_TOLERANCE
field ZERO_UPPERBOUND #
ZERO_UPPERBOUND
property cost #
cost
method setDesiredPositions #
setDesiredPositions(Double())