[go: up one dir, main page]

Menu

[a7b38a]: / rmol / bom / EmsrUtils.hpp  Maximize  Restore  History

Download this file

34 lines (26 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __RMOL_EMSRUTILS_HPP
#define __RMOL_EMSRUTILS_HPP
// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// StdAir
#include <stdair/stdair_inventory_types.hpp>
// Forward declarations.
namespace stdair {
struct VirtualClassStruct;
}
namespace RMOL {
/** Forward declarations. */
class EmsrUtils {
public:
/** Compute the aggregated class/bucket of classes/buckets 1,..,j
for EMSR-b algorithm. */
static void computeAggregatedVirtualClass (stdair::VirtualClassStruct&,
stdair::VirtualClassStruct&);
/** Compute the protection level using the Little-Wood formular. */
static const stdair::ProtectionLevel_T computeProtectionLevel (stdair::VirtualClassStruct&, stdair::VirtualClassStruct&);
/** Compute the EMSR value of a class/bucket. */
static const double computeEmsrValue (double, stdair::VirtualClassStruct&);
};
}
#endif // __RMOL_EMSRUTILS_HPP