mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-16 16:05:57 +00:00
Fix 2 code smell
This commit is contained in:
@@ -22,7 +22,7 @@ namespace mdlp {
|
||||
void computeCutPoints(size_t, size_t, int);
|
||||
bool mdlp(size_t, size_t, size_t);
|
||||
size_t getCandidate(size_t, size_t);
|
||||
size_t compute_max_num_cut_points();
|
||||
size_t compute_max_num_cut_points() const;
|
||||
pair<precision_t, size_t> valueCutPoint(size_t, size_t, size_t);
|
||||
public:
|
||||
CPPFImdlp();
|
||||
@@ -30,7 +30,7 @@ namespace mdlp {
|
||||
~CPPFImdlp();
|
||||
void fit(samples_t&, labels_t&);
|
||||
cutPoints_t getCutPoints();
|
||||
int get_depth();
|
||||
int get_depth() const;
|
||||
inline string version() { return "1.1.1"; };
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user