
In nutshell: how can I check whether a property map has some given
key?
The exact problem is as follows. I have graph edges with the property
"lambdas" of positive integers, but its the exact meaning is not
important here. With the read_graphviz function I am loading graph
files which look like this:
graph {
a;
b;
c;
c -- a [distance="100"];
a -- b [lambdas="8"];
}
After I load the file I want to examine which edges have the "lambdas"
property, but I don't know how to do this. If I request the property
value with the "get" function, I get some random value. My program is
at the bottom of this email.
The program prints the edge and the value of the "lambdas" property.
I get this:
(2,0): 33489268
(0,1): 8
The first line is bad: the edge (2,0), i.e. c -- a in my graphviz
file, has the reported value of 33489268. The second line is OK.
Thanks for reading.
Best,
Irek
*********************************************************************
#include