g-pehage.ads
11 KB
-
g-pehage.ads, [...] (Select_Char_Position): When no character position set is provided... · 1f5a9324
2005-09-01 Laurent Pautet <pautet@adacore.com> * g-pehage.ads, g-pehage.adb (Select_Char_Position): When no character position set is provided, we compute one in order to reduce the maximum length of the keys. This computation first selects a character position between 1 and the minimum length of the keys in order to avoid reducing one of the keys to an empty string. (Initialize, Compute): When the ratio V to K is too low, the algorithm does not converge. The initialization procedure now comes with a maximum number of iterations such that when exceeded, an exception is raised in Compute. The user can initialize this ratio to another value and try again Reformating and updated headers. From-SVN: r103867
Laurent Pautet committed