diff options
Diffstat (limited to 'src-ordering/sorter.h')
-rw-r--r-- | src-ordering/sorter.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src-ordering/sorter.h b/src-ordering/sorter.h new file mode 100644 index 0000000..d8e6648 --- /dev/null +++ b/src-ordering/sorter.h @@ -0,0 +1,18 @@ +#ifndef _sorter_h_included_ +#define _sorter_h_included_ + +/* candswap.c */ +/* 一位として出した候補ではない候補がコミットされた */ +void anthy_swap_cand_ent(struct cand_ent *old_one, struct cand_ent *new_one); +/**/ +void anthy_proc_swap_candidate(struct seg_ent *se); +/* コミット時にcandswapの記録をagingする */ +void anthy_cand_swap_ageup(void); + +/**/ +void anthy_reorder_candidates_by_relation(struct segment_list *sl, int nth); + +void anthy_learn_cand_history(struct segment_list *sl); +void anthy_reorder_candidates_by_history(struct seg_ent *se); + +#endif |