00001 00011 #ifndef SPATIAL_TEMPORAL_LEARNING_WORLDLIB_MODEL_PLACEMENT_MODEL_H_ 00012 #define SPATIAL_TEMPORAL_LEARNING_WORLDLIB_MODEL_PLACEMENT_MODEL_H_ 00013 00014 // worldlib 00015 #include "../world/Placement.h" 00016 00017 namespace rail 00018 { 00019 namespace spatial_temporal_learning 00020 { 00021 namespace worldlib 00022 { 00023 namespace model 00024 { 00025 00032 class PlacementModel 00033 { 00034 public: 00046 PlacementModel(const world::Placement &placement, const double decision_value, const double sigma_x, 00047 const double sigma_y, const double sigma_theta); 00048 00056 const world::Placement &getPlacement() const; 00057 00065 world::Placement &getPlacement(); 00066 00074 void setPlacement(const world::Placement &placement); 00075 00083 double getDecisionValue() const; 00084 00092 void setDecisionValue(const double decision_value); 00093 00101 double getSigmaX() const; 00102 00110 void setSigmaX(const double sigma_x); 00111 00119 double getSigmaY() const; 00120 00128 void setSigmaY(const double sigma_y); 00129 00137 double getSigmaTheta() const; 00138 00146 void setSigmaTheta(const double sigma_theta); 00147 00148 private: 00150 world::Placement placement_; 00152 double decision_value_, sigma_x_, sigma_y_, sigma_theta_; 00153 }; 00154 00155 } 00156 } 00157 } 00158 } 00159 00160 #endif