<commit_before>#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <qwt_picker.h>
#include <qwt_plot_picker.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_enableSizeButton_clicked();

private:
    Ui::MainWindow *ui;
    double **xnPlus, **xnMinus, **ynPlus, **ynMinus;
    QwtPlotPicker *picker;

private:
    void initArrays();
    void initTauComboBox();
    void initQwtPlot();
    void initQwtPlotPicker();
    double func1(double xn, double yn);
    double func2(double xn);
    void buildTrajectory(int idTraj);
};

#endif // MAINWINDOW_H<commit_msg>Add x0, y0 fields in class.<commit_after>#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <qwt_picker.h>
#include <qwt_plot_picker.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_enableSizeButton_clicked();

private:
    Ui::MainWindow *ui;
    double **xnPlus, **xnMinus, **ynPlus, **ynMinus;
    double x0, y0;
    QwtPlotPicker *picker;

private:
    void initArrays();
    void initTauComboBox();
    void initQwtPlot();
    void initQwtPlotPicker();
    double func1(double xn, double yn);
    double func2(double xn);
    void buildTrajectory(int idTraj);
};

#endif // MAINWINDOW_H
{'fraction_non_alphanumeric': 0.11282740094022835, 'fraction_numerical': 0.006715916722632639, 'mean_word_length': 4.246478873239437, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2299206', 'n_tokens_mistral': 546, 'n_tokens_neox': 539, 'n_words': 129}