PlacementModel.cpp
Go to the documentation of this file.
00001 
00011 // worldlib
00012 #include "worldlib/model/PlacementModel.h"
00013 
00014 using namespace std;
00015 using namespace rail::spatial_temporal_learning::worldlib::model;
00016 using namespace rail::spatial_temporal_learning::worldlib::world;
00017 
00018 PlacementModel::PlacementModel(const Placement &placement, const double decision_value, const double sigma_x,
00019     const double sigma_y, const double sigma_theta) : placement_(placement)
00020 {
00021   decision_value_ = decision_value;
00022   sigma_x_ = sigma_x;
00023   sigma_y_ = sigma_y;
00024   sigma_theta_ = sigma_theta;
00025 }
00026 
00027 const Placement &PlacementModel::getPlacement() const
00028 {
00029   return placement_;
00030 }
00031 
00032 Placement &PlacementModel::getPlacement()
00033 {
00034   return placement_;
00035 }
00036 
00037 void PlacementModel::setPlacement(const Placement &placement)
00038 {
00039   placement_ = placement;
00040 }
00041 
00042 double PlacementModel::getDecisionValue() const
00043 {
00044   return decision_value_;
00045 }
00046 
00047 void PlacementModel::setDecisionValue(const double decision_value)
00048 {
00049 
00050   decision_value_ = decision_value;
00051 }
00052 
00053 double PlacementModel::getSigmaX() const
00054 {
00055   return sigma_x_;
00056 }
00057 
00058 void PlacementModel::setSigmaX(const double sigma_x)
00059 {
00060   sigma_x_ = sigma_x;
00061 }
00062 
00063 double PlacementModel::getSigmaY() const
00064 {
00065   return sigma_y_;
00066 }
00067 
00068 void PlacementModel::setSigmaY(const double sigma_y)
00069 {
00070   sigma_y_ = sigma_y;
00071 }
00072 
00073 double PlacementModel::getSigmaTheta() const
00074 {
00075   return sigma_theta_;
00076 }
00077 
00078 void PlacementModel::setSigmaTheta(const double sigma_theta)
00079 {
00080   sigma_theta_ = sigma_theta;
00081 }


worldlib
Author(s): Russell Toris
autogenerated on Fri Feb 12 2016 00:24:19