1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2026-01-01 09:19:28 +00:00

minor code cleaning

This commit is contained in:
2016-03-16 18:33:06 +00:00
parent 2eb70aa975
commit 313a730bb2
5 changed files with 25 additions and 29 deletions

View File

@@ -51,7 +51,7 @@ private:
} Layout;
public:
// constructor
FitInterface(void);
FitInterface(void) = default;
// destructor
virtual ~FitInterface(void) = default;
// add dimensions
@@ -92,6 +92,8 @@ public:
bool isFitPoint(const Index k, const Index j) const;
// make correlation filter for fit variance matrix
DMat makeCorrFilter(void);
// schedule variance matrix initialization
void scheduleFitVarMatInit(const bool init = true);
// IO
friend std::ostream & operator<<(std::ostream &out, FitInterface &f);
protected:
@@ -101,11 +103,10 @@ protected:
static void addCorr(std::set<std::array<Index, 4>> &s, const bool isCorr,
const std::array<Index, 4> &c);
// abstract methods to create data containers
virtual void createXData(const Index nData) = 0;
virtual void createYData(void) = 0;
virtual void createXData(const std::string name, const Index nData) = 0;
virtual void createYData(const std::string name) = 0;
// global layout management
void scheduleLayoutInit(void);
void scheduleFitVarMatInit(const bool init = true);
bool initVarMat(void);
void updateLayout(void);
Index indX(const Index r, const Index i) const;