File: LISSizeWeightorImpl.hpp

package info (click to toggle)
pbseqlib 5.3.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,020 kB
  • sloc: cpp: 77,246; python: 331; sh: 103; makefile: 42
file content (14 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _BLASR_LISSIZE_WEIGHTOR_IMPL_HPP_
#define _BLASR_LISSIZE_WEIGHTOR_IMPL_HPP_

template <typename T_MatchList>
MatchWeight LISSizeWeightor<T_MatchList>::operator()(T_MatchList &matchList)
{
    MatchWeight size = 0;
    VectorIndex i;
    for (i = 0; i < matchList.size(); i++) {
        size += matchList[i].GetLength();
    }
    return size;
}
#endif