COIN-OR::LEMON - Graph Library

Custom Query (511 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 511)

Ticket Resolution Summary Owner Reporter
#366 fixed Bug in PredMapPath::empty() Balazs Dezso Alpar Juttner
Description

Dear all,

I think the below behavior of PredMapPath::empty() makes more sense.

Regards, Gabor

################

# HG changeset patch
# User retvari@everything
# Date 1271017722 -7200
# Node ID 6e741754566a2075505527319b57862baf59931f
# Parent  6dd226d3dcbaa9f7474a9b9f445f1c617d65d481
Fix PredMapPath::empty()

diff --git a/lemon/bits/path_dump.h b/lemon/bits/path_dump.h
--- a/lemon/bits/path_dump.h
+++ b/lemon/bits/path_dump.h
@@ -49,7 +49,7 @@
     }
 
     bool empty() const {
-      return predMap[target] != INVALID;
+      return predMap[target] == INVALID;
     }
 
     class RevArcIt {
#461 fixed Bug in assert.h Peter Kovacs Peter Kovacs
Description

The attached patch [c043988e7973] solves a bug in assert.h.

#439 fixed Bug in biNodeConnected() Balazs Dezso Alpar Juttner
Description

The attached code and .lgf shows an example where biNodeConnected() gives the wrong answer. It's probably about the handling of isolated nodes.

The bug was reported by Sándor Kisfaludi-Bak.

Note: See TracQuery for help on using queries.