Skip to content

Commit

Permalink
Small improvements and leaks checked
Browse files Browse the repository at this point in the history
  • Loading branch information
jvgomez committed Mar 23, 2015
1 parent 514c737 commit 1bc4e7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ N-Dimensional Fast Marching Method V1.0
- [LSM](http://javiervgomez.com/fastmarching/classLSM.html): Lock Sweeping Method.

**Other methods:**
- Soon.
- [DDQM](http://javiervgomez.com/fastmarching/classDDQM.html): Dynamic Double Queue Method.

**Fast Marching Square motion planning algorithms:**
- [FM2](http://javiervgomez.com/fastmarching/classFM2.html): Fast Marching Square Method.
Expand All @@ -55,6 +55,11 @@ jvgomez/fm2examples
https://www.biicode.com/endher
endher/fm2

#### v0.6 ChangeLog
- solveEikonal made more stable, but a bit less efficient.
- Added FSM, LSM, DDQM.
- Added another hierarchy layer: EikonalSolver.
- Some small tweaks, improvements and better documentation.

## DISCLAIMER and IMPORTANT NOTES

Expand Down
2 changes: 1 addition & 1 deletion benchmark/benchmark.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ fim=
ufmm=
fsm=
lsm=
ddqm=
ddqm=
2 changes: 1 addition & 1 deletion fmm/ddqm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ template < class grid_t > class DDQM : public EikonalSolver<grid_t> {
// counts[0] tracks insertions in lower queue. counts[1] is total insertions.
std::array<size_t, 2> counts = {0,0};

while (!queues_[0].empty() || !queues_[1].empty() && !stopPropagation) {
while ((!queues_[0].empty() || !queues_[1].empty()) && !stopPropagation) {
while (!queues_[lq].empty() && !stopPropagation) {
unsigned int idx = queues_[lq].front();
queues_[lq].pop();
Expand Down

0 comments on commit 1bc4e7d

Please # to comment.