Opened 13 years ago
Closed 13 years ago
#3521 closed Feature Requests (fixed)
edge iterator constructor + add_edge (with weight) does not work with adjacency_matrix
Reported by: | Owned by: | Andrew Sutton | |
---|---|---|---|
Milestone: | Boost 1.41.0 | Component: | graph |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hi all,
I am not sure if this is a "bug" or a "feature request"; it depends whether or not this was intended for adjacency_matrix. With adjacency_matrix, using the edge iterator constructor or add_edge (four arguments; with edge weights) gives compiling errors.
I've attached a small example that demonstrates the problem. It compiles now using adjacency_list; but if the comment is moved then the compiler errors using adjacency_matrix will show up.
In a message posted by Andrew Sutton, he said the constructor may not exist -- I am not sure if this is intended or a bug:
http://article.gmane.org/gmane.comp.lib.boost.user/52205/
Thank you!
Ray
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | sample.cpp added |
---|
comment:1 by , 13 years ago
Component: | None → graph |
---|---|
Owner: | set to |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Sample source code which demonstrates the problem.