[mlpack-svn] [MLPACK] #118: Use consistent accessors and mutators
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Thu Oct 27 14:41:50 EDT 2011
#118: Use consistent accessors and mutators
------------------------------------------+---------------------------------
Reporter: rcurtin | Owner:
Type: wishlist | Status: new
Priority: major | Milestone: MLPACK 1.0
Component: MLPACK | Resolution:
Keywords: mlpack getter setter public | Blocking: 120
Blocked By: |
------------------------------------------+---------------------------------
Comment (by rcurtin):
I think I may have found a potential exception to the scheme, but I am
curious what others think of this:
{{{
class Range
{
public:
double lo;
double hi;
...
}
}}}
The Range class, of course, just stores an upper and lower bound. If we
declare inline functions to get and set them, are we possibly paying any
performance penalty? Can anyone answer that question offhand before I
have to sit down and verify that?
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/118#comment:8>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.
More information about the mlpack-svn
mailing list