class cost_func {
public:
- cost_func(const char *param);
+ cost_func(const char* param);
~cost_func();
cost_func& operator=(const cost_func& ref);
std::string to_string();
private:
int degree;
- double *factor;
+ double* factor;
};
#endif // !COST_FUNC_H