[Lemon-user] Problem using EdgeMpa
Christopher Morris
christopher.morris at tu-dortmund.de
Sun Jun 29 21:43:31 CEST 2014
Hello,
i want to assign integer weights to the edges of a ListGraph-Object. Thus I am using EdgeMap. Unfortunality my code doesn't compile.
Any ideas?
#include <lemon/list_graph.h>
#include <lemon/concepts/graph.h>
#include <iostream>
using namespace lemon;
using namespace std;
int main(int argc, const char * argv[])
{
ListGraph g;
lemon::concepts::Graph::EdgeMap<int> map(g);
return 0;
}
Thank you,
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20140629/6b5099b1/attachment.asc>
More information about the Lemon-user
mailing list