src/ModelConstants.cpp
adstring tcsam::getScaleType(int sclType){
    adstring type = "<UNDEFINED>";
    if (sclType==SCALE_ARITHM) return STR_SCALE_ARITHM;
    if (sclType==SCALE_LOGIT)  return STR_SCALE_LOGIT;
    if (sclType==SCALE_LOG)    return STR_SCALE_LOG;
    if (sclType==SCALE_PROBIT) return STR_SCALE_PROBIT;
    std::cout<<"transform type integer '"<<sclType<<"' not recognized."<<std::endl;
    std::cout<<"Aborting..."<<std::endl;
    ad_exit(-1);
    return type;
}
/**
 * Translate from integer scale type to adstring version.
 * 
 * @param sclType - integer scale type
 * @return  - corresponding adstring version
 */
Translate from integer scale type to adstring version.

@param sclType - integer scale type
@return  - corresponding adstring version
Translate from integer scale type to adstring version . @param sclType - integer scale type @return - corresponding adstring version
adstring tcsam::getScaleType(int sclType){
    adstring type = "<UNDEFINED>";
    if (sclType==SCALE_ARITHM) return STR_SCALE_ARITHM;
    if (sclType==SCALE_LOGIT)  return STR_SCALE_LOGIT;
    if (sclType==SCALE_LOG)    return STR_SCALE_LOG;
    if (sclType==SCALE_PROBIT) return STR_SCALE_PROBIT;
    std::cout<<"transform type integer '"<<sclType<<"' not recognized."<<std::endl;
    std::cout<<"Aborting..."<<std::endl;
    ad_exit(-1);
    return type;
}
adstring tcsam :: getScaleType ( int sclType ) { adstring type = " " ; if ( sclType == SCALE_ARITHM ) return STR_SCALE_ARITHM ; if ( sclType == SCALE_LOGIT ) return STR_SCALE_LOGIT ; if ( sclType == SCALE_LOG ) return STR_SCALE_LOG ; if ( sclType == SCALE_PROBIT ) return STR_SCALE_PROBIT ; std :: cout << " " << sclType << " " << std :: endl ; std :: cout << " " << std :: endl ; ad_exit ( -1 ) ; return type ; }
Translate from integer scale type to adstring version.
Translate from integer scale type to adstring version .