mets.hh
Go to the documentation of this file.
00001 // METS lib source file - mets.h                               -*- C++ -*-
00002 //
00003 /*
00004  * Software License Agreement (BSD License)
00005  *
00006  *  Copyright (c) 2006-2012, Mirko Maischberger <mirko.maischberger@gmail.com>
00007  *  All rights reserved.
00008  *
00009  *  Redistribution and use in source and binary forms, with or without
00010  *  modification, are permitted provided that the following conditions
00011  *  are met:
00012  *
00013  *   * Redistributions of source code must retain the above copyright
00014  *     notice, this list of conditions and the following disclaimer.
00015  *   * Redistributions in binary form must reproduce the above
00016  *     copyright notice, this list of conditions and the following
00017  *     disclaimer in the documentation and/or other materials provided
00018  *     with the distribution.
00019  *
00020  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00021  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00022  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00023  *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00024  *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00025  *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00026  *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00027  *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00028  *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00029  *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00030  *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00031  *  POSSIBILITY OF SUCH DAMAGE.
00032  *
00033  */
00105 #ifndef METS_METS_HH_
00106 #define METS_METS_HH_
00107 
00108 #include "metslib_config.hh"
00109 
00110 #include <list>
00111 #include <cmath>
00112 #include <deque>
00113 #include <limits>
00114 #include <string>
00115 #include <vector>
00116 #include <cassert>
00117 #include <typeinfo>
00118 #include <iostream>
00119 #include <stdexcept>
00120 #include <algorithm>
00121 
00122 #if defined (METSLIB_TR1_BOOST)
00123 #  include <boost/random/uniform_int.hpp>
00124 #  include <boost/random/uniform_real.hpp>
00125 #  include <boost/unordered_map.hpp>
00126 #elif defined (METSLIB_HAVE_UNORDERED_MAP)
00127 #  include <unordered_map>
00128 #  include <random>
00129 #elif defined (METSLIB_HAVE_TR1_UNORDERED_MAP)
00130 #  include <tr1/unordered_map>
00131 #  include <tr1/random>
00132 #else
00133 #  error "Unable to find unordered_map header file. Please use a recent C++ compiler supporting TR1 extension."
00134 #endif
00135 
00136 
00144 
00145 #include "observer.hh"
00146 #include "model.hh"
00147 #include "termination-criteria.hh"
00148 #include "abstract-search.hh"
00149 #include "local-search.hh"
00150 #include "tabu-search.hh"
00151 #include "simulated-annealing.hh"
00152 
00153 
00154 //________________________________________________________________________
00155 inline std::ostream& 
00156 operator<<(std::ostream& os, const mets::printable& p)
00157 {
00158   p.print(os);
00159   return os;
00160 }
00161 
00162 #endif


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:25:33