double function ( double arg0 , int arg1 ) { if ( Double . isNaN ( m_Ranges [ arg1 ] [ R_MIN ] ) || Utils . eq ( m_Ranges [ arg1 ] [ R_MAX ] , m_Ranges [ arg1 ] [ R_MIN ] ) ) { return 0 ; } else { return ( arg0 - m_Ranges [ arg1 ] [ R_MIN ] ) / ( m_Ranges [ arg1 ] [ R_WIDTH ] ) ; } }
normalises a given value of a numeric attribute . concode_field_sep int R_MIN concode_elem_sep Instances m_Model concode_elem_sep int R_MAX concode_elem_sep int R_WIDTH concode_elem_sep double[][] m_Ranges concode_field_sep void checkInstances concode_elem_sep int closestPoint concode_elem_sep boolean valueIsSmallerEqual concode_elem_sep double distance concode_elem_sep double getMiddle concode_elem_sep String toString concode_elem_sep void updateRanges