📄 vertexset.html
字号:
</TABLE> <A NAME="methods_inherited_from_class_BayesianNetworks.DiscreteFunction"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class BayesianNetworks.<A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">DiscreteFunction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../BayesianNetworks/DiscreteFunction.html#evaluate(BayesianNetworks.DiscreteVariable[], int[])">evaluate</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#get_index(int)">get_index</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#get_indexes()">get_indexes</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#get_position_from_indexes(BayesianNetworks.DiscreteVariable[], int[])">get_position_from_indexes</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#get_value(int)">get_value</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#get_values()">get_values</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#get_variable(int)">get_variable</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#get_variables()">get_variables</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#memberOf(int)">memberOf</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#multiply(BayesianNetworks.DiscreteVariable[], BayesianNetworks.DiscreteFunction)">multiply</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#normalize_first()">normalize_first</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#normalize()">normalize</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#number_values()">number_values</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#number_variables()">number_variables</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#set_value(int, double)">set_value</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#set_values(double[])">set_values</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#set_variable(int, BayesianNetworks.DiscreteVariable)">set_variable</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#sum_out(BayesianNetworks.DiscreteVariable[], boolean[])">sum_out</A></CODE></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 ======== --><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="VertexSet(BayesianNetworks.BayesNet, BayesianNetworks.ProbabilityVariable[], double[][], java.util.Vector)"><!-- --></A><H3>VertexSet</H3><PRE>public <B>VertexSet</B>(<A HREF="../BayesianNetworks/BayesNet.html" title="class in BayesianNetworks">BayesNet</A> b_n, <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>[] pvs, double[][] ep, java.util.Vector prop)</PRE><DL><DD>Default constructor for a VertexQBProbabilityFunction.<P></DL><HR><A NAME="VertexSet(BayesianNetworks.BayesNet, BayesianNetworks.ProbabilityVariable[], double[], java.util.Vector, double[][])"><!-- --></A><H3>VertexSet</H3><PRE>public <B>VertexSet</B>(<A HREF="../BayesianNetworks/BayesNet.html" title="class in BayesianNetworks">BayesNet</A> b_n, <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>[] pvs, double[] v, java.util.Vector prop, double[][] ep)</PRE><DL><DD>Constructor for a VertexQBProbabilityFunction.<P></DL><HR><A NAME="VertexSet(BayesianNetworks.ProbabilityFunction)"><!-- --></A><H3>VertexSet</H3><PRE>public <B>VertexSet</B>(<A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A> pf)</PRE><DL><DD>Constructor for a VertexQBProbabilityFunction.<P></DL><HR><A NAME="VertexSet(BayesianNetworks.ProbabilityFunction, double[])"><!-- --></A><H3>VertexSet</H3><PRE>public <B>VertexSet</B>(<A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A> pf, double[] new_values)</PRE><DL><DD>Constructor for a VertexQBProbabilityFunction from a ProbabilityFunction object and new values.<P></DL><!-- ============ 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="prepare_auxiliary_variable(BayesianNetworks.BayesNet)"><!-- --></A><H3>prepare_auxiliary_variable</H3><PRE>public <A HREF="../CredalSets/VertexSet.html" title="class in CredalSets">VertexSet</A> <B>prepare_auxiliary_variable</B>(<A HREF="../BayesianNetworks/BayesNet.html" title="class in BayesianNetworks">BayesNet</A> transformed_bn)</PRE><DL><DD>Put together all the values for the possible vertices of credal set and create an auxiliary variable to indicate which vertex to consider There are three things to do: 1) Create an auxiliary_variable with correct values. 2) Combine the values into a new array. 3) Insert the auxiliary_variable into the variables array.<P><DD><DL></DL></DD></DL><HR><A NAME="evaluate(java.lang.String[][], int)"><!-- --></A><H3>evaluate</H3><PRE>public double <B>evaluate</B>(java.lang.String[][] variable_value_pairs, int index_extreme_point)</PRE><DL><DD>Evaluate a function given a list of pairs (Variable Value) which specifies a value of the function, and the index of the extreme distribution to consider.<P><DD><DL></DL></DD></DL><HR><A NAME="set_value(java.lang.String[][], double, int)"><!-- --></A><H3>set_value</H3><PRE>public void <B>set_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.<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.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../CredalSets/QBProbabilityFunction.html#print(java.io.PrintStream)">print</A></CODE> in class <CODE><A HREF="../CredalSets/QBProbabilityFunction.html" title="class in CredalSets">QBProbabilityFunction</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="compose_values()"><!-- --></A><H3>compose_values</H3><PRE>public void <B>compose_values</B>()</PRE><DL><DD>Produce the centroid of all extreme distributions and insert it into the values of the distribution.<P><DD><DL></DL></DD></DL><HR><A NAME="set_local_credal_set(int)"><!-- --></A><H3>set_local_credal_set</H3><PRE>public void <B>set_local_credal_set</B>(int number_extreme_points)</PRE><DL><DD>Set the number of extreme distributions in the credal set.<P><DD><DL></DL></DD></DL><HR><A NAME="set_extreme_point(int, double[])"><!-- --></A><H3>set_extreme_point</H3><PRE>public void <B>set_extreme_point</B>(int index, double[] ep)</PRE><DL><DD>Set an extreme point of the credal set.<P><DD><DL></DL></DD></DL><HR><A NAME="get_auxiliary_variable()"><!-- --></A><H3>get_auxiliary_variable</H3><PRE>public <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A> <B>get_auxiliary_variable</B>()</PRE><DL><DD>Methods that allow basic manipulation of non-public variables.<P><DD><DL></DL></DD></DL><HR><A NAME="get_extreme_points()"><!-- --></A><H3>get_extreme_points</H3><PRE>public double[][] <B>get_extreme_points</B>()</PRE><DL><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="../CredalSets/TwoMonotoneCapacity.html" title="class in CredalSets"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html" target="_top"><B>FRAMES</B></A> <A HREF="VertexSet.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="#fields_inherited_from_class_BayesianNetworks.ProbabilityFunction">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: FIELD | <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 + -