/**
 * \file core/spoms/interpretationbackup.h
 * \date 16/02/2026
 * \author Aurélien Berthier, BENOIST Emile, TESSIER Dominique
 * \brief store alignment interpretations for precise alignment
 */


/*
 * PeptidOMS, Spectra to protein alignment tool
 * Copyright (C) 2026  Olivier Langella
 * <olivier.langella@cnrs.fr>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#pragma once

namespace pappso
{
namespace spoms
{

class InterpretationBackup
{


  public:
  InterpretationBackup(int initialization_score);
  InterpretationBackup(const InterpretationBackup &other);
  virtual ~InterpretationBackup();


  void tryImprove(int score_in, int line_number_in, int column_number_in);

  int getLineNumber() const;

  int getColumnNumber() const;

  int getScore() const;


  private:
  int line_number   = -1;
  int column_number = -1;
  int score         = 0;
};

} // namespace spoms
} // namespace pappso
