⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vertexset.html

📁 java bayes的bin文件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_04) on Tue Jun 22 19:42:07 EDT 2004 --><TITLE>VertexSet (JavaBayes API)</TITLE><META NAME="keywords" CONTENT="CredalSets.VertexSet class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="VertexSet (JavaBayes API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>JavaBayes API</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../CredalSets/TwoMonotoneCapacity.html" title="class in CredalSets"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="VertexSet.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_BayesianNetworks.ProbabilityFunction">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">CredalSets</FONT><BR>Class VertexSet</H2><PRE>java.lang.Object  <IMG SRC="../resources/inherit.gif" ALT="extended by"><A HREF="../BayesianNetworks/DiscreteFunction.html" title="class in BayesianNetworks">BayesianNetworks.DiscreteFunction</A>      <IMG SRC="../resources/inherit.gif" ALT="extended by"><A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">BayesianNetworks.ProbabilityFunction</A>          <IMG SRC="../resources/inherit.gif" ALT="extended by"><A HREF="../CredalSets/QBProbabilityFunction.html" title="class in CredalSets">CredalSets.QBProbabilityFunction</A>              <IMG SRC="../resources/inherit.gif" ALT="extended by">CredalSets.FinitelyGeneratedSet                  <IMG SRC="../resources/inherit.gif" ALT="extended by"><B>CredalSets.VertexSet</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD></DL><HR><DL><DT>public class <B>VertexSet</B><DT>extends CredalSets.FinitelyGeneratedSet</DL><P><DL><DT><B>See Also:</B><DD><A HREF="../serialized-form.html#CredalSets.VertexSet">Serialized Form</A></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_BayesianNetworks.ProbabilityFunction"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class BayesianNetworks.<A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../BayesianNetworks/ProbabilityFunction.html#bn">bn</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#properties">properties</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_BayesianNetworks.DiscreteFunction"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields 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#values">values</A>, <A HREF="../BayesianNetworks/DiscreteFunction.html#variables">variables</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#VertexSet(BayesianNetworks.BayesNet, BayesianNetworks.ProbabilityVariable[], double[][], java.util.Vector)">VertexSet</A></B>(<A HREF="../BayesianNetworks/BayesNet.html" title="class in BayesianNetworks">BayesNet</A>&nbsp;b_n,          <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>[]&nbsp;pvs,          double[][]&nbsp;ep,          java.util.Vector&nbsp;prop)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor for a VertexQBProbabilityFunction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#VertexSet(BayesianNetworks.BayesNet, BayesianNetworks.ProbabilityVariable[], double[], java.util.Vector, double[][])">VertexSet</A></B>(<A HREF="../BayesianNetworks/BayesNet.html" title="class in BayesianNetworks">BayesNet</A>&nbsp;b_n,          <A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A>[]&nbsp;pvs,          double[]&nbsp;v,          java.util.Vector&nbsp;prop,          double[][]&nbsp;ep)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for a VertexQBProbabilityFunction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#VertexSet(BayesianNetworks.ProbabilityFunction)">VertexSet</A></B>(<A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A>&nbsp;pf)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for a VertexQBProbabilityFunction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#VertexSet(BayesianNetworks.ProbabilityFunction, double[])">VertexSet</A></B>(<A HREF="../BayesianNetworks/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A>&nbsp;pf,          double[]&nbsp;new_values)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for a VertexQBProbabilityFunction from a  ProbabilityFunction object and new values.</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#compose_values()">compose_values</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Produce the centroid of all extreme distributions and insert it into the values of the distribution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#evaluate(java.lang.String[][], int)">evaluate</A></B>(java.lang.String[][]&nbsp;variable_value_pairs,         int&nbsp;index_extreme_point)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../BayesianNetworks/ProbabilityVariable.html" title="class in BayesianNetworks">ProbabilityVariable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#get_auxiliary_variable()">get_auxiliary_variable</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Methods that allow basic manipulation of non-public variables.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double[][]</CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#get_extreme_points()">get_extreme_points</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../CredalSets/VertexSet.html" title="class in CredalSets">VertexSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#prepare_auxiliary_variable(BayesianNetworks.BayesNet)">prepare_auxiliary_variable</A></B>(<A HREF="../BayesianNetworks/BayesNet.html" title="class in BayesianNetworks">BayesNet</A>&nbsp;transformed_bn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#print(java.io.PrintStream)">print</A></B>(java.io.PrintStream&nbsp;out)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#set_extreme_point(int, double[])">set_extreme_point</A></B>(int&nbsp;index,                  double[]&nbsp;ep)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#set_local_credal_set(int)">set_local_credal_set</A></B>(int&nbsp;number_extreme_points)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the number of extreme distributions in the credal set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../CredalSets/VertexSet.html#set_value(java.lang.String[][], double, int)">set_value</A></B>(java.lang.String[][]&nbsp;variable_value_pairs,          double&nbsp;val,          int&nbsp;index_extreme_point)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a single value of the probability function.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_CredalSets.QBProbabilityFunction"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class CredalSets.<A HREF="../CredalSets/QBProbabilityFunction.html" title="class in CredalSets">QBProbabilityFunction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../CredalSets/QBProbabilityFunction.html#get_lower_envelope()">get_lower_envelope</A>, <A HREF="../CredalSets/QBProbabilityFunction.html#get_upper_envelope()">get_upper_envelope</A>, <A HREF="../CredalSets/QBProbabilityFunction.html#print()">print</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_BayesianNetworks.ProbabilityFunction"><!-- --></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/ProbabilityFunction.html" title="class in BayesianNetworks">ProbabilityFunction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../BayesianNetworks/ProbabilityFunction.html#add_property(java.lang.String)">add_property</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#evaluate(int[])">evaluate</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#evaluate(java.lang.String[][])">evaluate</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#expected_value(BayesianNetworks.DiscreteFunction)">expected_value</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#get_enumerated_properties()">get_enumerated_properties</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#get_position_from_indexes(int[])">get_position_from_indexes</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#get_properties()">get_properties</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#posterior_expected_value(BayesianNetworks.DiscreteFunction)">posterior_expected_value</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#remove_property(int)">remove_property</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#remove_property(java.lang.String)">remove_property</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#save_xml_0_3(java.io.PrintStream)">save_xml_0_3</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#save_xml(java.io.PrintStream)">save_xml</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#set_properties(java.util.Vector)">set_properties</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#set_value(java.lang.String[][], double)">set_value</A>, <A HREF="../BayesianNetworks/ProbabilityFunction.html#variance(BayesianNetworks.DiscreteFunction)">variance</A></CODE></TD></TR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -