// Copyright (c) 2014 - 2025, The Trustees of Indiana University, Tulane University.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef TOPPIC_TOPFD_ECSCORE_ENV_SET_ENV_SET_UTIL_HPP
#define TOPPIC_TOPFD_ECSCORE_ENV_SET_ENV_SET_UTIL_HPP

#include <vector>

#include "ms/msmap/ms_map.hpp"
#include "topfd/ecscore/env_set/env_set.hpp"
#include "topfd/ecscore/para/ecscore_para.hpp"

namespace toppic {

namespace env_set_util {

EnvSetPtr searchEnvSet(MsMapPtr ms_map_ptr, SeedEnvPtr seed_ptr,
                       EcscoreParaPtr para_ptr, double sn_ratio);

EnvSetPtr searchEnvSet(MsMapPtr ms_map_ptr, SeedEnvPtr seed_ptr,
                       int center_spec_id, int start_spec_id, int end_spec_id,
                       EcscoreParaPtr para_ptr, double sn_ratio);

}  // namespace env_set_util

}  // namespace toppic
#endif
