Parameters
Katherine Ye edited this page Jan 19, 2018
·
2 revisions
Possibly outdated, since we've switched to snap and added new parameters.
-
stepsPerSecond
: number of simulation steps forgloss
to take for each second of real time -
picWidth
,picHeight
: canvas dimensions -
stepFlag
: turns stepping the simulation on and off for debugging (no stepping = objects don't move) -
clampFlag
: turns clamping gradient values on and off for debugging -
debug
: turns on/off the debug print functions -
constraintFlag
: turns constraint satisfaction on/off (currently off because we're doing unconstrained optimization) - Default ambient objective functions are specified in
ambientObjFns
, and analogously forambientConstrFns
. - Default objective functions are specified in
genObjsAndFns
. -
btls
: turn on/off the backtracking line search for debugging (off = use a fixed timestep specified in the code) -
alpha
andbeta
: parameters for the backtracking line search (see code for a more detailed description) -
stopEps
: stopping condition sensitivity for gradient descent. Stop when magnitude of gradient is less thanstopEps
.
Found a problem or got a suggestion? Please open a GitHub issue and tag it with documentation
!