📄 probabilityfunction.html
字号:
<A NAME="expected_value(BayesianNetworks.DiscreteFunction)"><!-- --></A><H3>expected_value</H3><PRE>public double <B>expected_value</B>(<A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">DiscreteFunction</A> df)</PRE><DL><DD>Obtain expected value of a DiscreteFunction The current implementation is very limited; it assumes that both the ProbabilityFunction object and the DiscreteFunctions object has a single variable, and the variable must be the same for both functions.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="posterior_expected_value(BayesianNetworks.DiscreteFunction)"><!-- --></A><H3>posterior_expected_value</H3><PRE>public double <B>posterior_expected_value</B>(<A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">DiscreteFunction</A> df)</PRE><DL><DD>Obtain posterior expected value of a DiscreteFunction This assumes that the probability values are unnormalized, equal to p(x, e) where e is the evidence. The current implementation is very limited; it assumes that both the ProbabilityFunction object and the DiscreteFunctions object has a single variable, and the variable must be the same for both functions.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="variance(BayesianNetworks.DiscreteFunction)"><!-- --></A><H3>variance</H3><PRE>public double <B>variance</B>(<A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">DiscreteFunction</A> df)</PRE><DL><DD>Calculate the variance of a DiscreteFunction. The current implementation is very limited; it assumes that both the ProbabilityFunction object and the DiscreteFunctions object has a single variable, and the variable must be the same for both functions.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="save_xml_0_3(java.io.PrintStream)"><!-- --></A><H3>save_xml_0_3</H3><PRE>public void <B>save_xml_0_3</B>(java.io.PrintStream out)</PRE><DL><DD>Save the contents of a ProbabilityFunction object into a PrintStream in the XMLBIF v0.3 format.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="save_xml(java.io.PrintStream)"><!-- --></A><H3>save_xml</H3><PRE>public void <B>save_xml</B>(java.io.PrintStream out)</PRE><DL><DD>Save the contents of a ProbabilityFunction object into a PrintStream.<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 out)</PRE><DL><DD>Print method.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../BayesianNetworks/DiscreteFunction.html#print(java.io.PrintStream)">print</A></CODE> in class <CODE><A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">DiscreteFunction</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_properties()"><!-- --></A><H3>get_properties</H3><PRE>public java.util.Vector <B>get_properties</B>()</PRE><DL><DD>Get the properties of the current ProbabilityFunction.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_properties(java.util.Vector)"><!-- --></A><H3>set_properties</H3><PRE>public void <B>set_properties</B>(java.util.Vector prop)</PRE><DL><DD>Set the properties.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_enumerated_properties()"><!-- --></A><H3>get_enumerated_properties</H3><PRE>public java.util.Enumeration <B>get_enumerated_properties</B>()</PRE><DL><DD>Get an Enumeration with the properties of the current ProbabilityFunction.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="add_property(java.lang.String)"><!-- --></A><H3>add_property</H3><PRE>public void <B>add_property</B>(java.lang.String prop)</PRE><DL><DD>Add a property to the current ProbabilityFunction.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="remove_property(java.lang.String)"><!-- --></A><H3>remove_property</H3><PRE>public void <B>remove_property</B>(java.lang.String prop)</PRE><DL><DD>Remove a property in the current ProbabilityFunction.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="remove_property(int)"><!-- --></A><H3>remove_property</H3><PRE>public void <B>remove_property</B>(int i)</PRE><DL><DD>Remove a property in a given position in the current ProbabilityFunction.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - Position of the property.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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&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"> <A HREF="../BayesianNetworks/DiscreteVariable.html" title="class in BayesianNetworks"><B>PREV CLASS</B></A> <A HREF="../BayesianNetworks/ProbabilityVariable.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> <A HREF="ProbabilityFunction.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -