Definition at line 50 of file RandomGenerator.h. References GenerateInt(). 00051 { 00052 int endIndex = items.size(); 00053 while(endIndex > 1) 00054 { 00055 endIndex--; 00056 int pick = GenerateInt(endIndex); 00057 int temp = items[pick]; 00058 items[pick] = items[endIndex]; 00059 items[endIndex] = temp; 00060 } 00061 }
Here is the call graph for this function:
|