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

📄 bayesnet.html

📁 java bayes的bin文件
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#index_of_variable(java.lang.String)">index_of_variable</A></B>(java.lang.String&nbsp;n_vb)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine the position of a variable given its name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#number_probability_functions()">number_probability_functions</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the number of distributions in the network.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#number_variables()">number_variables</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the number of variables in the network.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#print()">print</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print a BayesNet in the standard output.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#print(java.io.PrintStream)">print</A></B>(java.io.PrintStream&nbsp;out)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print a BayesNet in a given stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#process_probability_function_properties(int)">process_probability_function_properties</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#process_probability_variable_properties(int)">process_probability_variable_properties</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#process_properties()">process_properties</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#remove_property(int)">remove_property</A></B>(int&nbsp;i)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#remove_property(java.lang.String)">remove_property</A></B>(java.lang.String&nbsp;prop)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a property.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#save_bif(java.io.PrintStream)">save_bif</A></B>(java.io.PrintStream&nbsp;out)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a BayesNet object in a stream, in the BIF InterchangeFormat.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#save_bugs(java.io.PrintStream)">save_bugs</A></B>(java.io.PrintStream&nbsp;pstream)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a BayesNet object into a stream, in the BUGS format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#save_embayes(java.io.PrintStream)">save_embayes</A></B>(java.io.PrintStream&nbsp;out)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a BayesNet object in a stream for the EBayes engine.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#save_xml_0_2(java.io.PrintStream)">save_xml_0_2</A></B>(java.io.PrintStream&nbsp;pstream)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a BayesNet object in a stream, in the XMLBIF format version 0.2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#save_xml(java.io.PrintStream)">save_xml</A></B>(java.io.PrintStream&nbsp;pstream)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a BayesNet object in a stream, in the XMLBIF format version 0.3 (most recent version).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_name(java.lang.String)">set_name</A></B>(java.lang.String&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of the network.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_probability_function(int, BayesianNetworks.ProbabilityFunction)">set_probability_function</A></B>(int&nbsp;index,                         <A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A>&nbsp;p_f)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a probability variable given its index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_probability_function(int, BayesianNetworks.ProbabilityVariable[], double[], java.util.Vector)">set_probability_function</A></B>(int&nbsp;index,                         <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>[]&nbsp;variables,                         double[]&nbsp;values,                         java.util.Vector&nbsp;vec)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a probability function given its constituents.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_probability_functions(BayesianNetworks.ProbabilityFunction[])">set_probability_functions</A></B>(<A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A>[]&nbsp;pfs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the vector of probability functions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_probability_variable(int, BayesianNetworks.ProbabilityVariable)">set_probability_variable</A></B>(int&nbsp;index,                         <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>&nbsp;p_v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a probability variable given its index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_probability_variable(int, java.lang.String, java.lang.String[], java.util.Vector)">set_probability_variable</A></B>(int&nbsp;index,                         java.lang.String&nbsp;name,                         java.lang.String[]&nbsp;v,                         java.util.Vector&nbsp;vec)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a probability variable given its constituents.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_probability_variables(BayesianNetworks.ProbabilityVariable[])">set_probability_variables</A></B>(<A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>[]&nbsp;pvs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the vector of probability variables.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#set_properties(java.util.Vector)">set_properties</A></B>(java.util.Vector&nbsp;prop)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../BayesianNetworks/BayesNet.html#translate(InterchangeFormat.InterchangeFormat)">translate</A></B>(<A HREF="../InterchangeFormat/InterchangeFormat.html" title="class in InterchangeFormat">InterchangeFormat</A>&nbsp;ifo)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<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"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="name"><!-- --></A><H3>name</H3><PRE>protected java.lang.String <B>name</B></PRE><DL><DL></DL></DL><HR><A NAME="properties"><!-- --></A><H3>properties</H3><PRE>protected java.util.Vector <B>properties</B></PRE><DL><DL></DL></DL><HR><A NAME="probability_variables"><!-- --></A><H3>probability_variables</H3><PRE>protected <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>[] <B>probability_variables</B></PRE><DL><DL></DL></DL><HR><A NAME="probability_functions"><!-- --></A><H3>probability_functions</H3><PRE>protected <A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A>[] <B>probability_functions</B></PRE><DL><DL></DL></DL><HR><A NAME="utility_function"><!-- --></A><H3>utility_function</H3><PRE>protected <A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">DiscreteFunction</A> <B>utility_function</B></PRE><DL><DL></DL></DL><HR><A NAME="INVALID_INDEX"><!-- --></A><H3>INVALID_INDEX</H3><PRE>public static final int <B>INVALID_INDEX</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../constant-values.html#BayesianNetworks.BayesNet.INVALID_INDEX">Constant Field Values</A></DL></DL><HR><A NAME="BIF"><!-- --></A><H3>BIF</H3><PRE>public static final int <B>BIF</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../constant-values.html#BayesianNetworks.BayesNet.BIF">Constant Field Values</A></DL></DL><HR><A NAME="XML"><!-- --></A><H3>XML</H3><PRE>public static final int <B>XML</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../constant-values.html#BayesianNetworks.BayesNet.XML">Constant Field Values</A></DL></DL><HR><A NAME="BUGS"><!-- --></A><H3>BUGS</H3><PRE>public static final int <B>BUGS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../constant-values.html#BayesianNetworks.BayesNet.BUGS">Constant Field Values</A></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="BayesNet()"><!-- --></A><H3>BayesNet</H3><PRE>public <B>BayesNet</B>()</PRE><DL><DD>Default constructor for a BayesNet.<P></DL><HR><A NAME="BayesNet(java.lang.String, int, int)"><!-- --></A><H3>BayesNet</H3><PRE>public <B>BayesNet</B>(java.lang.String&nbsp;n_n,                int&nbsp;n_v,                int&nbsp;n_f)</PRE><DL><DD>Simple constructor for a BayesNet.<P><DT><B>Parameters:</B><DD><CODE>n_n</CODE> - Name of the network.<DD><CODE>n_v</CODE> - Number of variables in the network.<DD><CODE>n_f</CODE> - Number of probability distributions in the network.</DL><HR><A NAME="BayesNet(java.lang.String, java.util.Vector)"><!-- --></A><H3>BayesNet</H3><PRE>

⌨️ 快捷键说明

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