📄 inferencegraphnode.html
字号:
<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_function_value(java.lang.String[][], double, int)">set_function_value</A></B>(java.lang.String[][] variable_value_pairs, double val, int index_extreme_point)</CODE><BR> Set a single value of the probability function in the node given a list of pairs (Variable Value).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_function_values(double[])">set_function_values</A></B>(double[] fv)</CODE><BR> Set an array containing probability values; if credal set, insert the array in the first extreme point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_function_values(int, double[])">set_function_values</A></B>(int iep, double[] fv)</CODE><BR> Set an array containing an extreme point of the credal set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_local_credal_set()">set_local_credal_set</A></B>()</CODE><BR> Make sure the node represents a VertexSet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_local_credal_set(int)">set_local_credal_set</A></B>(int number_extreme_points)</CODE><BR> Make sure the node represents a VertexSet a given number of extreme distributions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_name(java.lang.String)">set_name</A></B>(java.lang.String n)</CODE><BR> Set the name of the variable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_no_local_credal_set()">set_no_local_credal_set</A></B>()</CODE><BR> Make sure the node represents a single distribution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_observation_value(java.lang.String)">set_observation_value</A></B>(java.lang.String value)</CODE><BR> Set the observation for the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#set_variable_properties(java.util.Vector)">set_variable_properties</A></B>(java.util.Vector prop)</CODE><BR> Set the variable properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../InferenceGraphs/InferenceGraphNode.html#update_position_from_property(java.lang.String)">update_position_from_property</A></B>(java.lang.String s)</CODE><BR> </TD></TR></TABLE> <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> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="get_function_value(java.lang.String[][], int)"><!-- --></A><H3>get_function_value</H3><PRE>public double <B>get_function_value</B>(java.lang.String[][] variable_value_pairs, int index_extreme_point)</PRE><DL><DD>Get a single value of the probability function in the node given a list of pairs (Variable Value). The list specifies which element of the function is referred to.<P><DD><DL></DL></DD></DL><HR><A NAME="get_function_values()"><!-- --></A><H3>get_function_values</H3><PRE>public double[] <B>get_function_values</B>()</PRE><DL><DD>Get an array containing probability values.<P><DD><DL></DL></DD></DL><HR><A NAME="get_function_values(int)"><!-- --></A><H3>get_function_values</H3><PRE>public double[] <B>get_function_values</B>(int index)</PRE><DL><DD>Get an array containing probability values; if credal set, return the first extreme point.<P><DD><DL></DL></DD></DL><HR><A NAME="set_function_values(double[])"><!-- --></A><H3>set_function_values</H3><PRE>public void <B>set_function_values</B>(double[] fv)</PRE><DL><DD>Set an array containing probability values; if credal set, insert the array in the first extreme point.<P><DD><DL></DL></DD></DL><HR><A NAME="set_function_values(int, double[])"><!-- --></A><H3>set_function_values</H3><PRE>public void <B>set_function_values</B>(int iep, double[] fv)</PRE><DL><DD>Set an array containing an extreme point of the credal set.<P><DD><DL></DL></DD></DL><HR><A NAME="set_function_value(java.lang.String[][], double, int)"><!-- --></A><H3>set_function_value</H3><PRE>public void <B>set_function_value</B>(java.lang.String[][] variable_value_pairs, double val, int index_extreme_point)</PRE><DL><DD>Set a single value of the probability function in the node given a list of pairs (Variable Value). The list specifies which element of the function is referred to.<P><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>Return the name of the variable in the node.<P><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 n)</PRE><DL><DD>Set the name of the variable.<P><DD><DL></DL></DD></DL><HR><A NAME="get_all_names()"><!-- --></A><H3>get_all_names</H3><PRE>public java.lang.String[] <B>get_all_names</B>()</PRE><DL><DD>Get the name of all variables in the probability function.<P><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>Return the values of the variable in the node.<P><DD><DL></DL></DD></DL><HR><A NAME="get_all_values()"><!-- --></A><H3>get_all_values</H3><PRE>public java.lang.String[][] <B>get_all_values</B>()</PRE><DL><DD>Get all values for variables in the function in the node.<P><DD><DL></DL></DD></DL><HR><A NAME="get_number_values()"><!-- --></A><H3>get_number_values</H3><PRE>public int <B>get_number_values</B>()</PRE><DL><DD>Return the number of values in the variable in the node.<P><DD><DL></DL></DD></DL><HR><A NAME="hasParent()"><!-- --></A><H3>hasParent</H3><PRE>public boolean <B>hasParent</B>()</PRE><DL><DD>Indicate whether the node has parents.<P><DD><DL></DL></DD></DL><HR><A NAME="get_parents()"><!-- --></A><H3>get_parents</H3><PRE>public java.util.Vector <B>get_parents</B>()</PRE><DL><DD>Return the parents of a node as an Enumeration object.<P><DD><DL></DL></DD></DL><HR><A NAME="get_children()"><!-- --></A><H3>get_children</H3><PRE>public java.util.Vector <B>get_children</B>()</PRE><DL><DD>Return the children of a node as an Enumeration object.<P><DD><DL></DL></DD></DL><HR><A NAME="is_observed()"><!-- --></A><H3>is_observed</H3><PRE>public boolean <B>is_observed</B>()</PRE><DL><DD>Indicate whether the variable in the node is observed.<P><DD><DL></DL></DD></DL><HR><A NAME="is_explanation()"><!-- --></A><H3>is_explanation</H3><PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -