44#include <unordered_map>
60static const std::unordered_map<std::string, ShipCategory>
cat_dict = {
78 const ShipCategory &cat,
double freq,
double speed,
double length);
88double cargo_ship(
double freq,
double speed,
double length);
98double cargoL_ship(
double freq,
double speed,
double length);
108double cruise_ship(
double freq,
double speed,
double length);
118double ferry(
double freq,
double speed,
double length);
136double auv(
double freq);
double cargoL_ship(double freq, double speed, double length)
Compute the sound level of a long cargo ship.
double ferry(double freq, double speed, double length)
Compute the sound level of a ferry.
double cargo_ship(double freq, double speed, double length)
Compute the sound level of a cargo ship.
double getNoisefromCategory(const ShipCategory &cat, double freq, double speed, double length)
Compute the sound level of a ship given the type.
static const std::unordered_map< std::string, ShipCategory > cat_dict
Dictionary of ship categories.
double fishing_vessel(double freq, double speed, double length)
Compute the sound level of a fishing vessel.
double auv(double freq)
Compute the sound level of an Autonomous Underwater Vehicle (AUV)
double cruise_ship(double freq, double speed, double length)
Compute the sound level of a cruise ship.
ShipCategory
Enum type representing the ship categories.