The RMOL
library contains classes for revenue management. This document does not cover all the aspects of the RMOL
library. It does however explain the most important things you need to know in order to start using RMOL
.
To build RMOL, go to the top directory (where the RMOL package has been un-packed), and issue the following commands only once:
$ export INSTALL_BASEDIR=~/dev/deliveries $ export RMOL_VER=99.99.99 $ if [ -d /usr/lib64 ]; then LIBSUFFIX=64; fi $ export LIBSUFFIX_4_CMAKE="-DLIB_SUFFIX=$LIBSUFFIX" $ rm -rf build && mkdir build && cd build $ cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_BASEDIR}/rmol-$RMOL_VER \ -DCMAKE_BUILD_TYPE:STRING=Debug -DENABLE_TEST:BOOL=ON \ -DINSTALL_DOC:BOOL=ON -DRUN_GCOV:BOOL=OFF ${LIBSUFFIX_4_CMAKE} ..
Then, everytime you change the source code:
$ make check
When everything is fine, install RMOL locally:
$ make install
RMOL
predefines a BOM (Business Object Model) tree specific to the airline IT arena.