SerializedKernelObservation.h
Go to the documentation of this file.
1 // (C) Copyright Renaud Detry 2007-2015.
2 // Distributed under the GNU General Public License and under the
3 // BSD 3-Clause License (See accompanying file LICENSE.txt).
4 
5 /** @file */
6 
7 #ifndef NUKLEI_KERNELOBSERVATION_H
8 #define NUKLEI_KERNELOBSERVATION_H
9 
10 
11 #include <vector>
12 #include <string>
13 #include <utility>
14 #include <stdexcept>
15 #include <iostream>
16 #include <boost/shared_ptr.hpp>
17 
18 #include <nuklei/Definitions.h>
19 #include <nuklei/Color.h>
20 #include <nuklei/LinearAlgebra.h>
21 #include <nuklei/Observation.h>
23 
24 
25 namespace nuklei {
26 
28  {
29  public:
30 
31  Type type() const { return SERIAL; }
32 
33  static const double TOL;
34 
35  NUKLEI_UNIQUE_PTR<kernel::base> getKernel() const
36  {
37  return k_->clone();
38  }
39 
40  void setKernel(const kernel::base& k)
41  {
42  NUKLEI_TRACE_BEGIN();
43  k_ = k;
44  NUKLEI_TRACE_END();
45  }
46 
50 
51  private:
53  };
54 
55 }
56 
57 #endif
Definition: Observation.h:17
Public namespace.
Definition: Color.cpp:9
Polymorphic kernel class.
Definition: Kernel.h:45
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:06.