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

📄 discretevariable.html

📁 java bayes的bin文件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DL></DL></DL><HR><A NAME="values"><!-- --></A><H3>values</H3><PRE>protected java.lang.String[] <B>values</B></PRE><DL><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"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="DiscreteVariable()"><!-- --></A><H3>DiscreteVariable</H3><PRE>public <B>DiscreteVariable</B>()</PRE><DL><DD>Default constructor for a DiscreteVariable.<P></DL><HR><A NAME="DiscreteVariable(java.lang.String)"><!-- --></A><H3>DiscreteVariable</H3><PRE>public <B>DiscreteVariable</B>(java.lang.String&nbsp;n_vb)</PRE><DL><DD>Simple constructor for DiscreteVariable.<P><DT><B>Parameters:</B><DD><CODE>n_vb</CODE> - Name of the variable.</DL><HR><A NAME="DiscreteVariable(java.lang.String, int, java.lang.String[])"><!-- --></A><H3>DiscreteVariable</H3><PRE>public <B>DiscreteVariable</B>(java.lang.String&nbsp;vb,                        int&nbsp;vi,                        java.lang.String[]&nbsp;vl)</PRE><DL><DD>Simple constructor for DiscreteVariable.<P><DT><B>Parameters:</B><DD><CODE>vb</CODE> - Name of the variable.<DD><CODE>vi</CODE> - Index of the variable.<DD><CODE>vl</CODE> - Values of the variable.</DL><HR><A NAME="DiscreteVariable(BayesianNetworks.DiscreteVariable)"><!-- --></A><H3>DiscreteVariable</H3><PRE>public <B>DiscreteVariable</B>(<A HREF="../BayesianNetworks/DiscreteVariable.html" title="class in BayesianNetworks">DiscreteVariable</A>&nbsp;dv)</PRE><DL><DD>Simple constructor for DiscreteVariable.<P><DT><B>Parameters:</B><DD><CODE>dv</CODE> - DiscreteVariable that is copied into current DiscreteVariable.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="index_of_value(java.lang.String)"><!-- --></A><H3>index_of_value</H3><PRE>public int <B>index_of_value</B>(java.lang.String&nbsp;value)</PRE><DL><DD>Determine the index of a value given its name; returns INVALID_INDEX if there is no index.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_numeric_values()"><!-- --></A><H3>get_numeric_values</H3><PRE>public <A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">DiscreteFunction</A> <B>get_numeric_values</B>()</PRE><DL><DD>Produce an array of numeric values for the values of a variable. The values are direct translation of the string values into doubles; if the translation fails for a particular value, that value is replaced by its index.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="print()"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>()</PRE><DL><DD>Print method for DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="print(java.io.PrintStream)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(java.io.PrintStream&nbsp;out)</PRE><DL><DD>Print method for DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_name()"><!-- --></A><H3>get_name</H3><PRE>public java.lang.String <B>get_name</B>()</PRE><DL><DD>Get the name of the current DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_name(java.lang.String)"><!-- --></A><H3>set_name</H3><PRE>public void <B>set_name</B>(java.lang.String&nbsp;n)</PRE><DL><DD>Set the name of the current DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_index()"><!-- --></A><H3>get_index</H3><PRE>public int <B>get_index</B>()</PRE><DL><DD>Get the index of the current DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="number_values()"><!-- --></A><H3>number_values</H3><PRE>public int <B>number_values</B>()</PRE><DL><DD>Return the number of values in the current DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_values()"><!-- --></A><H3>get_values</H3><PRE>public java.lang.String[] <B>get_values</B>()</PRE><DL><DD>Get the values of the current DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_values(java.lang.String[])"><!-- --></A><H3>set_values</H3><PRE>public void <B>set_values</B>(java.lang.String[]&nbsp;vals)</PRE><DL><DD>Set the values of the current DiscreteVariable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_value(int)"><!-- --></A><H3>get_value</H3><PRE>public java.lang.String <B>get_value</B>(int&nbsp;i)</PRE><DL><DD>Get a value of the current DiscreteVariable.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - Position of the value in the array of values.</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=3 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>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>                <a href="http://jbnc.sourceforge.net">                <img src="http://sourceforge.net/sflogo.php?group_id=49871&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo">                </a>            </EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DiscreteVariable.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -