- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# /home/coin/svn-release/Alps-1.5.2/Alps/src/AlpsAix43.h

Go to the documentation of this file.

    00001 /*===========================================================================*
    00002  * This file is part of the Abstract Library for Parallel Search (ALPS).     *
    00003  *                                                                           *
    00004  * ALPS is distributed under the Eclipse Public License as part of the       *
    00005  * COIN-OR repository (http://www.coin-or.org).                              *
    00006  *                                                                           *
    00007  * Authors:                                                                  *
    00008  *                                                                           *
    00009  *          Yan Xu, Lehigh University                                        *
    00010  *          Ted Ralphs, Lehigh University                                    *
    00011  *                                                                           *
    00012  * Conceptual Design:                                                        *
    00013  *                                                                           *
    00014  *          Yan Xu, Lehigh University                                        *
    00015  *          Ted Ralphs, Lehigh University                                    *
    00016  *          Laszlo Ladanyi, IBM T.J. Watson Research Center                  *
    00017  *          Matthew Saltzman, Clemson University                             *
    00018  *                                                                           *
    00019  *                                                                           *
    00020  * Copyright (C) 2001-2013, Lehigh University, Yan Xu, and Ted Ralphs.       *
    00021  *===========================================================================*/
    00022
    00023 #ifndef AlpsAix43_h
    00024 #define AlpsAix43_h
    00025
    00026 // AlpsAix43.h is modified from BCP_aix43.hpp
    00027 // This file is fully docified.
    00028 // There's nothing to docify...
    00029
    00030 #include <sys/time.h>         // for gettimeofday()
    00031 #include <sys/resource.h>     // for getrusage()
    00032
    00033 #include <unistd.h>           // for setpriority() and gethostname()
    00034 typedef int AlpsIndexType;
    00035
    00036 #if defined(__GNUC__)
    00037
    00038 #  define NEED_IMPLICIT_TEMPLATE_FUNCTIONS 1
    00039 #  define NEED_IMPLICIT_TEMPLATE_CLASSES 1
    00040 #  define AlpsPtrDiff       long
    00041 #  define ALPS_CONSTRUCT     std::construct
    00042 #  define ALPS_DESTROY       std::destroy
    00043 #  define ALPS_DESTROY_RANGE std::destroy
    00044
    00045 #elif defined(__IBMCPP__) && (__IBMCPP__ >= 5)
    00046
    00047 #  define AlpsPtrDiff       long
    00048 #  define ALPS_CONSTRUCT     std::_Construct
    00049 #  define ALPS_DESTROY       std::_Destroy
    00050 #  define ALPS_DESTROY_RANGE(first, last)       \
    00051           if (first != last)                    \
    00052              do {                               \
    00053                 std::_Destroy(--last);          \
    00054              } while (first != last);
    00055 #endif
    00056
    00057 #endif