Searched refs:cost (Results 1 – 9 of 9) sorted by relevance
42 float cost = 0.0f; in getTerminalSpatialCost() local44 cost += ScoringParams::HAS_MULTI_WORD_TERMINAL_COST; in getTerminalSpatialCost()47 cost += ScoringParams::HAS_PROXIMITY_TERMINAL_COST; in getTerminalSpatialCost()50 cost += ScoringParams::HAS_EDIT_CORRECTION_TERMINAL_COST; in getTerminalSpatialCost()52 return cost; in getTerminalSpatialCost()61 float cost = 0.0f; in getOmissionCost() local63 cost = 0.0f; in getOmissionCost()65 cost = ScoringParams::INTENTIONAL_OMISSION_COST; in getOmissionCost()67 cost = ScoringParams::OMISSION_COST_FIRST_CHAR; in getOmissionCost()69 cost = sameCodePoint ? ScoringParams::OMISSION_COST_SAME_CHAR in getOmissionCost()[all …]
75 int cost = sourceToken.prefixOf(targetToken) ? 0 : 1; in calculate() local87 if (d + cost < distance) { in calculate()88 distance = d + cost; in calculate()89 type = cost == 0 ? EDIT_UNCHANGED : EDIT_REPLACE; in calculate()
97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2); in db_RobImageHomography_Statistics()104 …stat->gric=stat->cost+stat->lambda1*stat->model_dimension*((double)stat->nr_points)+stat->lambda2*… in db_RobImageHomography_Statistics()230 double lambda,cost,current_cost; in db_RobCamRotation_Polish() local253 cost=db_RobImageHomography_Cost(H_p_dx,point_count,x_i,xp_i,one_over_scale2); in db_RobCamRotation_Polish()256 if(cost<current_cost) in db_RobCamRotation_Polish()259 if(current_cost-cost<current_cost*improvement_requirement) stop++; in db_RobCamRotation_Polish()263 current_cost=cost; in db_RobCamRotation_Polish()572 double lambda,cost,current_cost; in db_RobCamRotation_Polish_Generic() local597 cost=db_RobImageHomography_Cost(H_p_dx,point_count,x_i,xp_i,one_over_scale2); in db_RobCamRotation_Polish_Generic()600 if(cost<current_cost) in db_RobCamRotation_Polish_Generic()[all …]
181 double cost,best_cost; in db_StitchRotationCommonFocalLength_3Points() local214 cost=db_SquaredReprojectionErrorHomography(y,hyp_point,x3); in db_StitchRotationCommonFocalLength_3Points()216 if(!done || cost<best_cost) in db_StitchRotationCommonFocalLength_3Points()219 best_cost=cost; in db_StitchRotationCommonFocalLength_3Points()
43 double cost; member
83 const float cost = static_cast<float>(MAX_PROBABILITY - wordAttributes.getProbability()) in getBigramNodeImprobability() local85 return cost; in getBigramNodeImprobability()
1014 # cost of reduced performance. This can be particularly helpful with template
META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...