Changeset 2011 for GTP/trunk/Lib/Vis/Preprocessing/src/Mutation.h
- Timestamp:
- 01/22/07 15:31:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Mutation.h
r2001 r2011 57 57 58 58 float GetSamplingFactor() const { return mMutations/mImportance; } 59 60 friend bool operator<(const RayEntry &a, const RayEntry &b) { 61 return a.GetSamplingFactor() > b.GetSamplingFactor(); 62 } 63 59 64 RayEntry() {} 60 65 RayEntry(VssRay *r):mRay(r), … … 118 123 ); 119 124 120 RayEntry &GetEntry(const int index) { 121 return mRays[(mBufferStart+index)%mRays.size()]; 122 } 125 RayEntry &GetEntry(const int index); 126 123 127 124 128 vector<RayEntry> mRays;
Note: See TracChangeset
for help on using the changeset viewer.