📄 probabilityvariable.html
字号:
<A NAME="is_explanation()"><!-- --></A><H3>is_explanation</H3><PRE>public boolean <B>is_explanation</B>()</PRE><DL><DD>Indicate whether the current ProbabilityVariable is an explanatory variable or not.<P><DD><DL></DL></DD><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 current ProbabilityVariable has been observed or not.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_observed_value(java.lang.String)"><!-- --></A><H3>set_observed_value</H3><PRE>public void <B>set_observed_value</B>(java.lang.String v)</PRE><DL><DD>Set a value of the current ProbabilityVariable as observed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Observed value.</DL></DD></DL><HR><A NAME="set_explanation_value(int)"><!-- --></A><H3>set_explanation_value</H3><PRE>public void <B>set_explanation_value</B>(int i)</PRE><DL><DD>Set the variable as explanatory with a given value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - Index of the value that is assigned to the variable.</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 ProbabilityVariable.<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 from the current ProbabilityVariable.<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 from the current ProbabilityVariable given the position of the property.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_observed_index()"><!-- --></A><H3>get_observed_index</H3><PRE>public int <B>get_observed_index</B>()</PRE><DL><DD>Get the index of the observed value.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="get_explanation_index()"><!-- --></A><H3>get_explanation_index</H3><PRE>public int <B>get_explanation_index</B>()</PRE><DL><DD>Get the index of the assigned value in the variable.<P><DD><DL></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.<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.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_index(int)"><!-- --></A><H3>set_index</H3><PRE>public void <B>set_index</B>(int ind)</PRE><DL><DD>Set the index of the variable.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_invalid_index()"><!-- --></A><H3>set_invalid_index</H3><PRE>public void <B>set_invalid_index</B>()</PRE><DL><DD>Set the index of the current ProbabilityVariable as invalid (variable is not observed).<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_invalid_observed_index()"><!-- --></A><H3>set_invalid_observed_index</H3><PRE>public void <B>set_invalid_observed_index</B>()</PRE><DL><DD>Set the ProbabilityVariable as not observed..<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="set_type(int)"><!-- --></A><H3>set_type</H3><PRE>public void <B>set_type</B>(int t)</PRE><DL><DD>Set the type of the current ProbabilityVariable.<P><DD><DL></DL></DD><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"> <A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks"><B>PREV CLASS</B></A> <A HREF="../BayesianNetworks/SaveBugs.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="ProbabilityVariable.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 + -