📄 inferencegraph.html
字号:
<DD>Add a property to the network.<P><DD><DL></DL></DD></DL><HR><A NAME="check_name(java.lang.String)"><!-- --></A><H3>check_name</H3><PRE>public java.lang.String <B>check_name</B>(java.lang.String n)</PRE><DL><DD>Determine whether or not a name is valid and/or repeated.<P><DD><DL></DL></DD></DL><HR><A NAME="validate_value(java.lang.String)"><!-- --></A><H3>validate_value</H3><PRE>public java.lang.String <B>validate_value</B>(java.lang.String value)</PRE><DL><DD>Check whether a string is a valid name.<P><DD><DL></DL></DD></DL><HR><A NAME="print_bayes_net(java.io.PrintStream)"><!-- --></A><H3>print_bayes_net</H3><PRE>public void <B>print_bayes_net</B>(java.io.PrintStream out)</PRE><DL><DD>Print the QuasiBayesNet.<P><DD><DL></DL></DD></DL><HR><A NAME="print_marginal(java.io.PrintStream, java.lang.String, boolean, boolean)"><!-- --></A><H3>print_marginal</H3><PRE>public void <B>print_marginal</B>(java.io.PrintStream pstream, java.lang.String queried_variable, boolean do_compute_clusters, boolean show_bucket_tree)</PRE><DL><DD>Print information about a posterior marginal for the Bayesian network into the given PrintStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>queried_variable</CODE> - indicates the variable of interest.<DD><CODE>show_bucket_tree</CODE> - determines whether or not to present a description of the BucketTree.</DL></DD></DL><HR><A NAME="reset_marginal()"><!-- --></A><H3>reset_marginal</H3><PRE>public void <B>reset_marginal</B>()</PRE><DL><DD>Reset the QBInference.<P><DD><DL></DL></DD></DL><HR><A NAME="print_expectation(java.io.PrintStream, java.lang.String, boolean, boolean)"><!-- --></A><H3>print_expectation</H3><PRE>public void <B>print_expectation</B>(java.io.PrintStream pstream, java.lang.String queried_variable, boolean do_compute_clusters, boolean show_bucket_tree)</PRE><DL><DD>Print information about a posterior expectation for the Bayesian network into the given PrintStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>queried_variable</CODE> - indicates the variable of interest.<DD><CODE>show_bucket_tree</CODE> - determines whether or not to present a description of the BucketTree.</DL></DD></DL><HR><A NAME="reset_expectation()"><!-- --></A><H3>reset_expectation</H3><PRE>public void <B>reset_expectation</B>()</PRE><DL><DD>Reset the QBExpectation.<P><DD><DL></DL></DD></DL><HR><A NAME="print_explanation(java.io.PrintStream, boolean)"><!-- --></A><H3>print_explanation</H3><PRE>public void <B>print_explanation</B>(java.io.PrintStream pstream, boolean show_bucket_tree)</PRE><DL><DD>Print information about an explanation for the Bayesian network into the given PrintStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>show_bucket_tree</CODE> - determines whether or not to present a description of the BucketTree.</DL></DD></DL><HR><A NAME="print_full_explanation(java.io.PrintStream, boolean)"><!-- --></A><H3>print_full_explanation</H3><PRE>public void <B>print_full_explanation</B>(java.io.PrintStream pstream, boolean show_bucket_tree)</PRE><DL><DD>Print information about a full explanation for the Bayesian network into the given PrintStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>show_bucket_tree</CODE> - determines whether or not to present a description of the BucketTree.</DL></DD></DL><HR><A NAME="print_sensitivity_analysis(java.io.PrintStream)"><!-- --></A><H3>print_sensitivity_analysis</H3><PRE>public void <B>print_sensitivity_analysis</B>(java.io.PrintStream pstream)</PRE><DL><DD>Print the metrics for sensitivity analysis of the Bayesian network into the given PrintStream.<P><DD><DL></DL></DD></DL><HR><A NAME="save_bif(java.io.PrintStream)"><!-- --></A><H3>save_bif</H3><PRE>public void <B>save_bif</B>(java.io.PrintStream out)</PRE><DL><DD>Save the Bayesian network into a PrintStream in the BIF InterchangeFormat.<P><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 Bayesian network into a PrintStream in the XML InterchangeFormat.<P><DD><DL></DL></DD></DL><HR><A NAME="save_bugs(java.io.PrintStream)"><!-- --></A><H3>save_bugs</H3><PRE>public void <B>save_bugs</B>(java.io.PrintStream out)</PRE><DL><DD>Save the Bayesian networks in BUGS format into a PrintStream.<P><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 an InferenceGraph<P><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 for an InferenceGraph<P><DD><DL></DL></DD></DL><HR><A NAME="get_nodes()"><!-- --></A><H3>get_nodes</H3><PRE>public java.util.Vector <B>get_nodes</B>()</PRE><DL><DD>Get the nodes in the network.<P><DD><DL></DL></DD></DL><HR><A NAME="elements()"><!-- --></A><H3>elements</H3><PRE>public java.util.Enumeration <B>elements</B>()</PRE><DL><DD>Get the nodes in the network as an Enumeration object.<P><DD><DL></DL></DD></DL><HR><A NAME="number_nodes()"><!-- --></A><H3>number_nodes</H3><PRE>public int <B>number_nodes</B>()</PRE><DL><DD>Get the number of variables in the network<P><DD><DL></DL></DD></DL><HR><A NAME="create_node(int, int)"><!-- --></A><H3>create_node</H3><PRE>public void <B>create_node</B>(int x, int y)</PRE><DL><DD>Create a new node in the network.<P><DD><DL></DL></DD></DL><HR><A NAME="create_arc(InferenceGraphs.InferenceGraphNode, InferenceGraphs.InferenceGraphNode)"><!-- --></A><H3>create_arc</H3><PRE>public boolean <B>create_arc</B>(<A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> parent, <A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> child)</PRE><DL><DD>Create an arc from parent to child.<P><DD><DL></DL></DD></DL><HR><A NAME="delete_node(InferenceGraphs.InferenceGraphNode)"><!-- --></A><H3>delete_node</H3><PRE>public void <B>delete_node</B>(<A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> node)</PRE><DL><DD>Delete a node in the network.<P><DD><DL></DL></DD></DL><HR><A NAME="delete_arc(InferenceGraphs.InferenceGraphNode, InferenceGraphs.InferenceGraphNode)"><!-- --></A><H3>delete_arc</H3><PRE>public void <B>delete_arc</B>(<A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> parent, <A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> child)</PRE><DL><DD>Delete the arc from parent to child.<P><DD><DL></DL></DD></DL><HR><A NAME="hasCycle(InferenceGraphs.InferenceGraphNode, InferenceGraphs.InferenceGraphNode)"><!-- --></A><H3>hasCycle</H3><PRE>public boolean <B>hasCycle</B>(<A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> bottom_node, <A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> head_node)</PRE><DL><DD>Determines whether the connection of bottom_node to head_node would cause the network to have a cycle.<P><DD><DL></DL></DD></DL><HR><A NAME="change_values(InferenceGraphs.InferenceGraphNode, java.lang.String[])"><!-- --></A><H3>change_values</H3><PRE>public void <B>change_values</B>(<A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> node, java.lang.String[] values)</PRE><DL><DD>Change the values of a variable. Note that, if the number of new values is different from the number of current values, this operation resets the probability values of the variable and all its children.<P><DD><DL></DL></DD></DL><HR><A NAME="set_pos(InferenceGraphs.InferenceGraphNode, java.awt.Point)"><!-- --></A><H3>set_pos</H3><PRE>public void <B>set_pos</B>(<A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs">InferenceGraphNode</A> node, java.awt.Point position)</PRE><DL><DD>Set a value for the position of the node.<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=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"> PREV CLASS <A HREF="../InferenceGraphs/InferenceGraphNode.html" title="class in InferenceGraphs"><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="InferenceGraph.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 + -