Searched refs:cost_m (Results 1 – 1 of 1) sorted by relevance
103 Matrix * cost_m; member in GoalStats113 GoalStats(): stats(NULL), cost_m(NULL), calculated(false) {} in GoalStats()114 ~GoalStats() { delete stats; delete cost_m; } in ~GoalStats()143 cost_m = new Matrix(types.size(), 0); in CompileStatsIntoVector()159 cost_m->IncN(); in RegisterParameter()170 cost_m->At(type_id, param_id) = cost; in SetParameterStat()175 printf("Cost matrix:\n%s\n", cost_m->ToString().c_str()); in CalculateAndApplyParameters()178 Vector params = EstimateParameters(*cost_m, *stats, 0.0005, &iterations); in CalculateAndApplyParameters()191 printf("Est. stats: %s\n", cost_m->MultiplyRight(params).ToString().c_str()); in CalculateAndApplyParameters()