</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This function returns the total cost of the found flow. Its complexity is O(m).</p>
<dl class="section note"><dt>Note</dt><dd>The return type of the function can be specified as a template parameter. For example, <div class="fragment"><div class="line">*    cs.totalCost&lt;<span class="keywordty