bool AddLegalRange(std::string hi_val, std::string low_val)
Add a legal range for the parameter in string format. This function succeeds and returns true if the parameter can have legal ranges and false otherwise. Currently only int, float and double parameters can have legal ranges, and for these parameters inf and -inf are legal high and low values respectively.