<p>A simple custom output class that just counts the number of SCC. </p>
<p>Not allocating many vectors can save both space and speed if your graph is large.</p>
<dlclass="section note"><dt>Note</dt><dd>If this matters, you probably don't want to use std::vector<std::vector<int>> as an input either. See StaticGraph in <aclass="el"href="graph_8h.html">ortools/graph/graph.h</a> for an efficient graph data structure compatible with this algorithm. </dd></dl>
<pclass="definition">Definition at line <aclass="el"href="strongly__connected__components_8h_source.html#l00083">83</a> of file <aclass="el"href="strongly__connected__components_8h_source.html">strongly_connected_components.h</a>.</p>
<trclass="memdesc:a31eef251d309df342e2dd150389e2458"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This is just here so this class can transparently replace a code that use std::vector<std::vector<int>> as an SccOutput, and get its size with <aclass="el"href="structSccCounterOutput.html#a31eef251d309df342e2dd150389e2458"title="This is just here so this class can transparently replace a code that use std::vector<std::vector<int...">size()</a>. <ahref="#a31eef251d309df342e2dd150389e2458">More...</a><br/></td></tr>
<pclass="definition">Definition at line <aclass="el"href="strongly__connected__components_8h_source.html#l00085">85</a> of file <aclass="el"href="strongly__connected__components_8h_source.html">strongly_connected_components.h</a>.</p>
<p>This is just here so this class can transparently replace a code that use std::vector<std::vector<int>> as an SccOutput, and get its size with <aclass="el"href="structSccCounterOutput.html#a31eef251d309df342e2dd150389e2458"title="This is just here so this class can transparently replace a code that use std::vector<std::vector<int...">size()</a>. </p>
<pclass="definition">Definition at line <aclass="el"href="strongly__connected__components_8h_source.html#l00091">91</a> of file <aclass="el"href="strongly__connected__components_8h_source.html">strongly_connected_components.h</a>.</p>
</div>
</div>
<h2class="groupheader">Member Data Documentation</h2>
<pclass="definition">Definition at line <aclass="el"href="strongly__connected__components_8h_source.html#l00084">84</a> of file <aclass="el"href="strongly__connected__components_8h_source.html">strongly_connected_components.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>