Home
last modified time | relevance | path

Searched refs:cost (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.h42 float cost = 0.0f; in getTerminalSpatialCost() local
44 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() local
63 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 …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp97 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() local
253 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() local
597 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 …]
Ddb_image_homography.cpp181 double cost,best_cost; in db_StitchRotationCommonFocalLength_3Points() local
214 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()
Ddb_robust.h43 double cost; member
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java75 int cost = sourceToken.prefixOf(targetToken) ? 0 : 1; in calculate() local
87 if (d + cost < distance) { in calculate()
88 distance = d + cost; in calculate()
89 type = cost == 0 ? EDIT_UNCHANGED : EDIT_REPLACE; in calculate()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_utils.cpp83 const float cost = static_cast<float>(MAX_PROBABILITY - wordAttributes.getProbability()) in getBigramNodeImprobability() local
85 return cost; in getBigramNodeImprobability()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in1014 # cost of reduced performance. This can be particularly helpful with template
/packages/apps/TV/res/raw/
Dthird_party_licenses3168 than the cost of performing this distribution.
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses11755 basis of media cost, duplication charges, time of people involved,
/packages/inputmethods/LatinIME/dictionaries/
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dro_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dit_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz