Go to the documentation of this file.Go to the SVN repository for this file.
73 else { ntmn=ntmx=sai->
al[cs-1]+sli->
co[cs-1];
78 ntmn+= (lm1>lm2) ? lm1 : lm2;
81 ntmx+= (lm1>lm2) ? lm1 : lm2;
92 else { ctmn=ctmx=sai->
al[cs+1]-sli->
no[cs+1];
97 ctmx-= (lm1>lm2) ? lm1 : lm2;
100 ctmn-= (lm1>lm2) ? lm1 : lm2;
109 if(ntmn>ctmx||ntmx<ctmn)
return(0);
112 *mn=(ntmn>ctmn) ? ntmn : ctmn;
113 *mx=(ntmx<ctmx) ? ntmx : ctmx;
118 if(qsq->
sac.
mn[cs]>0) {
120 if(lm1>*mx)
return(0);
121 if(lm1>*mn) *mn=lm1;}
123 if(qsq->
sac.
mx[cs]>0) {
125 if(lm1<*mn)
return(0);
126 if(lm1<*mx) *mx=lm1; }
int salr(Cor_Def *cdf, Qry_Seq *qsq, Cur_Loc *sli, Cur_Aln *sai, int cs, int *mn, int *mx)