<font size=2 face="sans-serif">Hi all</font>
<br>
<br><font size=2 face="sans-serif">Can anyone just give me a brief example
of how to call the strongly connected components function template on a
simple ListDigraph? I thought I could do something like this:</font>
<br>
<br><font size=2 face="sans-serif">Assume _g is a pointer to a ListDigraph</font>
<br>
<br><font size=2 face="sans-serif"> int num_components;</font>
<br><font size=2 face="sans-serif"> lemon::ListDigraph::NodeMap<int>
components( (*_g) );</font>
<br><font size=2 face="sans-serif"> components = stronglyConnectedComponents
<lemon::ListDigraph, lemon::ListDigraph::NodeMap<int> >( (*_g),
components);</font>
<br>
<br>
<br><font size=2 face="sans-serif">Here are the first couple of compile
errors. I realize that the operator '=' is private to nodemap and
I think there is a different nodemap class that I should use related to
MappableDigraphComponent, but I have no idea how or what to call or do.
Any help would be greatly appreciated.</font>
<br>
<br>
<br><font size=2 face="sans-serif">../lemon-1.2/lemon/bits/graph_extender.h:236:
error: `template<class CMap> lemon::DigraphExtender<Base>::NodeMap&
lemon::DigraphExtender<Base>::NodeMap::operator=(const CMap&)
[with CMap = CMap, _Value = int, Base = lemon::ListDigraphBase]' is private</font>
<br><font size=2 face="sans-serif">graph_src/trust_graph.cpp:1084: error:
within this context</font>
<br><font size=2 face="sans-serif">../lemon-1.2/lemon/bits/graph_extender.h:
In member function `lemon::DigraphExtender<Base>::NodeMap<_Value>&
lemon::DigraphExtender<Base>::NodeMap<_Value>::operator=(const
CMap&) [with CMap = int, _Value = int, Base = lemon::ListDigraphBase]':</font>
<br><font size=2 face="sans-serif">graph_src/trust_graph.cpp:1084:
instantiated from here</font>
<br><font size=2 face="sans-serif">../lemon-1.2/lemon/bits/map_extender.h:74:
error: `template<class CMap> lemon::MapExtender& lemon::MapExtender::operator=(const
CMap&) [with CMap = CMap, _Map = lemon::DefaultMap<lemon::DigraphExtender<lemon::ListDigraphBase>,
lemon::ListDigraphBase::Node, int>]' is private</font>
<br><font size=2 face="sans-serif">../lemon-1.2/lemon/bits/graph_extender.h:237:
error: within this context</font>
<br><font size=2 face="sans-serif">../lemon-1.2/lemon/bits/default_map.h:
In member function `lemon::DefaultMap<_Graph, _Item, _Value>&
lemon::DefaultMap<_Graph, _Item, _Value>::operator=(const CMap&)
[with CMap = int, _Graph = lemon::DigraphExtender<lemon::ListDigraphBase>,
_Item = lemon::ListDigraphBase::Node, _Value = int]':</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">Mark</font>