Advertisement
Guest User

Untitled

a guest
Jun 15th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. namespace mlpack {
  2. namespace structured_tree {
  3.  
  4. //please give it a better name, it is quite hard to come up a good name
  5. class TreeOptions
  6. {
  7.   public:
  8.     TreeOptions(); //default constructor
  9.  
  10.     void NumImages(size_t value) { numImages = value; }
  11.     size_t NumImages() const { return numImages; }
  12.  
  13.    //other member functions
  14.  
  15.   private:
  16.     size_t numImages;
  17.     //other data members
  18. };
  19.  
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement