If I have n elements defined with class CElement, how can one create vertices of those elements with boost graph – and connect them also?
I’ve seen boost graph bundled props, but I just can’t figure this one out.
If I have n elements defined with class CElement, how can one create vertices
Share
I don’t understand what you want to do exactly. Do you want to associate some data to vertices? Then use bundled properties.
The are other ways to set the properties, but there you a have an example to bootstrap.
I hope I didn’t misunderstand the question.