Lines Matching refs:complexity
23 #include "complexity.h"
28 BigOFunc* FittingCurve(BigO complexity) {
29 switch (complexity) {
46 // Function to return an string for the calculated complexity
47 std::string GetBigOString(BigO complexity) {
48 switch (complexity) {
94 result.complexity = oLambda;
96 // Calculate complexity.
117 // - complexity : If different than oAuto, the fitting curve will stick to
121 const std::vector<double>& time, const BigO complexity) {
125 CHECK_NE(complexity, oNone);
129 if (complexity == oAuto) {
134 best_fit.complexity = o1;
141 best_fit.complexity = fit;
145 best_fit = MinimalLeastSq(n, time, FittingCurve(complexity));
146 best_fit.complexity = complexity;
175 if (reports[0].complexity == oLambda) {
179 result_cpu = MinimalLeastSq(n, cpu_time, reports[0].complexity);
180 result_real = MinimalLeastSq(n, real_time, result_cpu.complexity);
192 big_o.complexity = result_cpu.complexity;
210 rms.complexity = result_cpu.complexity;