225 lines
17 KiB
HTML
225 lines
17 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/core/data/serialization_template_version.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
|
|
 <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 Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related 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 List</span></a></li>
|
|
<li><a href="globals.html"><span>File 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_f7ac9cdfd28b2e882eb44d163e3b98b4.html">core</a></li><li class="navelem"><a class="el" href="dir_96b57488436375c38fa22c0899d60308.html">data</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#define-members">Macros</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">serialization_template_version.hpp File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><div class="dynheader">
|
|
This graph shows which files directly or indirectly include this file:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="serialization__template__version_8hpp__dep__incl.png" border="0" usemap="#src_2mlpack_2core_2data_2serialization__template__version_8hppdep" alt=""/></div>
|
|
<map name="src_2mlpack_2core_2data_2serialization__template__version_8hppdep" id="src_2mlpack_2core_2data_2serialization__template__version_8hppdep">
|
|
<area shape="rect" id="node2" href="prereqs_8hpp.html" title="The core includes that mlpack expects; standard C++ includes and Armadillo. " alt="" coords="3125,109,3283,136"/>
|
|
<area shape="rect" id="node3" href="binarize_8hpp.html" title="src/mlpack/core/data\l/binarize.hpp" alt="" coords="5,191,149,233"/>
|
|
<area shape="rect" id="node4" href="dataset__mapper_8hpp.html" title="src/mlpack/core/data\l/dataset_mapper.hpp" alt="" coords="413,392,557,433"/>
|
|
<area shape="rect" id="node5" href="imputer_8hpp.html" title="src/mlpack/core/data\l/imputer.hpp" alt="" coords="247,481,391,523"/>
|
|
<area shape="rect" id="node6" href="load_8hpp.html" title="src/mlpack/core/data\l/load.hpp" alt="" coords="415,481,559,523"/>
|
|
<area shape="rect" id="node7" href="load__arff_8hpp.html" title="src/mlpack/core/data\l/load_arff.hpp" alt="" coords="583,481,727,523"/>
|
|
<area shape="rect" id="node8" href="increment__policy_8hpp.html" title="src/mlpack/core/data\l/map_policies/increment\l_policy.hpp" alt="" coords="293,288,456,344"/>
|
|
<area shape="rect" id="node9" href="extension_8hpp.html" title="src/mlpack/core/data\l/extension.hpp" alt="" coords="683,191,827,233"/>
|
|
<area shape="rect" id="node10" href="custom__imputation_8hpp.html" title="src/mlpack/core/data\l/imputation_methods/custom\l_imputation.hpp" alt="" coords="851,184,1042,240"/>
|
|
<area shape="rect" id="node11" href="listwise__deletion_8hpp.html" title="src/mlpack/core/data\l/imputation_methods/listwise\l_deletion.hpp" alt="" coords="1066,184,1257,240"/>
|
|
<area shape="rect" id="node12" href="mean__imputation_8hpp.html" title="src/mlpack/core/data\l/imputation_methods/mean\l_imputation.hpp" alt="" coords="1281,184,1460,240"/>
|
|
<area shape="rect" id="node13" href="median__imputation_8hpp.html" title="src/mlpack/core/data\l/imputation_methods/median\l_imputation.hpp" alt="" coords="1484,184,1673,240"/>
|
|
<area shape="rect" id="node14" href="missing__policy_8hpp.html" title="src/mlpack/core/data\l/map_policies/missing\l_policy.hpp" alt="" coords="118,288,269,344"/>
|
|
<area shape="rect" id="node15" href="datatype_8hpp.html" title="src/mlpack/core/data\l/map_policies/datatype.hpp" alt="" coords="224,191,405,233"/>
|
|
<area shape="rect" id="node16" href="normalize__labels_8hpp.html" title="src/mlpack/core/data\l/normalize_labels.hpp" alt="" coords="1698,191,1846,233"/>
|
|
<area shape="rect" id="node17" href="split__data_8hpp.html" title="src/mlpack/core/data\l/split_data.hpp" alt="" coords="1871,191,2015,233"/>
|
|
<area shape="rect" id="node18" href="discrete__distribution_8hpp.html" title="src/mlpack/core/dists\l/discrete_distribution.hpp" alt="" coords="1970,295,2137,337"/>
|
|
<area shape="rect" id="node19" href="gamma__distribution_8hpp.html" title="src/mlpack/core/dists\l/gamma_distribution.hpp" alt="" coords="2163,295,2327,337"/>
|
|
<area shape="rect" id="node20" href="gaussian__distribution_8hpp.html" title="src/mlpack/core/dists\l/gaussian_distribution.hpp" alt="" coords="2364,191,2537,233"/>
|
|
<area shape="rect" id="node21" href="regression__distribution_8hpp.html" title="src/mlpack/core/dists\l/regression_distribution.hpp" alt="" coords="2357,295,2539,337"/>
|
|
<area shape="rect" id="node22" href="cosine__distance_8hpp.html" title="src/mlpack/core/kernels\l/cosine_distance.hpp" alt="" coords="2562,191,2723,233"/>
|
|
<area shape="rect" id="node23" href="epanechnikov__kernel_8hpp.html" title="src/mlpack/core/kernels\l/epanechnikov_kernel.hpp" alt="" coords="2748,191,2921,233"/>
|
|
<area shape="rect" id="node24" href="example__kernel_8hpp.html" title="src/mlpack/core/kernels\l/example_kernel.hpp" alt="" coords="2946,191,3107,233"/>
|
|
<area shape="rect" id="node25" href="gaussian__kernel_8hpp.html" title="src/mlpack/core/kernels\l/gaussian_kernel.hpp" alt="" coords="3078,295,3239,337"/>
|
|
<area shape="rect" id="node26" href="hyperbolic__tangent__kernel_8hpp.html" title="src/mlpack/core/kernels\l/hyperbolic_tangent_kernel.hpp" alt="" coords="3420,191,3623,233"/>
|
|
<area shape="rect" id="node27" href="laplacian__kernel_8hpp.html" title="src/mlpack/core/kernels\l/laplacian_kernel.hpp" alt="" coords="3647,191,3809,233"/>
|
|
<area shape="rect" id="node28" href="linear__kernel_8hpp.html" title="src/mlpack/core/kernels\l/linear_kernel.hpp" alt="" coords="3833,191,3994,233"/>
|
|
<area shape="rect" id="node29" href="polynomial__kernel_8hpp.html" title="src/mlpack/core/kernels\l/polynomial_kernel.hpp" alt="" coords="4018,191,4179,233"/>
|
|
<area shape="rect" id="node30" href="pspectrum__string__kernel_8hpp.html" title="src/mlpack/core/kernels\l/pspectrum_string_kernel.hpp" alt="" coords="4203,191,4397,233"/>
|
|
<area shape="rect" id="node31" href="spherical__kernel_8hpp.html" title="src/mlpack/core/kernels\l/spherical_kernel.hpp" alt="" coords="4421,191,4582,233"/>
|
|
<area shape="rect" id="node32" href="triangular__kernel_8hpp.html" title="src/mlpack/core/kernels\l/triangular_kernel.hpp" alt="" coords="3289,295,3450,337"/>
|
|
<area shape="rect" id="node33" href="columns__to__blocks_8hpp.html" title="src/mlpack/core/math\l/columns_to_blocks.hpp" alt="" coords="4607,191,4769,233"/>
|
|
<area shape="rect" id="node34" href="lin__alg_8hpp.html" title="src/mlpack/core/math\l/lin_alg.hpp" alt="" coords="4794,191,4942,233"/>
|
|
<area shape="rect" id="node35" href="random_8hpp.html" title="Miscellaneous math random-related routines. " alt="" coords="2090,191,2238,233"/>
|
|
<area shape="rect" id="node36" href="random__basis_8hpp.html" title="src/mlpack/core/math\l/random_basis.hpp" alt="" coords="4966,191,5114,233"/>
|
|
<area shape="rect" id="node37" href="lmetric_8hpp.html" title="src/mlpack/core/metrics\l/lmetric.hpp" alt="" coords="3183,191,3345,233"/>
|
|
<area shape="rect" id="node38" href="mahalanobis__distance_8hpp.html" title="src/mlpack/core/metrics\l/mahalanobis_distance.hpp" alt="" coords="5138,191,5318,233"/>
|
|
<area shape="rect" id="node39" href="ada__delta_8hpp.html" title="src/mlpack/core/optimizers\l/adadelta/ada_delta.hpp" alt="" coords="5343,191,5521,233"/>
|
|
<area shape="rect" id="node40" href="adam_8hpp.html" title="src/mlpack/core/optimizers\l/adam/adam.hpp" alt="" coords="5545,191,5724,233"/>
|
|
<area shape="rect" id="node41" href="aug__lagrangian_8hpp.html" title="src/mlpack/core/optimizers\l/aug_lagrangian/aug_lagrangian.hpp" alt="" coords="5787,295,6016,337"/>
|
|
<area shape="rect" id="node42" href="aug__lagrangian__function_8hpp.html" title="src/mlpack/core/optimizers\l/aug_lagrangian/aug_lagrangian\l_function.hpp" alt="" coords="5799,184,6003,240"/>
|
|
<area shape="rect" id="node43" href="aug__lagrangian__test__functions_8hpp.html" title="src/mlpack/core/optimizers\l/aug_lagrangian/aug_lagrangian\l_test_functions.hpp" alt="" coords="6231,184,6435,240"/>
|
|
<area shape="rect" id="node44" href="gradient__descent_8hpp.html" title="src/mlpack/core/optimizers\l/gradient_descent/gradient\l_descent.hpp" alt="" coords="6460,184,6639,240"/>
|
|
<area shape="rect" id="node45" href="gradient__descent_2test__function_8hpp.html" title="src/mlpack/core/optimizers\l/gradient_descent/test_function.hpp" alt="" coords="6663,191,6892,233"/>
|
|
<area shape="rect" id="node46" href="lbfgs_8hpp.html" title="src/mlpack/core/optimizers\l/lbfgs/lbfgs.hpp" alt="" coords="6028,191,6207,233"/>
|
|
<area shape="rect" id="node47" href="test__functions_8hpp.html" title="src/mlpack/core/optimizers\l/lbfgs/test_functions.hpp" alt="" coords="6916,191,7095,233"/>
|
|
<area shape="rect" id="node48" href="minibatch__sgd_8hpp.html" title="src/mlpack/core/optimizers\l/minibatch_sgd/minibatch\l_sgd.hpp" alt="" coords="7119,184,7297,240"/>
|
|
<area shape="rect" id="node49" href="rmsprop_8hpp.html" title="src/mlpack/core/optimizers\l/rmsprop/rmsprop.hpp" alt="" coords="7321,191,7500,233"/>
|
|
<area shape="rect" id="node50" href="sa_8hpp.html" title="src/mlpack/core/optimizers\l/sa/sa.hpp" alt="" coords="7524,191,7703,233"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
<p><a href="serialization__template__version_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="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:a0cffb646dc070a8ea22e3101a0d4144c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="serialization__template__version_8hpp.html#a0cffb646dc070a8ea22e3101a0d4144c">BOOST_TEMPLATE_CLASS_VERSION</a>(SIGNATURE, T, N)</td></tr>
|
|
<tr class="memdesc:a0cffb646dc070a8ea22e3101a0d4144c"><td class="mdescLeft"> </td><td class="mdescRight">Use this like BOOST_CLASS_VERSION(), but for templated classes. <a href="#a0cffb646dc070a8ea22e3101a0d4144c">More...</a><br /></td></tr>
|
|
<tr class="separator:a0cffb646dc070a8ea22e3101a0d4144c"><td class="memSeparator" colspan="2"> </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>A better version of the BOOST_CLASS_VERSION() macro that supports templated classes.</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="serialization__template__version_8hpp_source.html">serialization_template_version.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="a0cffb646dc070a8ea22e3101a0d4144c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define BOOST_TEMPLATE_CLASS_VERSION</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">SIGNATURE, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">T, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">N </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">namespace </span><a class="code" href="namespaceboost.html">boost</a> { \</div><div class="line">namespace serialization { \</div><div class="line">SIGNATURE \</div><div class="line">struct version<mlpack::data::SecondShim<T>> \</div><div class="line">{ \</div><div class="line"> typedef mpl::int_<N> type; \</div><div class="line"> typedef mpl::integral_c_tag tag; \</div><div class="line"> BOOST_STATIC_CONSTANT(<span class="keywordtype">int</span>, value = version::type::value); \</div><div class="line"> BOOST_MPL_ASSERT(( \</div><div class="line"> boost::mpl::less< \</div><div class="line"> boost::mpl::int_<N>, \</div><div class="line"> boost::mpl::int_<256> \</div><div class="line"> > \</div><div class="line"> )); \</div><div class="line">}; \</div><div class="line">} \</div><div class="line">}</div><div class="ttc" id="namespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition:</b> <a href="serialization__shim_8hpp_source.html#l00492">serialization_shim.hpp:492</a></div></div>
|
|
</div><!-- fragment -->
|
|
<p>Use this like BOOST_CLASS_VERSION(), but for templated classes. </p>
|
|
<p>The first argument is the signature for the template. Here is an example for math::Range<eT>:</p>
|
|
<p><a class="el" href="serialization__template__version_8hpp.html#a0cffb646dc070a8ea22e3101a0d4144c" title="Use this like BOOST_CLASS_VERSION(), but for templated classes. ">BOOST_TEMPLATE_CLASS_VERSION(template<typename eT>, math::Range<eT>, 1)</a>; </p>
|
|
|
|
<p>Definition at line <a class="el" href="serialization__template__version_8hpp_source.html#l00023">23</a> of file <a class="el" href="serialization__template__version_8hpp_source.html">serialization_template_version.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <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>
|