Skip to content

Commit 56d68e5

Browse files
committed
Corrected Javadoc.
1 parent c6e0c4d commit 56d68e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

aima-core/src/main/java/aima/core/robotics/MonteCarloLocalization.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
* Figure 25.9 A Monte-Carlo-Localization algorithm using a range-scan sensor model with independent noise.
3535
* The Monte-Carlo-Localization is an extension of a {@link ParticleFiltering} as stated on page 982.
3636
* This is true for the functionality but this implementation can not extend the implementation of the ParticleFiltering
37-
* as both implementations only contain the actual algorithm as a single method.<br/>
38-
* <br/>
37+
* as both implementations only contain the actual algorithm as a single method.
38+
* <br/><br/>
3939
* The update cycle of the algorithm is executed by the method {@code localize} for the given set of samples, move and vector of range readings.
4040
* Before calling this method, a set of samples can be generated through the method {@code generateCloud}, which represents the initialization phase of the pseudocode, for the given size N.
4141
* This removes the need of specifying the size N on every call of {@code localize} as this information is already contained in the set itself.
42-
* The method {@code localize} is divided into these three parts implemented each by a single method:
42+
* The method {@code localize} is divided into these two parts implemented each by a single method:
4343
* <ol>
4444
* <li>{@code applyMove} represents the first line of the update cycle. It moves all samples according to the move / motion model.</li>
4545
* <li>{@code weightSamples} represents the second to second last line of the update cycle. A vector of weights is created by this method for the given range scans by comparing every range scan to a ray cast with the correspondent sample through the range sensor noise model.</li>
46-
* <li>{@code extendedWeightedSampleWithReplacement} represents the last line of the update cycle. It is a WEIGHTED-SAMPLE-WITH-REPLACEMENT with the addition of a cutoff value. All particles having a weight below this cutoff are ignored.</li>
4746
* </ol>
48-
* <br/>
47+
* The WEIGHTED-SAMPLE-WITH-REPLACEMENT is implemented by the method {@code extendedWeightedSampleWithReplacement}. This implementation contains the addition of a cutoff value. All particles having a weight below this cutoff are ignored.
48+
* <br/><br/>
4949
* It is possible to reduce the steps needed for the localization by tweaking the sample count and the parameter {@code cutOff}.
50-
*
50+
* <br/><br/>
5151
* @author Arno von Borries
5252
* @author Jan Phillip Kretzschmar
5353
* @author Andreas Walscheid

0 commit comments

Comments
 (0)