| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_121) on Fri Apr 14 22:11:36 PDT 2017 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>HashedVector (Mahout Map-Reduce 0.13.0 API)</title> |
| <meta name="date" content="2017-04-14"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="HashedVector (Mahout Map-Reduce 0.13.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":9,"i5":9,"i6":10,"i7":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HashedVector.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/mahout/math/neighborhood/FastProjectionSearch.html" title="class in org.apache.mahout.math.neighborhood"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/mahout/math/neighborhood/LocalitySensitiveHashSearch.html" title="class in org.apache.mahout.math.neighborhood"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/mahout/math/neighborhood/HashedVector.html" target="_top">Frames</a></li> |
| <li><a href="HashedVector.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.mahout.math.neighborhood</div> |
| <h2 title="Class HashedVector" class="title">Class HashedVector</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true" title="class or interface in org.apache.mahout.math">org.apache.mahout.math.DelegatingVector</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">org.apache.mahout.math.WeightedVector</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.mahout.math.neighborhood.HashedVector</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">HashedVector</span> |
| extends <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a></pre> |
| <div class="block">Decorates a weighted vector with a locality sensitive hash. |
| |
| The LSH function implemented is the random hyperplane based hash function. |
| See "Similarity Estimation Techniques from Rounding Algorithms" by Moses S. Charikar, section 3. |
| http://www.cs.princeton.edu/courses/archive/spring04/cos598B/bib/CharikarEstim.pdf</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.mahout.math.Vector"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.mahout.math.<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a></h3> |
| <code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.Element.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector.Element</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#INVALID_INDEX">INVALID_INDEX</a></span></code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.mahout.math.DelegatingVector"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.mahout.math.<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true" title="class or interface in org.apache.mahout.math">DelegatingVector</a></h3> |
| <code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#delegate" title="class or interface in org.apache.mahout.math">delegate</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#HashedVector-org.apache.mahout.math.Vector-long-int-">HashedVector</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a> vector, |
| long hash, |
| int index)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#HashedVector-org.apache.mahout.math.Vector-org.apache.mahout.math.Matrix-int-long-">HashedVector</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a> vector, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection, |
| int index, |
| long mask)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#HashedVector-org.apache.mahout.math.WeightedVector-org.apache.mahout.math.Matrix-long-">HashedVector</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a> weightedVector, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection, |
| long mask)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#computeHash64-org.apache.mahout.math.Vector-org.apache.mahout.math.Matrix-">computeHash64</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a> vector, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection)</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#getHash--">getHash</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#hammingDistance-long-">hammingDistance</a></span>(long otherHash)</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html" title="class in org.apache.mahout.math.neighborhood">HashedVector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#hash-org.apache.mahout.math.WeightedVector-org.apache.mahout.math.Matrix-">hash</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a> v, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection)</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html" title="class in org.apache.mahout.math.neighborhood">HashedVector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#hash-org.apache.mahout.math.WeightedVector-org.apache.mahout.math.Matrix-long-">hash</a></span>(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a> v, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection, |
| long mask)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#hashCode--">hashCode</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.mahout.math.WeightedVector"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.mahout.math.<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a></h3> |
| <code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#clone--" title="class or interface in org.apache.mahout.math">clone</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#getIndex--" title="class or interface in org.apache.mahout.math">getIndex</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#getWeight--" title="class or interface in org.apache.mahout.math">getWeight</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#like--" title="class or interface in org.apache.mahout.math">like</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#project-org.apache.mahout.math.Vector-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">project</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#project-org.apache.mahout.math.Vector-org.apache.mahout.math.Vector-int-" title="class or interface in org.apache.mahout.math">project</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#setIndex-int-" title="class or interface in org.apache.mahout.math">setIndex</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#setWeight-double-" title="class or interface in org.apache.mahout.math">setWeight</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.mahout.math.DelegatingVector"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.mahout.math.<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true" title="class or interface in org.apache.mahout.math">DelegatingVector</a></h3> |
| <code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#aggregate-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleFunction-" title="class or interface in org.apache.mahout.math">aggregate</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#aggregate-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-org.apache.mahout.math.function.DoubleDoubleFunction-" title="class or interface in org.apache.mahout.math">aggregate</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#all--" title="class or interface in org.apache.mahout.math">all</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#asFormatString--" title="class or interface in org.apache.mahout.math">asFormatString</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#assign-double-" title="class or interface in org.apache.mahout.math">assign</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#assign-double:A-" title="class or interface in org.apache.mahout.math">assign</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#assign-org.apache.mahout.math.function.DoubleDoubleFunction-double-" title="class or interface in org.apache.mahout.math">assign</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#assign-org.apache.mahout.math.function.DoubleFunction-" title="class or interface in org.apache.mahout.math">assign</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#assign-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">assign</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#assign-org.apache.mahout.math.Vector-org.apache.mahout.math.function.DoubleDoubleFunction-" title="class or interface in org.apache.mahout.math">assign</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#cross-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">cross</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#divide-double-" title="class or interface in org.apache.mahout.math">divide</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#dot-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">dot</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#get-int-" title="class or interface in org.apache.mahout.math">get</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getDistanceSquared-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">getDistanceSquared</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getElement-int-" title="class or interface in org.apache.mahout.math">getElement</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getIteratorAdvanceCost--" title="class or interface in org.apache.mahout.math">getIteratorAdvanceCost</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getLengthSquared--" title="class or interface in org.apache.mahout.math">getLengthSquared</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getLookupCost--" title="class or interface in org.apache.mahout.math">getLookupCost</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getNumNondefaultElements--" title="class or interface in org.apache.mahout.math">getNumNondefaultElements</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getNumNonZeroElements--" title="class or interface in org.apache.mahout.math">getNumNonZeroElements</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getQuick-int-" title="class or interface in org.apache.mahout.math">getQuick</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#getVector--" title="class or interface in org.apache.mahout.math">getVector</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#incrementQuick-int-double-" title="class or interface in org.apache.mahout.math">incrementQuick</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#invalidateCachedLength--" title="class or interface in org.apache.mahout.math">invalidateCachedLength</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#isAddConstantTime--" title="class or interface in org.apache.mahout.math">isAddConstantTime</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#isDense--" title="class or interface in org.apache.mahout.math">isDense</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#isSequentialAccess--" title="class or interface in org.apache.mahout.math">isSequentialAccess</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#like-int-" title="class or interface in org.apache.mahout.math">like</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#logNormalize--" title="class or interface in org.apache.mahout.math">logNormalize</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#logNormalize-double-" title="class or interface in org.apache.mahout.math">logNormalize</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#maxValue--" title="class or interface in org.apache.mahout.math">maxValue</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#maxValueIndex--" title="class or interface in org.apache.mahout.math">maxValueIndex</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#mergeUpdates-org.apache.mahout.math.OrderedIntDoubleMapping-" title="class or interface in org.apache.mahout.math">mergeUpdates</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#minus-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">minus</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#minValue--" title="class or interface in org.apache.mahout.math">minValue</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#minValueIndex--" title="class or interface in org.apache.mahout.math">minValueIndex</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#nonZeroes--" title="class or interface in org.apache.mahout.math">nonZeroes</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#norm-double-" title="class or interface in org.apache.mahout.math">norm</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#normalize--" title="class or interface in org.apache.mahout.math">normalize</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#normalize-double-" title="class or interface in org.apache.mahout.math">normalize</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#plus-double-" title="class or interface in org.apache.mahout.math">plus</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#plus-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">plus</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#set-int-double-" title="class or interface in org.apache.mahout.math">set</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#setQuick-int-double-" title="class or interface in org.apache.mahout.math">setQuick</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#size--" title="class or interface in org.apache.mahout.math">size</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#times-double-" title="class or interface in org.apache.mahout.math">times</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#times-org.apache.mahout.math.Vector-" title="class or interface in org.apache.mahout.math">times</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#viewPart-int-int-" title="class or interface in org.apache.mahout.math">viewPart</a>, <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#zSum--" title="class or interface in org.apache.mahout.math">zSum</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="INVALID_INDEX"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>INVALID_INDEX</h4> |
| <pre>protected static final int INVALID_INDEX</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.mahout.math.neighborhood.HashedVector.INVALID_INDEX">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="HashedVector-org.apache.mahout.math.Vector-long-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HashedVector</h4> |
| <pre>public HashedVector(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a> vector, |
| long hash, |
| int index)</pre> |
| </li> |
| </ul> |
| <a name="HashedVector-org.apache.mahout.math.Vector-org.apache.mahout.math.Matrix-int-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HashedVector</h4> |
| <pre>public HashedVector(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a> vector, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection, |
| int index, |
| long mask)</pre> |
| </li> |
| </ul> |
| <a name="HashedVector-org.apache.mahout.math.WeightedVector-org.apache.mahout.math.Matrix-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HashedVector</h4> |
| <pre>public HashedVector(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a> weightedVector, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection, |
| long mask)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="computeHash64-org.apache.mahout.math.Vector-org.apache.mahout.math.Matrix-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeHash64</h4> |
| <pre>public static long computeHash64(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Vector.html?is-external=true" title="class or interface in org.apache.mahout.math">Vector</a> vector, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection)</pre> |
| </li> |
| </ul> |
| <a name="hash-org.apache.mahout.math.WeightedVector-org.apache.mahout.math.Matrix-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hash</h4> |
| <pre>public static <a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html" title="class in org.apache.mahout.math.neighborhood">HashedVector</a> hash(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a> v, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection)</pre> |
| </li> |
| </ul> |
| <a name="hash-org.apache.mahout.math.WeightedVector-org.apache.mahout.math.Matrix-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hash</h4> |
| <pre>public static <a href="../../../../../org/apache/mahout/math/neighborhood/HashedVector.html" title="class in org.apache.mahout.math.neighborhood">HashedVector</a> hash(<a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a> v, |
| <a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/Matrix.html?is-external=true" title="class or interface in org.apache.mahout.math">Matrix</a> projection, |
| long mask)</pre> |
| </li> |
| </ul> |
| <a name="hammingDistance-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hammingDistance</h4> |
| <pre>public int hammingDistance(long otherHash)</pre> |
| </li> |
| </ul> |
| <a name="getHash--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHash</h4> |
| <pre>public long getHash()</pre> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true#toString--" title="class or interface in org.apache.mahout.math">toString</a></code> in class <code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/WeightedVector.html?is-external=true" title="class or interface in org.apache.mahout.math">WeightedVector</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equals-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#equals-java.lang.Object-" title="class or interface in org.apache.mahout.math">equals</a></code> in class <code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true" title="class or interface in org.apache.mahout.math">DelegatingVector</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="hashCode--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true#hashCode--" title="class or interface in org.apache.mahout.math">hashCode</a></code> in class <code><a href="http://mahout.apache.org/mahout-math/apidocs/org/apache/mahout/math/DelegatingVector.html?is-external=true" title="class or interface in org.apache.mahout.math">DelegatingVector</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HashedVector.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/mahout/math/neighborhood/FastProjectionSearch.html" title="class in org.apache.mahout.math.neighborhood"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/mahout/math/neighborhood/LocalitySensitiveHashSearch.html" title="class in org.apache.mahout.math.neighborhood"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/mahout/math/neighborhood/HashedVector.html" target="_top">Frames</a></li> |
| <li><a href="HashedVector.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2008–2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |