MRPT  2.0.4
List of all members | Public Member Functions | Public Attributes
mrpt::maps::TRandomFieldCell Struct Reference

Detailed Description

The contents of each cell in a CRandomFieldGridMap2D map.

Definition at line 36 of file CRandomFieldGridMap2D.h.

#include <mrpt/maps/CRandomFieldGridMap2D.h>

Public Member Functions

 TRandomFieldCell (double kfmean_dm_mean=1e-20, double kfstd_dmmeanw=0)
 Constructor. More...
 
double & kf_mean ()
 [KF-methods only] The mean value of this cell More...
 
const double & kf_mean () const
 
double & dm_mean ()
 [Kernel-methods only] The cumulative weighted readings of this cell More...
 
const double & dm_mean () const
 
double & gmrf_mean ()
 [GMRF only] The mean value of this cell More...
 
const double & gmrf_mean () const
 
double & kf_std ()
 [KF-methods only] The standard deviation value of this cell More...
 
const double & kf_std () const
 
double & dm_mean_w ()
 [Kernel-methods only] The cumulative weights (concentration = alpha More...
 
const double & dm_mean_w () const
 
double & gmrf_std ()
 
const double & gmrf_std () const
 

Public Attributes

double param1_ = 0
 
double param2_ = 0
 
double dmv_var_mean {0}
 [Kernel DM-V only] The cumulative weighted variance of this cell More...
 
mrpt::system::TTimeStamp last_updated
 [Dynamic maps only] The timestamp of the last time the cell was updated More...
 
double updated_std
 [Dynamic maps only] The std cell value that was updated (to be used in the Forgetting_curve More...
 

Constructor & Destructor Documentation

◆ TRandomFieldCell()

mrpt::maps::TRandomFieldCell::TRandomFieldCell ( double  kfmean_dm_mean = 1e-20,
double  kfstd_dmmeanw = 0 
)
inline

Constructor.

Definition at line 39 of file CRandomFieldGridMap2D.h.

Member Function Documentation

◆ dm_mean() [1/2]

double& mrpt::maps::TRandomFieldCell::dm_mean ( )
inline

[Kernel-methods only] The cumulative weighted readings of this cell

Definition at line 63 of file CRandomFieldGridMap2D.h.

References param1_.

Referenced by mrpt::maps::CRandomFieldGridMap2D::computeMeanCellValue_DM_DMV(), and mrpt::maps::CRandomFieldGridMap2D::insertObservation_KernelDM_DMV().

Here is the caller graph for this function:

◆ dm_mean() [2/2]

const double& mrpt::maps::TRandomFieldCell::dm_mean ( ) const
inline

Definition at line 64 of file CRandomFieldGridMap2D.h.

References param1_.

◆ dm_mean_w() [1/2]

double& mrpt::maps::TRandomFieldCell::dm_mean_w ( )
inline

[Kernel-methods only] The cumulative weights (concentration = alpha

  • dm_mean / dm_mean_w + (1-alpha)*r0 )

Definition at line 76 of file CRandomFieldGridMap2D.h.

References param2_.

Referenced by mrpt::maps::CRandomFieldGridMap2D::computeConfidenceCellValue_DM_DMV(), mrpt::maps::CRandomFieldGridMap2D::computeMeanCellValue_DM_DMV(), mrpt::maps::CRandomFieldGridMap2D::computeVarCellValue_DM_DMV(), and mrpt::maps::CRandomFieldGridMap2D::insertObservation_KernelDM_DMV().

Here is the caller graph for this function:

◆ dm_mean_w() [2/2]

const double& mrpt::maps::TRandomFieldCell::dm_mean_w ( ) const
inline

Definition at line 77 of file CRandomFieldGridMap2D.h.

References param2_.

◆ gmrf_mean() [1/2]

double& mrpt::maps::TRandomFieldCell::gmrf_mean ( )
inline

[GMRF only] The mean value of this cell

Definition at line 66 of file CRandomFieldGridMap2D.h.

References param1_.

Referenced by mrpt::maps::CRandomFieldGridMap2D::getAsMatrix(), and mrpt::maps::CRandomFieldGridMap2D::saveMetricMapRepresentationToFile().

Here is the caller graph for this function:

◆ gmrf_mean() [2/2]

const double& mrpt::maps::TRandomFieldCell::gmrf_mean ( ) const
inline

Definition at line 67 of file CRandomFieldGridMap2D.h.

References param1_.

◆ gmrf_std() [1/2]

double& mrpt::maps::TRandomFieldCell::gmrf_std ( )
inline

Definition at line 78 of file CRandomFieldGridMap2D.h.

References param2_.

Referenced by mrpt::maps::CRandomFieldGridMap2D::saveMetricMapRepresentationToFile().

Here is the caller graph for this function:

◆ gmrf_std() [2/2]

const double& mrpt::maps::TRandomFieldCell::gmrf_std ( ) const
inline

Definition at line 79 of file CRandomFieldGridMap2D.h.

References param2_.

◆ kf_mean() [1/2]

double& mrpt::maps::TRandomFieldCell::kf_mean ( )
inline

◆ kf_mean() [2/2]

const double& mrpt::maps::TRandomFieldCell::kf_mean ( ) const
inline

Definition at line 60 of file CRandomFieldGridMap2D.h.

References param1_.

◆ kf_std() [1/2]

double& mrpt::maps::TRandomFieldCell::kf_std ( )
inline

[KF-methods only] The standard deviation value of this cell

Definition at line 72 of file CRandomFieldGridMap2D.h.

References param2_.

Referenced by mrpt::maps::CRandomFieldGridMap2D::getAs3DObject(), mrpt::maps::CRandomFieldGridMap2D::predictMeasurement(), mrpt::maps::CRandomFieldGridMap2D::resize(), mrpt::maps::CRandomFieldGridMap2D::saveAsMatlab3DGraph(), and mrpt::maps::CRandomFieldGridMap2D::saveMetricMapRepresentationToFile().

Here is the caller graph for this function:

◆ kf_std() [2/2]

const double& mrpt::maps::TRandomFieldCell::kf_std ( ) const
inline

Definition at line 73 of file CRandomFieldGridMap2D.h.

References param2_.

Member Data Documentation

◆ dmv_var_mean

double mrpt::maps::TRandomFieldCell::dmv_var_mean {0}

[Kernel DM-V only] The cumulative weighted variance of this cell

Definition at line 82 of file CRandomFieldGridMap2D.h.

Referenced by mrpt::maps::CRandomFieldGridMap2D::computeVarCellValue_DM_DMV(), and mrpt::maps::CRandomFieldGridMap2D::insertObservation_KernelDM_DMV().

◆ last_updated

mrpt::system::TTimeStamp mrpt::maps::TRandomFieldCell::last_updated

[Dynamic maps only] The timestamp of the last time the cell was updated

Definition at line 86 of file CRandomFieldGridMap2D.h.

◆ param1_

double mrpt::maps::TRandomFieldCell::param1_ = 0

Definition at line 57 of file CRandomFieldGridMap2D.h.

Referenced by dm_mean(), gmrf_mean(), and kf_mean().

◆ param2_

double mrpt::maps::TRandomFieldCell::param2_ = 0

Definition at line 69 of file CRandomFieldGridMap2D.h.

Referenced by dm_mean_w(), gmrf_std(), and kf_std().

◆ updated_std

double mrpt::maps::TRandomFieldCell::updated_std

[Dynamic maps only] The std cell value that was updated (to be used in the Forgetting_curve

Definition at line 89 of file CRandomFieldGridMap2D.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 3e8ecd670 Mon May 18 14:23:19 2020 +0200 at lun may 18 14:30:11 CEST 2020