File: Bias.h

package info (click to toggle)
freebayes 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,628 kB
  • sloc: cpp: 121,209; ansic: 3,925; sh: 911; python: 455; asm: 271; makefile: 213; perl: 27
file content (30 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef BIAS_H
#define BIAS_H

#include <map>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cstdlib>
#include "split.h"

using namespace std;

class Bias {
    
    int minLength;
    int maxLength;
    vector<long double> biases;

public:

    Bias(void) : minLength(0), maxLength(0) { }
    void open(string& file);
    long double bias(int length);
    bool empty(void);

};


#endif