⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 booleanbitmatrix.html

📁 数据挖掘的最常用工具。由于开源
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DL><DD>A copy constructor.  Constructs a copy of the given  <code> BitMatrix </code>.<P><DL><DT><B>Parameters:</B><DD><CODE>bm</CODE> - the <code> BitMatrix </code> to be copied.</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="get(int, int)"><!-- --></A><H3>get</H3><PRE>public boolean <B>get</B>(int&nbsp;row,                   int&nbsp;column)</PRE><DL><DD>Returns the element a the specified position.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#get(int, int)">get</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the position<DD><CODE>column</CODE> - the column of the position<DT><B>Returns:</B><DD><code> true </code> if the bit at the  specified position is set, <code> false </code> otherwise</DL></DD></DL><HR><A NAME="set(int, int, boolean)"><!-- --></A><H3>set</H3><PRE>public boolean <B>set</B>(int&nbsp;row,                   int&nbsp;column,                   boolean&nbsp;bool)</PRE><DL><DD>Sets the bit at the specified position to the specified value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#set(int, int, boolean)">set</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the position<DD><CODE>column</CODE> - the column of the position<DD><CODE>bool</CODE> - the value to fill in<DT><B>Returns:</B><DD>the value of <code> bool </code></DL></DD></DL><HR><A NAME="set(int, int)"><!-- --></A><H3>set</H3><PRE>public boolean <B>set</B>(int&nbsp;row,                   int&nbsp;column)</PRE><DL><DD>Sets the bit at the specified position to <code> true. </code><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#set(int, int)">set</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the position<DD><CODE>column</CODE> - the column of the position<DT><B>Returns:</B><DD><code> true </code> if the bit was actually set, <code> false </code> otherwise</DL></DD></DL><HR><A NAME="clear(int, int)"><!-- --></A><H3>clear</H3><PRE>public boolean <B>clear</B>(int&nbsp;row,                     int&nbsp;column)</PRE><DL><DD>Clears the bit at the specified position.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#clear(int, int)">clear</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the position<DD><CODE>column</CODE> - the column of the position<DT><B>Returns:</B><DD><code> true </code> if the bit was actually cleared, <code> false </code> otherwise</DL></DD></DL><HR><A NAME="rows()"><!-- --></A><H3>rows</H3><PRE>public int <B>rows</B>()</PRE><DL><DD>Gets the number of rows.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#rows()">rows</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of rows of the matrix</DL></DD></DL><HR><A NAME="columns()"><!-- --></A><H3>columns</H3><PRE>public int <B>columns</B>()</PRE><DL><DD>Gets the number of columns.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#columns()">columns</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of columns of the matrix</DL></DD></DL><HR><A NAME="columnCount(int)"><!-- --></A><H3>columnCount</H3><PRE>public int <B>columnCount</B>(int&nbsp;column)</PRE><DL><DD>Counts the number of bits that are set in the specified column.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#columnCount(int)">columnCount</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - index of the column of which the bits are to be counted<DT><B>Returns:</B><DD>the number of bits that are set in the requested column</DL></DD></DL><HR><A NAME="rowCount(int)"><!-- --></A><H3>rowCount</H3><PRE>public int <B>rowCount</B>(int&nbsp;row)</PRE><DL><DD>Counts the number of bits that are set in the specified row.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html#rowCount(int)">rowCount</A></CODE> in interface <CODE><A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone">BitMatrix</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - index of the row of which the bits are to be counted<DT><B>Returns:</B><DD>the number of bits that are set in the requested row</DL></DD></DL><HR><A NAME="transpose()"><!-- --></A><H3>transpose</H3><PRE>public <A HREF="../../../../weka/classifiers/misc/monotone/BooleanBitMatrix.html" title="class in weka.classifiers.misc.monotone">BooleanBitMatrix</A> <B>transpose</B>()</PRE><DL><DD>Swap the rows and the columns of the <code> BooleanBitMatrix. </code><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the transposed matrix</DL></DD></DL><HR><A NAME="transposeInPlace()"><!-- --></A><H3>transposeInPlace</H3><PRE>public void <B>transposeInPlace</B>()                      throws java.lang.IllegalArgumentException</PRE><DL><DD>Swaps the rows and the columns of the <code> BooleanBitMatrix, </code> without creating a new object. The <code> BooleanBitMatrix </code> must be a square matrix.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the <code> BooleanBitMatrix </code> is not square.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Create a compact string representation of the matrix.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code> String </code> representing the matrix, row by row.</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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="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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../weka/classifiers/misc/monotone/BitMatrix.html" title="interface in weka.classifiers.misc.monotone"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/classifiers/misc/monotone/Coordinates.html" title="class in weka.classifiers.misc.monotone"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?weka/classifiers/misc/monotone/BooleanBitMatrix.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="BooleanBitMatrix.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></BODY></HTML>

⌨️ 快捷键说明

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