|
__init__(self,
l_texte1,
algoAlign='
' ,
long_min_pivots=1,
seuil_remplacement=0.5,
coeff=None,
sep=True)
Constructeur |
source code
|
|
|
|
|
|
|
extractMinMax(self,
liste)
Extrait d'une liste le + petit et le + grand bloc situé avant et
après chaque position i de cette liste dicoMinMax[0][i] = bloc le +
petit avant la bloc i dicoMinMax[1][i] = bloc le + grand avant la
bloc i dicoMinMax[2][i] = bloc le + petit après la bloc i
dicoMinMax[3][i] = bloc le + grand après la bloc i |
source code
|
|
|
|
|
|
|
|
|
_appelAstar(self,
L1,
L2,
texte1,
texte2,
lt1)
Alignement A* entre les 2 séquences pre: isinstance(L1,list) and
isinstance(L2,list) and isinstance(texte1,str) and
isinstance(texte2,str) post: (len(__return__[0])==len(__return__[1]))
or (len(__return__[0])==len(__return__[1])+1) or
(len(__return__[0])+1==len(__return__[1])) |
source code
|
|
|
cout__(self,
(k, l),
(i, j),
diffSym,
((coutFixeRepeteT1, coutFixeNonRepeteT1), (coutFixeRepeteT2, coutFixeNonRepeteT2)),
bestValue,
dicoMinMax1,
dicoMinMax2,
lSuppression,
lInsertion,
arrayRepetT1,
arrayRepetT2) |
source code
|
|
|
cout(self,
(k, l),
(i, j),
diffSym,
((coutFixeRepeteT1, coutFixeNonRepeteT1), (coutFixeRepeteT2, coutFixeNonRepeteT2)),
bestValue,
dicoMinMax1,
dicoMinMax2,
lSuppression,
lInsertion,
arrayRepetT1,
arrayRepetT2)
calcul du cout d'un noeud |
source code
|
|
|
|
Inherited from AlignAstarRecur :
cleanDep ,
compute_alignement ,
deplacements_pond2 ,
remUnique ,
removeInclude ,
removeUnique ,
removeUnique__ ,
run
Inherited from AlignAstar2 :
deplacements_pond ,
deplacements_pond_Astar ,
deplacements_pond_Astar_ ,
difference_symetrique ,
getDiffSym ,
preTraitDiffSym2 ,
preTraitDiffSymVect ,
preTraitDiffSym_ ,
preTraitDiffSym__
Inherited from Align :
ass2__ ,
ass__ ,
lint2str ,
repetition ,
syserr
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|