Skip to content
This repository
tree: 7527592aaf
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 25 lines (18 sloc) 0.4 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef _ERROR_SURFACE_H_
#define _ERROR_SURFACE_H_

#include <vector>
#include <string>

#include "ns.h"

class Score;

struct ErrorSegment {
  double x;
  SufficientStats delta;
  ErrorSegment() : x(0), delta() {}
};

class ErrorSurface : public std::vector<ErrorSegment> {
 public:
  ~ErrorSurface();
  void Serialize(std::string* out) const;
  void Deserialize(const std::string& in);
};

#endif
Something went wrong with that request. Please try again.