Files
entt/classentt_1_1adjacency__matrix.html
T
2025-03-19 15:49:42 +01:00

1140 lines
69 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EnTT: entt::adjacency_matrix&lt; Category, Allocator &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">EnTT<span id="projectnumber">&#160;3.15.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',false);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceentt.html">entt</a></li><li class="navelem"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classentt_1_1adjacency__matrix-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">entt::adjacency_matrix&lt; Category, Allocator &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Basic implementation of a directed adjacency matrix.
<a href="#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a740021db9b7bad492ebe3d074769d8b8" id="r_a740021db9b7bad492ebe3d074769d8b8"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> = Allocator</td></tr>
<tr class="memdesc:a740021db9b7bad492ebe3d074769d8b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocator type. <br /></td></tr>
<tr class="separator:a740021db9b7bad492ebe3d074769d8b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72507bd210570d5712a5c40b0d345b6c" id="r_a72507bd210570d5712a5c40b0d345b6c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a> = std::size_t</td></tr>
<tr class="memdesc:a72507bd210570d5712a5c40b0d345b6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsigned integer type. <br /></td></tr>
<tr class="separator:a72507bd210570d5712a5c40b0d345b6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad59306803ff05b7d2d3244f7e59ef9d9" id="r_ad59306803ff05b7d2d3244f7e59ef9d9"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> = <a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a></td></tr>
<tr class="memdesc:ad59306803ff05b7d2d3244f7e59ef9d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vertex type. <br /></td></tr>
<tr class="separator:ad59306803ff05b7d2d3244f7e59ef9d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2ac50f08d437489d4f761b418c48eda" id="r_aa2ac50f08d437489d4f761b418c48eda"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa2ac50f08d437489d4f761b418c48eda">edge_type</a> = std::pair&lt;<a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a>, <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a>&gt;</td></tr>
<tr class="memdesc:aa2ac50f08d437489d4f761b418c48eda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Edge type. <br /></td></tr>
<tr class="separator:aa2ac50f08d437489d4f761b418c48eda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a5cd6977bd31867ed853b737f3a2ff1" id="r_a2a5cd6977bd31867ed853b737f3a2ff1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2a5cd6977bd31867ed853b737f3a2ff1">vertex_iterator</a> = <a class="el" href="classentt_1_1iota__iterator.html">iota_iterator</a>&lt;<a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a>&gt;</td></tr>
<tr class="memdesc:a2a5cd6977bd31867ed853b737f3a2ff1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vertex iterator type. <br /></td></tr>
<tr class="separator:a2a5cd6977bd31867ed853b737f3a2ff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e2e74717c42df138ed98b1a33b6ffd8" id="r_a4e2e74717c42df138ed98b1a33b6ffd8"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a> = internal::edge_iterator&lt;typename container_type::const_iterator&gt;</td></tr>
<tr class="memdesc:a4e2e74717c42df138ed98b1a33b6ffd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Edge iterator type. <br /></td></tr>
<tr class="separator:a4e2e74717c42df138ed98b1a33b6ffd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88b3a1f0df93f9785b51ece42cb71852" id="r_a88b3a1f0df93f9785b51ece42cb71852"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a88b3a1f0df93f9785b51ece42cb71852">out_edge_iterator</a> = <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a></td></tr>
<tr class="memdesc:a88b3a1f0df93f9785b51ece42cb71852"><td class="mdescLeft">&#160;</td><td class="mdescRight">Out-edge iterator type. <br /></td></tr>
<tr class="separator:a88b3a1f0df93f9785b51ece42cb71852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1eb3bad19846f57d9a6a44bed6f360d" id="r_ad1eb3bad19846f57d9a6a44bed6f360d"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad1eb3bad19846f57d9a6a44bed6f360d">in_edge_iterator</a> = <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a></td></tr>
<tr class="memdesc:ad1eb3bad19846f57d9a6a44bed6f360d"><td class="mdescLeft">&#160;</td><td class="mdescRight">In-edge iterator type. <br /></td></tr>
<tr class="separator:ad1eb3bad19846f57d9a6a44bed6f360d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3beccfd9cecbffa10c80dc702ef95917" id="r_a3beccfd9cecbffa10c80dc702ef95917"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3beccfd9cecbffa10c80dc702ef95917">graph_category</a> = Category</td></tr>
<tr class="memdesc:a3beccfd9cecbffa10c80dc702ef95917"><td class="mdescLeft">&#160;</td><td class="mdescRight">Graph category tag. <br /></td></tr>
<tr class="separator:a3beccfd9cecbffa10c80dc702ef95917"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3b3d88826c5e9e6d6696c57cfeadc365" id="r_a3b3d88826c5e9e6d6696c57cfeadc365"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3b3d88826c5e9e6d6696c57cfeadc365">adjacency_matrix</a> () noexcept(noexcept(<a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a>{}))</td></tr>
<tr class="memdesc:a3b3d88826c5e9e6d6696c57cfeadc365"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a3b3d88826c5e9e6d6696c57cfeadc365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6940bc105cd3cd328a6abc3f19c14dc" id="r_ae6940bc105cd3cd328a6abc3f19c14dc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae6940bc105cd3cd328a6abc3f19c14dc">adjacency_matrix</a> (const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;allocator) noexcept</td></tr>
<tr class="memdesc:ae6940bc105cd3cd328a6abc3f19c14dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an empty container with a given allocator. <br /></td></tr>
<tr class="separator:ae6940bc105cd3cd328a6abc3f19c14dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a854098472673c06c946df5efec991517" id="r_a854098472673c06c946df5efec991517"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a854098472673c06c946df5efec991517">adjacency_matrix</a> (const <a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a> <a class="el" href="#aac3dbc29bb2a31de879b62742124ddd4">vertices</a>, const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;allocator=<a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a>{})</td></tr>
<tr class="memdesc:a854098472673c06c946df5efec991517"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an empty container with a given allocator and user supplied number of vertices. <br /></td></tr>
<tr class="separator:a854098472673c06c946df5efec991517"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b5b018fd516b2f3fbb5222ea47a2bbf" id="r_a1b5b018fd516b2f3fbb5222ea47a2bbf"><td class="memItemLeft" align="right" valign="top"><a id="a1b5b018fd516b2f3fbb5222ea47a2bbf" name="a1b5b018fd516b2f3fbb5222ea47a2bbf"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>adjacency_matrix</b> (const <a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;)=default</td></tr>
<tr class="memdesc:a1b5b018fd516b2f3fbb5222ea47a2bbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default copy constructor. <br /></td></tr>
<tr class="separator:a1b5b018fd516b2f3fbb5222ea47a2bbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaa9b708b88f549673e7a9db7203b96c" id="r_adaa9b708b88f549673e7a9db7203b96c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adaa9b708b88f549673e7a9db7203b96c">adjacency_matrix</a> (const <a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;other, const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;allocator)</td></tr>
<tr class="memdesc:adaa9b708b88f549673e7a9db7203b96c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocator-extended copy constructor. <br /></td></tr>
<tr class="separator:adaa9b708b88f549673e7a9db7203b96c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcbf612110d41734771cf1c5a6d999e3" id="r_adcbf612110d41734771cf1c5a6d999e3"><td class="memItemLeft" align="right" valign="top"><a id="adcbf612110d41734771cf1c5a6d999e3" name="adcbf612110d41734771cf1c5a6d999e3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>adjacency_matrix</b> (<a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;&amp;) noexcept=default</td></tr>
<tr class="memdesc:adcbf612110d41734771cf1c5a6d999e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move constructor. <br /></td></tr>
<tr class="separator:adcbf612110d41734771cf1c5a6d999e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7195a32e20c1099e6e32ef3e73475801" id="r_a7195a32e20c1099e6e32ef3e73475801"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7195a32e20c1099e6e32ef3e73475801">adjacency_matrix</a> (<a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;&amp;other, const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;allocator)</td></tr>
<tr class="memdesc:a7195a32e20c1099e6e32ef3e73475801"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocator-extended move constructor. <br /></td></tr>
<tr class="separator:a7195a32e20c1099e6e32ef3e73475801"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabdea98cbe302052e65e1a5328b49106" id="r_aabdea98cbe302052e65e1a5328b49106"><td class="memItemLeft" align="right" valign="top"><a id="aabdea98cbe302052e65e1a5328b49106" name="aabdea98cbe302052e65e1a5328b49106"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>~adjacency_matrix</b> ()=default</td></tr>
<tr class="memdesc:aabdea98cbe302052e65e1a5328b49106"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor. <br /></td></tr>
<tr class="separator:aabdea98cbe302052e65e1a5328b49106"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab26e50bcbe59bf835f6a34a21a622095" id="r_ab26e50bcbe59bf835f6a34a21a622095"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab26e50bcbe59bf835f6a34a21a622095">operator=</a> (const <a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;)=default</td></tr>
<tr class="memdesc:ab26e50bcbe59bf835f6a34a21a622095"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default copy assignment operator. <br /></td></tr>
<tr class="separator:ab26e50bcbe59bf835f6a34a21a622095"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a760b57bbb50f8e98a9f6bf8c6c6a19c5" id="r_a760b57bbb50f8e98a9f6bf8c6c6a19c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a760b57bbb50f8e98a9f6bf8c6c6a19c5">operator=</a> (<a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;&amp;) noexcept=default</td></tr>
<tr class="memdesc:a760b57bbb50f8e98a9f6bf8c6c6a19c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move assignment operator. <br /></td></tr>
<tr class="separator:a760b57bbb50f8e98a9f6bf8c6c6a19c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ee4c669461f74485c4263ece0c05f2f" id="r_a5ee4c669461f74485c4263ece0c05f2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5ee4c669461f74485c4263ece0c05f2f">swap</a> (<a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp;other) noexcept</td></tr>
<tr class="memdesc:a5ee4c669461f74485c4263ece0c05f2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exchanges the contents with those of a given adjacency matrix. <br /></td></tr>
<tr class="separator:a5ee4c669461f74485c4263ece0c05f2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea59b70885fd22df3f80f59cf6e9e58b" id="r_aea59b70885fd22df3f80f59cf6e9e58b"><td class="memItemLeft" align="right" valign="top">constexpr <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aea59b70885fd22df3f80f59cf6e9e58b">get_allocator</a> () const noexcept</td></tr>
<tr class="memdesc:aea59b70885fd22df3f80f59cf6e9e58b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the associated allocator. <br /></td></tr>
<tr class="separator:aea59b70885fd22df3f80f59cf6e9e58b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81931cd90488b3e5269217f7d6064c93" id="r_a81931cd90488b3e5269217f7d6064c93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a81931cd90488b3e5269217f7d6064c93">clear</a> () noexcept</td></tr>
<tr class="memdesc:a81931cd90488b3e5269217f7d6064c93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the adjacency matrix. <br /></td></tr>
<tr class="separator:a81931cd90488b3e5269217f7d6064c93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d262116700a6aeda88d3bd0d0f2e3c2" id="r_a4d262116700a6aeda88d3bd0d0f2e3c2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4d262116700a6aeda88d3bd0d0f2e3c2">empty</a> () const noexcept</td></tr>
<tr class="memdesc:a4d262116700a6aeda88d3bd0d0f2e3c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if an adjacency matrix is empty, false otherwise. <br /></td></tr>
<tr class="separator:a4d262116700a6aeda88d3bd0d0f2e3c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f8706c96d4c000ceab51d88402ca74" id="r_a70f8706c96d4c000ceab51d88402ca74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a70f8706c96d4c000ceab51d88402ca74">size</a> () const noexcept</td></tr>
<tr class="memdesc:a70f8706c96d4c000ceab51d88402ca74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of vertices. <br /></td></tr>
<tr class="separator:a70f8706c96d4c000ceab51d88402ca74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac3dbc29bb2a31de879b62742124ddd4" id="r_aac3dbc29bb2a31de879b62742124ddd4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#a2a5cd6977bd31867ed853b737f3a2ff1">vertex_iterator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aac3dbc29bb2a31de879b62742124ddd4">vertices</a> () const noexcept</td></tr>
<tr class="memdesc:aac3dbc29bb2a31de879b62742124ddd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterable object to visit all vertices of a matrix. <br /></td></tr>
<tr class="separator:aac3dbc29bb2a31de879b62742124ddd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6638e821360bafa2d7ce2e12ef0825a" id="r_ab6638e821360bafa2d7ce2e12ef0825a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab6638e821360bafa2d7ce2e12ef0825a">edges</a> () const noexcept</td></tr>
<tr class="memdesc:ab6638e821360bafa2d7ce2e12ef0825a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterable object to visit all edges of a matrix. <br /></td></tr>
<tr class="separator:ab6638e821360bafa2d7ce2e12ef0825a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e28de523aa924aea9c8c78b5981a9df" id="r_a4e28de523aa924aea9c8c78b5981a9df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#a88b3a1f0df93f9785b51ece42cb71852">out_edge_iterator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4e28de523aa924aea9c8c78b5981a9df">out_edges</a> (const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> vertex) const noexcept</td></tr>
<tr class="memdesc:a4e28de523aa924aea9c8c78b5981a9df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterable object to visit all out-edges of a vertex. <br /></td></tr>
<tr class="separator:a4e28de523aa924aea9c8c78b5981a9df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9213407b3d7b543348000a44357ccca1" id="r_a9213407b3d7b543348000a44357ccca1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#ad1eb3bad19846f57d9a6a44bed6f360d">in_edge_iterator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9213407b3d7b543348000a44357ccca1">in_edges</a> (const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> vertex) const noexcept</td></tr>
<tr class="memdesc:a9213407b3d7b543348000a44357ccca1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an iterable object to visit all in-edges of a vertex. <br /></td></tr>
<tr class="separator:a9213407b3d7b543348000a44357ccca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad45c4c6b938ed028d7c99b1d1a678b9e" id="r_ad45c4c6b938ed028d7c99b1d1a678b9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad45c4c6b938ed028d7c99b1d1a678b9e">resize</a> (const <a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a> <a class="el" href="#aac3dbc29bb2a31de879b62742124ddd4">vertices</a>)</td></tr>
<tr class="memdesc:ad45c4c6b938ed028d7c99b1d1a678b9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resizes an adjacency matrix. <br /></td></tr>
<tr class="separator:ad45c4c6b938ed028d7c99b1d1a678b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16d422fbdac17535196b27001b4bfd63" id="r_a16d422fbdac17535196b27001b4bfd63"><td class="memItemLeft" align="right" valign="top">std::pair&lt; <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a>, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a16d422fbdac17535196b27001b4bfd63">insert</a> (const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> lhs, const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> rhs)</td></tr>
<tr class="memdesc:a16d422fbdac17535196b27001b4bfd63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts an edge into the adjacency matrix, if it does not exist. <br /></td></tr>
<tr class="separator:a16d422fbdac17535196b27001b4bfd63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf91bac04f07bf7ce0478ecd5baeece7" id="r_adf91bac04f07bf7ce0478ecd5baeece7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adf91bac04f07bf7ce0478ecd5baeece7">erase</a> (const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> lhs, const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> rhs)</td></tr>
<tr class="memdesc:adf91bac04f07bf7ce0478ecd5baeece7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the edge associated with a pair of given vertices. <br /></td></tr>
<tr class="separator:adf91bac04f07bf7ce0478ecd5baeece7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a783833a34672bcbd0afab063ab417a97" id="r_a783833a34672bcbd0afab063ab417a97"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a783833a34672bcbd0afab063ab417a97">contains</a> (const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> lhs, const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a> rhs) const</td></tr>
<tr class="memdesc:a783833a34672bcbd0afab063ab417a97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if an adjacency matrix contains a given edge. <br /></td></tr>
<tr class="separator:a783833a34672bcbd0afab063ab417a97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename Category, typename Allocator&gt;<br />
class entt::adjacency_matrix&lt; Category, Allocator &gt;</div><p>Basic implementation of a directed adjacency matrix. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">Category</td><td>Either a directed or undirected category tag. </td></tr>
<tr><td class="paramname">Allocator</td><td>Type of allocator used to manage memory and elements. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00096">96</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a740021db9b7bad492ebe3d074769d8b8" name="a740021db9b7bad492ebe3d074769d8b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a740021db9b7bad492ebe3d074769d8b8">&#9670;&#160;</a></span>allocator_type</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::allocator_type = Allocator</td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocator type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00104">104</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a4e2e74717c42df138ed98b1a33b6ffd8" name="a4e2e74717c42df138ed98b1a33b6ffd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e2e74717c42df138ed98b1a33b6ffd8">&#9670;&#160;</a></span>edge_iterator</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::edge_iterator = internal::edge_iterator&lt;typename container_type::const_iterator&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p>Edge iterator type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00114">114</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="aa2ac50f08d437489d4f761b418c48eda" name="aa2ac50f08d437489d4f761b418c48eda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2ac50f08d437489d4f761b418c48eda">&#9670;&#160;</a></span>edge_type</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::edge_type = std::pair&lt;<a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a>, <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p>Edge type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00110">110</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a3beccfd9cecbffa10c80dc702ef95917" name="a3beccfd9cecbffa10c80dc702ef95917"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3beccfd9cecbffa10c80dc702ef95917">&#9670;&#160;</a></span>graph_category</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::graph_category = Category</td>
</tr>
</table>
</div><div class="memdoc">
<p>Graph category tag. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00120">120</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="ad1eb3bad19846f57d9a6a44bed6f360d" name="ad1eb3bad19846f57d9a6a44bed6f360d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1eb3bad19846f57d9a6a44bed6f360d">&#9670;&#160;</a></span>in_edge_iterator</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::in_edge_iterator = <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>In-edge iterator type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00118">118</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a88b3a1f0df93f9785b51ece42cb71852" name="a88b3a1f0df93f9785b51ece42cb71852"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88b3a1f0df93f9785b51ece42cb71852">&#9670;&#160;</a></span>out_edge_iterator</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::out_edge_iterator = <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Out-edge iterator type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00116">116</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a72507bd210570d5712a5c40b0d345b6c" name="a72507bd210570d5712a5c40b0d345b6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72507bd210570d5712a5c40b0d345b6c">&#9670;&#160;</a></span>size_type</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::size_type = std::size_t</td>
</tr>
</table>
</div><div class="memdoc">
<p>Unsigned integer type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00106">106</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a2a5cd6977bd31867ed853b737f3a2ff1" name="a2a5cd6977bd31867ed853b737f3a2ff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a5cd6977bd31867ed853b737f3a2ff1">&#9670;&#160;</a></span>vertex_iterator</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::vertex_iterator = <a class="el" href="classentt_1_1iota__iterator.html">iota_iterator</a>&lt;<a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p>Vertex iterator type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00112">112</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="ad59306803ff05b7d2d3244f7e59ef9d9" name="ad59306803ff05b7d2d3244f7e59ef9d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad59306803ff05b7d2d3244f7e59ef9d9">&#9670;&#160;</a></span>vertex_type</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::vertex_type = <a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Vertex type. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00108">108</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3b3d88826c5e9e6d6696c57cfeadc365" name="a3b3d88826c5e9e6d6696c57cfeadc365"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b3d88826c5e9e6d6696c57cfeadc365">&#9670;&#160;</a></span>adjacency_matrix() <span class="overload">[1/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::adjacency_matrix </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00123">123</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="ae6940bc105cd3cd328a6abc3f19c14dc" name="ae6940bc105cd3cd328a6abc3f19c14dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6940bc105cd3cd328a6abc3f19c14dc">&#9670;&#160;</a></span>adjacency_matrix() <span class="overload">[2/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::adjacency_matrix </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;</td> <td class="paramname"><span class="paramname"><em>allocator</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel explicit">explicit</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs an empty container with a given allocator. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">allocator</td><td>The allocator to use. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00131">131</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a854098472673c06c946df5efec991517" name="a854098472673c06c946df5efec991517"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a854098472673c06c946df5efec991517">&#9670;&#160;</a></span>adjacency_matrix() <span class="overload">[3/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::adjacency_matrix </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a></td> <td class="paramname"><span class="paramname"><em>vertices</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;</td> <td class="paramname"><span class="paramname"><em>allocator</em></span><span class="paramdefsep"> = </span><span class="paramdefval"><a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a>{}</span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs an empty container with a given allocator and user supplied number of vertices. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">vertices</td><td>Number of vertices. </td></tr>
<tr><td class="paramname">allocator</td><td>The allocator to use. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00140">140</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="adaa9b708b88f549673e7a9db7203b96c" name="adaa9b708b88f549673e7a9db7203b96c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adaa9b708b88f549673e7a9db7203b96c">&#9670;&#160;</a></span>adjacency_matrix() <span class="overload">[4/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::adjacency_matrix </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a>&lt; Category, Allocator &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>other</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;</td> <td class="paramname"><span class="paramname"><em>allocator</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocator-extended copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The instance to copy from. </td></tr>
<tr><td class="paramname">allocator</td><td>The allocator to use. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00152">152</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a7195a32e20c1099e6e32ef3e73475801" name="a7195a32e20c1099e6e32ef3e73475801"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7195a32e20c1099e6e32ef3e73475801">&#9670;&#160;</a></span>adjacency_matrix() <span class="overload">[5/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::adjacency_matrix </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a>&lt; Category, Allocator &gt; &amp;&amp;</td> <td class="paramname"><span class="paramname"><em>other</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> &amp;</td> <td class="paramname"><span class="paramname"><em>allocator</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocator-extended move constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>The instance to move from. </td></tr>
<tr><td class="paramname">allocator</td><td>The allocator to use. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00164">164</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a81931cd90488b3e5269217f7d6064c93" name="a81931cd90488b3e5269217f7d6064c93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81931cd90488b3e5269217f7d6064c93">&#9670;&#160;</a></span>clear()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::clear </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears the adjacency matrix. </p>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00202">202</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a783833a34672bcbd0afab063ab417a97" name="a783833a34672bcbd0afab063ab417a97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a783833a34672bcbd0afab063ab417a97">&#9670;&#160;</a></span>contains()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::contains </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>lhs</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>rhs</em></span>&#160;) const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if an adjacency matrix contains a given edge. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">lhs</td><td>The left hand vertex of the edge. </td></tr>
<tr><td class="paramname">rhs</td><td>The right hand vertex of the edge. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if there is such an edge, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00329">329</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="ab6638e821360bafa2d7ce2e12ef0825a" name="ab6638e821360bafa2d7ce2e12ef0825a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6638e821360bafa2d7ce2e12ef0825a">&#9670;&#160;</a></span>edges()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a> &gt; <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::edges </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterable object to visit all edges of a matrix. </p>
<dl class="section return"><dt>Returns</dt><dd>An iterable object to visit all edges of a matrix. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00240">240</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a4d262116700a6aeda88d3bd0d0f2e3c2" name="a4d262116700a6aeda88d3bd0d0f2e3c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d262116700a6aeda88d3bd0d0f2e3c2">&#9670;&#160;</a></span>empty()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::empty </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if an adjacency matrix is empty, false otherwise. </p>
<dl class="section warning"><dt>Warning</dt><dd>Potentially expensive, try to avoid it on hot paths.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>True if the adjacency matrix is empty, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00215">215</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="adf91bac04f07bf7ce0478ecd5baeece7" name="adf91bac04f07bf7ce0478ecd5baeece7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf91bac04f07bf7ce0478ecd5baeece7">&#9670;&#160;</a></span>erase()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a> <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::erase </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>lhs</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>rhs</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the edge associated with a pair of given vertices. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">lhs</td><td>The left hand vertex of the edge. </td></tr>
<tr><td class="paramname">rhs</td><td>The right hand vertex of the edge. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of elements removed (either 0 or 1). </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00311">311</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="aea59b70885fd22df3f80f59cf6e9e58b" name="aea59b70885fd22df3f80f59cf6e9e58b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea59b70885fd22df3f80f59cf6e9e58b">&#9670;&#160;</a></span>get_allocator()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="#a740021db9b7bad492ebe3d074769d8b8">allocator_type</a> <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::get_allocator </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel constexpr">constexpr</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the associated allocator. </p>
<dl class="section return"><dt>Returns</dt><dd>The associated allocator. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00197">197</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a9213407b3d7b543348000a44357ccca1" name="a9213407b3d7b543348000a44357ccca1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9213407b3d7b543348000a44357ccca1">&#9670;&#160;</a></span>in_edges()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#ad1eb3bad19846f57d9a6a44bed6f360d">in_edge_iterator</a> &gt; <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::in_edges </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>vertex</em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterable object to visit all in-edges of a vertex. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">vertex</td><td>The vertex of which to return all in-edges. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An iterable object to visit all in-edges of a vertex. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00263">263</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a16d422fbdac17535196b27001b4bfd63" name="a16d422fbdac17535196b27001b4bfd63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16d422fbdac17535196b27001b4bfd63">&#9670;&#160;</a></span>insert()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::pair&lt; <a class="el" href="#a4e2e74717c42df138ed98b1a33b6ffd8">edge_iterator</a>, bool &gt; <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::insert </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>lhs</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>rhs</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts an edge into the adjacency matrix, if it does not exist. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">lhs</td><td>The left hand vertex of the edge. </td></tr>
<tr><td class="paramname">rhs</td><td>The right hand vertex of the edge. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pair consisting of an iterator to the inserted element (or to the element that prevented the insertion) and a bool denoting whether the insertion took place. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00292">292</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a760b57bbb50f8e98a9f6bf8c6c6a19c5" name="a760b57bbb50f8e98a9f6bf8c6c6a19c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a760b57bbb50f8e98a9f6bf8c6c6a19c5">&#9670;&#160;</a></span>operator=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp; <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a>&lt; Category, Allocator &gt; &amp;&amp;</td> <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel default">default</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default move assignment operator. </p>
<dl class="section return"><dt>Returns</dt><dd>This container. </dd></dl>
</div>
</div>
<a id="ab26e50bcbe59bf835f6a34a21a622095" name="ab26e50bcbe59bf835f6a34a21a622095"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab26e50bcbe59bf835f6a34a21a622095">&#9670;&#160;</a></span>operator=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a> &amp; <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a>&lt; Category, Allocator &gt; &amp;</td> <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel default">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default copy assignment operator. </p>
<dl class="section return"><dt>Returns</dt><dd>This container. </dd></dl>
</div>
</div>
<a id="a4e28de523aa924aea9c8c78b5981a9df" name="a4e28de523aa924aea9c8c78b5981a9df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e28de523aa924aea9c8c78b5981a9df">&#9670;&#160;</a></span>out_edges()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#a88b3a1f0df93f9785b51ece42cb71852">out_edge_iterator</a> &gt; <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::out_edges </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#ad59306803ff05b7d2d3244f7e59ef9d9">vertex_type</a></td> <td class="paramname"><span class="paramname"><em>vertex</em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterable object to visit all out-edges of a vertex. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">vertex</td><td>The vertex of which to return all out-edges. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An iterable object to visit all out-edges of a vertex. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00251">251</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="ad45c4c6b938ed028d7c99b1d1a678b9e" name="ad45c4c6b938ed028d7c99b1d1a678b9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad45c4c6b938ed028d7c99b1d1a678b9e">&#9670;&#160;</a></span>resize()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::resize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a></td> <td class="paramname"><span class="paramname"><em>vertices</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Resizes an adjacency matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">vertices</td><td>The new number of vertices. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00274">274</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a70f8706c96d4c000ceab51d88402ca74" name="a70f8706c96d4c000ceab51d88402ca74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70f8706c96d4c000ceab51d88402ca74">&#9670;&#160;</a></span>size()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="#a72507bd210570d5712a5c40b0d345b6c">size_type</a> <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::size </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of vertices. </p>
<dl class="section return"><dt>Returns</dt><dd>The number of vertices. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00224">224</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="a5ee4c669461f74485c4263ece0c05f2f" name="a5ee4c669461f74485c4263ece0c05f2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ee4c669461f74485c4263ece0c05f2f">&#9670;&#160;</a></span>swap()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classentt_1_1adjacency__matrix.html">adjacency_matrix</a>&lt; Category, Allocator &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>other</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Exchanges the contents with those of a given adjacency matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Adjacency matrix to exchange the content with. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00187">187</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<a id="aac3dbc29bb2a31de879b62742124ddd4" name="aac3dbc29bb2a31de879b62742124ddd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac3dbc29bb2a31de879b62742124ddd4">&#9670;&#160;</a></span>vertices()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Category, typename Allocator&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structentt_1_1iterable__adaptor.html">iterable_adaptor</a>&lt; <a class="el" href="#a2a5cd6977bd31867ed853b737f3a2ff1">vertex_iterator</a> &gt; <a class="el" href="classentt_1_1adjacency__matrix.html">entt::adjacency_matrix</a>&lt; Category, Allocator &gt;::vertices </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span><span class="mlabel nodiscard">nodiscard</span><span class="mlabel noexcept">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an iterable object to visit all vertices of a matrix. </p>
<dl class="section return"><dt>Returns</dt><dd>An iterable object to visit all vertices of a matrix. </dd></dl>
<p class="definition">Definition at line <a class="el" href="adjacency__matrix_8hpp_source.html#l00232">232</a> of file <a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/entt/graph/<a class="el" href="adjacency__matrix_8hpp_source.html">adjacency_matrix.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2
</small></address>
</div><!-- doc-content -->
</body>
</html>