.. _program_listing_file_fields2cover_objectives_sg_obj_swath_length.h: Program Listing for File swath_length.h ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``fields2cover/objectives/sg_obj/swath_length.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp //============================================================================= // Copyright (C) 2021-2024 Wageningen University - All Rights Reserved // Author: Gonzalo Mier // BSD-3 License //============================================================================= #pragma once #ifndef FIELDS2COVER_OBJECTIVES_SWATH_LENGTH_H_ #define FIELDS2COVER_OBJECTIVES_SWATH_LENGTH_H_ #include #include "fields2cover/types.h" #include "fields2cover/objectives/sg_obj/sg_objective.h" namespace f2c::obj { class SwathLength : public SGObjective { public: using SGObjective::computeCost; double computeCost(const F2CSwath& s) override; }; } // namespace f2c::obj #endif // FIELDS2COVER_OBJECTIVES_SWATH_LENGTH_H_