
1: #ifndef _sorter_h_included_ 2: #define _sorter_h_included_ 3: 4: /* candswap.c */ 5: /* 一位として出した候補ではない候補がコミットされた */ 6: void anthy_swap_cand_ent(struct cand_ent *old_one, struct cand_ent *new_one); 7: /**/ 8: void anthy_proc_swap_candidate(struct seg_ent *se); 9: /* コミット時にcandswapの記録をagingする */ 10: void anthy_cand_swap_ageup(void); 11: 12: /**/ 13: void anthy_reorder_candidates_by_relation(struct segment_list *sl, int nth); 14: 15: void anthy_learn_cand_history(struct segment_list *sl); 16: void anthy_reorder_candidates_by_history(struct seg_ent *se); 17: 18: #endif