BEASTObject that performs calculations based on the State.
Base class for Script-BEAST interoperation
Logable: yes, this can be used in a log.
value, expression, x, argnames, engine
 
type: java.lang.String |
Script script needed for the calculations. It assumes there is a function f defined, which returns a single number or array of numbers. |
Either this, or expression needs to be specified |
 
type: java.lang.String |
expression representing the calculations |
Either this, or value needs to be specified |
 
type: beast.base.core.Function*** |
Parameters needed for the calculations |
Optional input |
 
type: java.lang.String |
names of arguments used in expression (space delimited), order as given by XML |
Optional input |
 
type: beastlabs.util.Script$Engine |
Script needed for the calculations (one of [JavaScript, python, jruby, groovy] default Javascript) |
Optional input |