Program Listing for File n_swath.h

Return to documentation for file (include/fields2cover/objectives/sg_obj/n_swath.h)

//=============================================================================
//    Copyright (C) 2021-2024 Wageningen University - All Rights Reserved
//                     Author: Gonzalo Mier
//                        BSD-3 License
//=============================================================================

#pragma once
#ifndef FIELDS2COVER_OBJECTIVES_N_SWATH_H_
#define FIELDS2COVER_OBJECTIVES_N_SWATH_H_

#include "fields2cover/types.h"
#include "fields2cover/objectives/sg_obj/sg_objective.h"

namespace f2c::obj {

class NSwath : public SGObjective {
 public:
  using SGObjective::computeCost;
  double computeCost(const F2CSwath& s) override;
  double computeCost(const F2CSwaths& swaths) override;
};

}  // namespace f2c::obj

#endif  // FIELDS2COVER_OBJECTIVES_N_SWATH_H_