Files
mlpack/doc/html/ns__model_8hpp.html
T

265 lines
24 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>mlpack: src/mlpack/methods/neighbor_search/ns_model.hpp File 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>
<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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra-stylesheet.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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">mlpack
&#160;<span id="projectnumber">master</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_44a936ef30fc126706c6284a2fc0c990.html">mlpack</a></li><li class="navelem"><a class="el" href="dir_3cfbf900288ec2fe8dd2c2c8482f216e.html">methods</a></li><li class="navelem"><a class="el" href="dir_1d65ca8da19f261ef402f02c2090e4b8.html">neighbor_search</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">ns_model.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
Include dependency graph for ns_model.hpp:</div>
<div class="dyncontent">
<div class="center"><img src="ns__model_8hpp__incl.png" border="0" usemap="#src_2mlpack_2methods_2neighbor__search_2ns__model_8hpp" alt=""/></div>
<map name="src_2mlpack_2methods_2neighbor__search_2ns__model_8hpp" id="src_2mlpack_2methods_2neighbor__search_2ns__model_8hpp">
<area shape="rect" id="node2" href="binary__space__tree_8hpp.html" title="mlpack/core/tree/binary\l_space_tree.hpp" alt="" coords="2063,184,2222,225"/>
<area shape="rect" id="node20" href="cover__tree_8hpp.html" title="mlpack/core/tree/cover\l_tree.hpp" alt="" coords="438,184,593,225"/>
<area shape="rect" id="node29" href="rectangle__tree_8hpp.html" title="mlpack/core/tree/rectangle\l_tree.hpp" alt="" coords="4142,184,4318,225"/>
<area shape="rect" id="node46" href="spill__tree_8hpp.html" title="mlpack/core/tree/spill\l_tree.hpp" alt="" coords="3324,184,3470,225"/>
<area shape="rect" id="node47" href="octree_8hpp.html" title="mlpack/core/tree/octree.hpp" alt="" coords="3494,191,3678,218"/>
<area shape="rect" id="node49" href="neighbor__search_8hpp.html" title="neighbor_search.hpp" alt="" coords="3215,109,3358,136"/>
<area shape="rect" id="node3" href="prereqs_8hpp.html" title="The core includes that mlpack expects; standard C++ includes and Armadillo. " alt="" coords="2876,556,3012,583"/>
<area shape="rect" id="node4" href="bounds_8hpp.html" title="Bounds that are useful for binary space partitioning trees. " alt="" coords="3375,288,3464,315"/>
<area shape="rect" id="node5" href="midpoint__split_8hpp.html" title="binary_space_tree/midpoint\l_split.hpp" alt="" coords="2152,467,2333,508"/>
<area shape="rect" id="node6" href="mean__split_8hpp.html" title="binary_space_tree/mean\l_split.hpp" alt="" coords="1520,467,1684,508"/>
<area shape="rect" id="node7" href="vantage__point__split_8hpp.html" title="binary_space_tree/vantage\l_point_split.hpp" alt="" coords="1602,377,1781,419"/>
<area shape="rect" id="node8" href="rp__tree__max__split_8hpp.html" title="binary_space_tree/rp\l_tree_max_split.hpp" alt="" coords="1806,377,1948,419"/>
<area shape="rect" id="node9" href="rp__tree__mean__split_8hpp.html" title="binary_space_tree/rp\l_tree_mean_split.hpp" alt="" coords="1704,281,1850,322"/>
<area shape="rect" id="node10" href="ub__tree__split_8hpp.html" title="binary_space_tree/ub\l_tree_split.hpp" alt="" coords="2621,467,2768,508"/>
<area shape="rect" id="node11" href="binary__space__tree_2binary__space__tree_8hpp.html" title="binary_space_tree/binary\l_space_tree.hpp" alt="" coords="2159,377,2326,419"/>
<area shape="rect" id="node12" href="binary__space__tree_2single__tree__traverser_8hpp.html" title="binary_space_tree/single\l_tree_traverser.hpp" alt="" coords="1875,281,2042,322"/>
<area shape="rect" id="node14" href="binary__space__tree_2dual__tree__traverser_8hpp.html" title="binary_space_tree/dual\l_tree_traverser.hpp" alt="" coords="2624,281,2780,322"/>
<area shape="rect" id="node16" href="breadth__first__dual__tree__traverser_8hpp.html" title="binary_space_tree/breadth\l_first_dual_tree_traverser.hpp" alt="" coords="3004,281,3198,322"/>
<area shape="rect" id="node18" href="binary__space__tree_2traits_8hpp.html" title="binary_space_tree/traits.hpp" alt="" coords="1117,288,1304,315"/>
<area shape="rect" id="node19" href="core_2tree_2binary__space__tree_2typedef_8hpp.html" title="binary_space_tree/typedef.hpp" alt="" coords="1328,288,1528,315"/>
<area shape="rect" id="node21" href="first__point__is__root_8hpp.html" title="cover_tree/first_point\l_is_root.hpp" alt="" coords="797,467,941,508"/>
<area shape="rect" id="node22" href="cover__tree_2cover__tree_8hpp.html" title="cover_tree/cover_tree.hpp" alt="" coords="620,385,793,411"/>
<area shape="rect" id="node23" href="cover__tree_2single__tree__traverser_8hpp.html" title="cover_tree/single_tree\l_traverser.hpp" alt="" coords="790,281,940,322"/>
<area shape="rect" id="node25" href="cover__tree_2dual__tree__traverser_8hpp.html" title="cover_tree/dual_tree\l_traverser.hpp" alt="" coords="162,377,302,419"/>
<area shape="rect" id="node27" href="cover__tree_2traits_8hpp.html" title="cover_tree/traits.hpp" alt="" coords="445,288,586,315"/>
<area shape="rect" id="node28" href="core_2tree_2cover__tree_2typedef_8hpp.html" title="cover_tree/typedef.hpp" alt="" coords="610,288,765,315"/>
<area shape="rect" id="node30" href="rectangle__tree_2rectangle__tree_8hpp.html" title="rectangle_tree/rectangle\l_tree.hpp" alt="" coords="3930,377,4091,419"/>
<area shape="rect" id="node31" href="r__tree__split_8hpp.html" title="r_tree_split.hpp" alt="" coords="3620,474,3731,501"/>
<area shape="rect" id="node32" href="r__tree__descent__heuristic_8hpp.html" title="r_tree_descent_heuristic.hpp" alt="" coords="3756,474,3945,501"/>
<area shape="rect" id="node33" href="no__auxiliary__information_8hpp.html" title="no_auxiliary_information.hpp" alt="" coords="4020,474,4206,501"/>
<area shape="rect" id="node34" href="rectangle__tree_2single__tree__traverser_8hpp.html" title="rectangle_tree/single\l_tree_traverser.hpp" alt="" coords="3980,281,4123,322"/>
<area shape="rect" id="node36" href="rectangle__tree_2dual__tree__traverser_8hpp.html" title="rectangle_tree/dual\l_tree_traverser.hpp" alt="" coords="4338,281,4472,322"/>
<area shape="rect" id="node38" href="r__star__tree__split_8hpp.html" title="rectangle_tree/r_star\l_tree_split.hpp" alt="" coords="4638,377,4780,419"/>
<area shape="rect" id="node39" href="r__star__tree__descent__heuristic_8hpp.html" title="rectangle_tree/r_star\l_tree_descent_heuristic.hpp" alt="" coords="4804,377,4990,419"/>
<area shape="rect" id="node40" href="x__tree__split_8hpp.html" title="rectangle_tree/x_tree\l_split.hpp" alt="" coords="4873,467,5017,508"/>
<area shape="rect" id="node41" href="x__tree__auxiliary__information_8hpp.html" title="rectangle_tree/x_tree\l_auxiliary_information.hpp" alt="" coords="4838,281,5012,322"/>
<area shape="rect" id="node42" href="hilbert__r__tree__descent__heuristic_8hpp.html" title="rectangle_tree/hilbert\l_r_tree_descent_heuristic.hpp" alt="" coords="5066,377,5262,419"/>
<area shape="rect" id="node43" href="hilbert__r__tree__split_8hpp.html" title="rectangle_tree/hilbert\l_r_tree_split.hpp" alt="" coords="5187,467,5330,508"/>
<area shape="rect" id="node44" href="hilbert__r__tree__auxiliary__information_8hpp.html" title="rectangle_tree/hilbert\l_r_tree_auxiliary_information.hpp" alt="" coords="3540,281,3753,322"/>
<area shape="rect" id="node45" href="discrete__hilbert__value_8hpp.html" title="rectangle_tree/discrete\l_hilbert_value.hpp" alt="" coords="3594,377,3749,419"/>
</map>
</div>
</div>
<p><a href="ns__model_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1BiSearchVisitor.html">mlpack::neighbor::BiSearchVisitor&lt; SortPolicy &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmlpack_1_1neighbor_1_1BiSearchVisitor.html" title="BiSearchVisitor executes a bichromatic neighbor search on the given NSType. ">BiSearchVisitor</a> executes a bichromatic neighbor search on the given NSType. <a href="classmlpack_1_1neighbor_1_1BiSearchVisitor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1DeleteVisitor.html">mlpack::neighbor::DeleteVisitor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmlpack_1_1neighbor_1_1DeleteVisitor.html" title="DeleteVisitor deletes the given NSType instance. ">DeleteVisitor</a> deletes the given NSType instance. <a href="classmlpack_1_1neighbor_1_1DeleteVisitor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1EpsilonVisitor.html">mlpack::neighbor::EpsilonVisitor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmlpack_1_1neighbor_1_1EpsilonVisitor.html" title="EpsilonVisitor exposes the Epsilon method of the given NSType. ">EpsilonVisitor</a> exposes the Epsilon method of the given NSType. <a href="classmlpack_1_1neighbor_1_1EpsilonVisitor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1MonoSearchVisitor.html">mlpack::neighbor::MonoSearchVisitor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmlpack_1_1neighbor_1_1MonoSearchVisitor.html" title="MonoSearchVisitor executes a monochromatic neighbor search on the given NSType. ">MonoSearchVisitor</a> executes a monochromatic neighbor search on the given NSType. <a href="classmlpack_1_1neighbor_1_1MonoSearchVisitor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1NSModel.html">mlpack::neighbor::NSModel&lt; SortPolicy &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="classmlpack_1_1neighbor_1_1NSModel.html" title="The NSModel class provides an easy way to serialize a model, abstracts away the different types of tr...">NSModel</a> class provides an easy way to serialize a model, abstracts away the different types of trees, and also reflects the <a class="el" href="classmlpack_1_1neighbor_1_1NeighborSearch.html" title="The NeighborSearch class is a template class for performing distance-based neighbor searches...">NeighborSearch</a> API. <a href="classmlpack_1_1neighbor_1_1NSModel.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmlpack_1_1neighbor_1_1NSModelName.html">mlpack::neighbor::NSModelName&lt; SortPolicy &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmlpack_1_1neighbor_1_1NSModelName_3_01FurthestNeighborSort_01_4.html">mlpack::neighbor::NSModelName&lt; FurthestNeighborSort &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmlpack_1_1neighbor_1_1NSModelName_3_01NearestNeighborSort_01_4.html">mlpack::neighbor::NSModelName&lt; NearestNeighborSort &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1ReferenceSetVisitor.html">mlpack::neighbor::ReferenceSetVisitor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmlpack_1_1neighbor_1_1ReferenceSetVisitor.html" title="ReferenceSetVisitor exposes the referenceSet of the given NSType. ">ReferenceSetVisitor</a> exposes the referenceSet of the given NSType. <a href="classmlpack_1_1neighbor_1_1ReferenceSetVisitor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1SearchModeVisitor.html">mlpack::neighbor::SearchModeVisitor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmlpack_1_1neighbor_1_1SearchModeVisitor.html" title="SearchModeVisitor exposes the SearchMode() method of the given NSType. ">SearchModeVisitor</a> exposes the SearchMode() method of the given NSType. <a href="classmlpack_1_1neighbor_1_1SearchModeVisitor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1neighbor_1_1TrainVisitor.html">mlpack::neighbor::TrainVisitor&lt; SortPolicy &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classmlpack_1_1neighbor_1_1TrainVisitor.html" title="TrainVisitor sets the reference set to a new reference set on the given NSType. ">TrainVisitor</a> sets the reference set to a new reference set on the given NSType. <a href="classmlpack_1_1neighbor_1_1TrainVisitor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacemlpack"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemlpack.html">mlpack</a></td></tr>
<tr class="memdesc:namespacemlpack"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear algebra utility functions, generally performed on matrices or vectors. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacemlpack_1_1neighbor"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemlpack_1_1neighbor.html">mlpack::neighbor</a></td></tr>
<tr class="memdesc:namespacemlpack_1_1neighbor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Neighbor-search routines. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a00f8d5f4713b164a0f856ebe82b00b6e"><td class="memTemplParams" colspan="2">template&lt;typename SortPolicy , template&lt; typename TreeMetricType, typename TreeStatType, typename TreeMatType &gt; class TreeType&gt; </td></tr>
<tr class="memitem:a00f8d5f4713b164a0f856ebe82b00b6e"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacemlpack_1_1neighbor.html#a00f8d5f4713b164a0f856ebe82b00b6e">mlpack::neighbor::NSType</a> = NeighborSearch&lt; SortPolicy, metric::EuclideanDistance, arma::mat, TreeType, TreeType&lt; metric::EuclideanDistance, NeighborSearchStat&lt; SortPolicy &gt;, arma::mat &gt;::template DualTreeTraverser &gt;</td></tr>
<tr class="memdesc:a00f8d5f4713b164a0f856ebe82b00b6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias template for euclidean neighbor search. <a href="namespacemlpack_1_1neighbor.html#a00f8d5f4713b164a0f856ebe82b00b6e">More...</a><br /></td></tr>
<tr class="separator:a00f8d5f4713b164a0f856ebe82b00b6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9b67caf7ca2f312476efdacd8210d85d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ns__model_8hpp.html#a9b67caf7ca2f312476efdacd8210d85d">BOOST_TEMPLATE_CLASS_VERSION</a> (template&lt; typename SortPolicy &gt;, <a class="el" href="classmlpack_1_1neighbor_1_1NSModel.html">mlpack::neighbor::NSModel</a>&lt; SortPolicy &gt;, 1)</td></tr>
<tr class="memdesc:a9b67caf7ca2f312476efdacd8210d85d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the serialization version of the NSModel class. <a href="#a9b67caf7ca2f312476efdacd8210d85d">More...</a><br /></td></tr>
<tr class="separator:a9b67caf7ca2f312476efdacd8210d85d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Ryan Curtin</dd></dl>
<p>This is a model for nearest or furthest neighbor search. It is useful in that it provides an easy way to serialize a model, abstracts away the different types of trees, and also reflects the NeighborSearch API and automatically directs to the right tree type.</p>
<p>mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see <a href="http://www.opensource.org/licenses/BSD-3-Clause">http://www.opensource.org/licenses/BSD-3-Clause</a> for more information. </p>
<p>Definition in file <a class="el" href="ns__model_8hpp_source.html">ns_model.hpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a9b67caf7ca2f312476efdacd8210d85d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">BOOST_TEMPLATE_CLASS_VERSION </td>
<td>(</td>
<td class="paramtype">template&lt; typename SortPolicy &gt;&#160;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmlpack_1_1neighbor_1_1NSModel.html">mlpack::neighbor::NSModel</a>&lt; SortPolicy &gt;&#160;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">1&#160;</td>
<td class="paramname">&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the serialization version of the NSModel class. </p>
<p>Referenced by <a class="el" href="ns__model_8hpp_source.html#l00402">mlpack::neighbor::NSModel&lt; SortPolicy &gt;::RandomBasis()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
<script type="text/javascript">
var x = document.getElementsByClassName("formulaDsp");
var i;
for (i = 0; i < x.length; i++)
{
x[i].width /= 4;
}
</script>
</html>