From 0fcf8469882ef738fd1bd550ee0168bef667a704 Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Fri, 21 Oct 2011 13:52:43 +0200 Subject: [PATCH] [Positioning] ReferencePoint: clarify comments --- owlps-positioning/src/referencepoint.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/owlps-positioning/src/referencepoint.cc b/owlps-positioning/src/referencepoint.cc index ffd1cd5..91614b8 100644 --- a/owlps-positioning/src/referencepoint.cc +++ b/owlps-positioning/src/referencepoint.cc @@ -217,6 +217,8 @@ friis_index_for_ap(const string &ap_mac) const /** + * Computes a Friis index for the distance AP-ReferencePoint, based on + * the measurements of this AP that are present in the ReferencePoint. * @param ap The AccessPoint to work on. * @param const_term The "constant" part of the computation. * @param nb_indexes (result) The number of indexes computed. @@ -235,7 +237,7 @@ float ReferencePoint::friis_indexes_for_ap( float distance = this->distance(ap.get_coordinates()) ; /* - * Compute an index for each Measurement in each Request in the + * Compute an index for the AP's Measurement in each Request in the * ReferencePoint. The Friis index for the AP is the average of all * these indexes (we do not compute the average in this function). */ @@ -265,6 +267,7 @@ float ReferencePoint::friis_indexes_for_ap( } + /* *** Operators *** */