span> nargin &lt; 2
0017     algo = <span class="string">'greedy'</span>;
0018 <span class="keyword">end</span>
0019 
0020 <span class="keyword">switch</span> (lower(algo))
0021     <span class="keyword">case</span> {<span class="string">'greedy'</span>,<span class="string">'optimal'</span>}
0022         h = <a href="graph.html" class="code" title="function g = graph(n)">graph</a>;
0023         <a href="line_graph.html" class="code" title="function line_graph(g,h)">line_graph</a>(h,g);
0024         p = <a h