double function ( double arg0 , int arg1 ) { DoubleRange loc0 = task_spec . getContinuousObservationRange ( arg1 ) ; return ( arg0 - loc0 . getMin ( ) ) / ( loc0 . getMax ( ) - loc0 . getMin ( ) ) ; }
scale a state variable to between 0 and 1 . this is required for the fourier basis . concode_field_sep int Order concode_elem_sep int NVariables concode_elem_sep double multipliers[][] concode_elem_sep double alpha_scale[] concode_elem_sep double phi[] concode_elem_sep boolean use_alpha_scaling concode_elem_sep double weights[] concode_elem_sep TaskSpec task_spec concode_elem_sep int nterms concode_elem_sep FourierCoefficientGenerator Generator concode_field_sep void addToWeights concode_elem_sep double computeAlphaScale concode_elem_sep void setValue concode_elem_sep int getNumBasisFunctions concode_elem_sep double valueAt concode_elem_sep LinearFA duplicate concode_elem_sep void initialize concode_elem_sep void setWeights concode_elem_sep double[] computeFeatures