ballnode.html
来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 928 行 · 第 1/3 页
HTML
928 行
Returns the pivot/centre of the node's ball.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html#getRadius()">getRadius</A></B>()</CODE><BR> Returns the radius of the node's ball.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html#getRevision()">getRevision</A></B>()</CODE><BR> Returns the revision string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html#isALeaf()">isALeaf</A></B>()</CODE><BR> Returns true if the node is a leaf node (if both its left and right child are null).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html#numInstances()">numInstances</A></B>()</CODE><BR> Returns the number of instances in the hyper-spherical region of this node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html#setPivot(weka.core.Instance)">setPivot</A></B>(<A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> pivot)</CODE><BR> Sets the pivot/centre of this nodes ball.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html#setRadius(double)">setRadius</A></B>(double radius)</CODE><BR> Sets the radius of the node's ball.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html#setStartEndIndices(int, int)">setStartEndIndices</A></B>(int start, int end)</CODE><BR> Sets the the start and end index of the portion of the master index array that is assigned to this node.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="m_Start"><!-- --></A><H3>m_Start</H3><PRE>public int <B>m_Start</B></PRE><DL><DD>The start index of the portion of the master index array, which stores the indices of the instances/points the node contains.<P><DL></DL></DL><HR><A NAME="m_End"><!-- --></A><H3>m_End</H3><PRE>public int <B>m_End</B></PRE><DL><DD>The end index of the portion of the master index array, which stores indices of the instances/points the node contains.<P><DL></DL></DL><HR><A NAME="m_NumInstances"><!-- --></A><H3>m_NumInstances</H3><PRE>public int <B>m_NumInstances</B></PRE><DL><DD>The number of instances/points in the node.<P><DL></DL></DL><HR><A NAME="m_NodeNumber"><!-- --></A><H3>m_NodeNumber</H3><PRE>public int <B>m_NodeNumber</B></PRE><DL><DD>The node number/id.<P><DL></DL></DL><HR><A NAME="m_SplitAttrib"><!-- --></A><H3>m_SplitAttrib</H3><PRE>public int <B>m_SplitAttrib</B></PRE><DL><DD>The attribute that splits this node (not always used).<P><DL></DL></DL><HR><A NAME="m_SplitVal"><!-- --></A><H3>m_SplitVal</H3><PRE>public double <B>m_SplitVal</B></PRE><DL><DD>The value of m_SpiltAttrib that splits this node (not always used).<P><DL></DL></DL><HR><A NAME="m_Left"><!-- --></A><H3>m_Left</H3><PRE>public <A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html" title="class in weka.core.neighboursearch.balltrees">BallNode</A> <B>m_Left</B></PRE><DL><DD>The left child of the node.<P><DL></DL></DL><HR><A NAME="m_Right"><!-- --></A><H3>m_Right</H3><PRE>public <A HREF="../../../../weka/core/neighboursearch/balltrees/BallNode.html" title="class in weka.core.neighboursearch.balltrees">BallNode</A> <B>m_Right</B></PRE><DL><DD>The right child of the node.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="BallNode(int)"><!-- --></A><H3>BallNode</H3><PRE>public <B>BallNode</B>(int nodeNumber)</PRE><DL><DD>Constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>nodeNumber</CODE> - The node's number/id.</DL></DL><HR><A NAME="BallNode(int, int, int)"><!-- --></A><H3>BallNode</H3><PRE>public <B>BallNode</B>(int start, int end, int nodeNumber)</PRE><DL><DD>Creates a new instance of BallNode.<P><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - The begining index of the portion of the master index array belonging to this node.<DD><CODE>end</CODE> - The end index of the portion of the master index array belonging to this node.<DD><CODE>nodeNumber</CODE> - The node's number/id.</DL></DL><HR><A NAME="BallNode(int, int, int, weka.core.Instance, double)"><!-- --></A><H3>BallNode</H3><PRE>public <B>BallNode</B>(int start, int end, int nodeNumber, <A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> pivot, double radius)</PRE><DL><DD>Creates a new instance of BallNode.<P><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - The begining index of the portion of the master index array belonging to this node.<DD><CODE>end</CODE> - The end index of the portion of the master index array belonging to this node.<DD><CODE>nodeNumber</CODE> - The node's number/id.<DD><CODE>pivot</CODE> - The pivot/centre of the node's ball.<DD><CODE>radius</CODE> - The radius of the node's ball.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="isALeaf()"><!-- --></A><H3>isALeaf</H3><PRE>public boolean <B>isALeaf</B>()</PRE><DL><DD>Returns true if the node is a leaf node (if both its left and right child are null).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the node is a leaf node.</DL></DD></DL><HR><A NAME="setStartEndIndices(int, int)"><!-- --></A><H3>setStartEndIndices</H3><PRE>public void <B>setStartEndIndices</B>(int start, int end)</PRE><DL><DD>Sets the the start and end index of the portion of the master index array that is assigned to this node.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - The start index of the master index array.<DD><CODE>end</CODE> - The end index of the master indext array.</DL></DD></DL><HR><A NAME="setPivot(weka.core.Instance)"><!-- --></A><H3>setPivot</H3><PRE>public void <B>setPivot</B>(<A HREF="../../../../weka/core/Instance.html" title="class in weka.core">Instance</A> pivot)</PRE><DL><DD>Sets the pivot/centre of this nodes ball.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pivot</CODE> - The centre/pivot.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?