kdistancecontainer.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 411 行 · 第 1/2 页

HTML
411
字号
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= 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="KdistanceContainer(com.rapidminer.operator.preprocessing.outlier.SearchObject)"><!-- --></A><H3>KdistanceContainer</H3><PRE>public <B>KdistanceContainer</B>(<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A>&nbsp;so)</PRE><DL><DD>This constructor creates a container for an associated SearchObject so (which has to  be referenced) and sets the other aspects of the contained data to zero; it also creates  a list of Objects.<P></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="getDistance()"><!-- --></A><H3>getDistance</H3><PRE>public double <B>getDistance</B>()</PRE><DL><DD>Provides the distance of the container as an integer value.<P><DD><DL></DL></DD></DL><HR><A NAME="setDistance(double)"><!-- --></A><H3>setDistance</H3><PRE>public void <B>setDistance</B>(double&nbsp;dist)</PRE><DL><DD>Sets the distance of the container to dist (double type value).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dist</CODE> - </DL></DD></DL><HR><A NAME="getNumberOfObjects()"><!-- --></A><H3>getNumberOfObjects</H3><PRE>public int <B>getNumberOfObjects</B>()</PRE><DL><DD>Gives the number of objects in the container (e.g. which are actually in the list, but without the need to ask the list itself about its size).<P><DD><DL></DL></DD></DL><HR><A NAME="addObject(com.rapidminer.operator.preprocessing.outlier.SearchObject, double)"><!-- --></A><H3>addObject</H3><PRE>public boolean <B>addObject</B>(<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A>&nbsp;so,                         double&nbsp;dist)</PRE><DL><DD><p>Adds a SearchObject to the container.</p>  <p> Attention: As you do this, it has to be checked, if the distance between the associated  SearchObject and the object added to the container is equal to the distance of the objects  already in the container.</p>  <p> To achieve this, the method checks if the distance delivered as a sanity check parameter  is equal to the distance of the container; if yes, the object is added, else not. A boolean  state on the success is returned.</p>  <p> if the container is empty, e.g. the first object is added, no checks are necessary and  hence the distance check against the initial zero value is not performed thus not  preventing the addition of the object.</p>  <p> It is recommended to e.g. add an object <i>so</i> to the list of the objects of a container  associated to an object <i>soA</i> with the following process:</p>  <p> KdistanceContainer.addObject(so, soA.getDistance(so));</p><P><DD><DL></DL></DD></DL><HR><A NAME="getObject(int)"><!-- --></A><H3>getObject</H3><PRE>public <A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/SearchObject.html" title="class in com.rapidminer.operator.preprocessing.outlier">SearchObject</A> <B>getObject</B>(int&nbsp;i)</PRE><DL><DD>Returns an object from the list of objects in the container at position i (check needed  if this returns the appropriate object, as internally, an iterator is started at position i in the list and the next() element is delivered back...).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - </DL></DD></DL><HR><A NAME="getListIterator()"><!-- --></A><H3>getListIterator</H3><PRE>public java.util.ListIterator <B>getListIterator</B>()</PRE><DL><DD>This method delivers an Iterator on the list of objects of the container positioned at  the beginning of the list.<P><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/KdistanceContainer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/DKNOutlierOperator.html" title="class in com.rapidminer.operator.preprocessing.outlier"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/rapidminer/operator/preprocessing/outlier/LOFOutlierOperator.html" title="class in com.rapidminer.operator.preprocessing.outlier"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/rapidminer/operator/preprocessing/outlier/KdistanceContainer.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="KdistanceContainer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?