📄 editablebayesnet.html
字号:
<BR> Add node value to a 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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#alignBottom(weka.core.FastVector)">alignBottom</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</CODE><BR> align set of nodes with the bottom most node in the list</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#alignLeft(weka.core.FastVector)">alignLeft</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</CODE><BR> align set of nodes with the left most node in the list</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#alignRight(weka.core.FastVector)">alignRight</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</CODE><BR> align set of nodes with the right most node in the list</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#alignTop(weka.core.FastVector)">alignTop</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</CODE><BR> align set of nodes with the top most node in the list</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#canRedo()">canRedo</A></B>()</CODE><BR> return whether there is something on the undo stack that can be performed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#canUndo()">canUndo</A></B>()</CODE><BR> return whether there is something on the undo stack that can be performed</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#centerHorizontal(weka.core.FastVector)">centerHorizontal</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</CODE><BR> center set of nodes half way between left and right most node in the list</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#centerVertical(weka.core.FastVector)">centerVertical</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</CODE><BR> center set of nodes half way between top and bottom most node in the list</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#clearUndoStack()">clearUndoStack</A></B>()</CODE><BR> remove all actions from the undo stack</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#deleteArc(int, int)">deleteArc</A></B>(int nParent, int nChild)</CODE><BR> Delete arc between two nodes.</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#deleteArc(java.lang.String, java.lang.String)">deleteArc</A></B>(java.lang.String sParent, java.lang.String sChild)</CODE><BR> Delete arc between two nodes.</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#deleteNode(int)">deleteNode</A></B>(int nTargetNode)</CODE><BR> Delete node from the network, updating instances, parentsets, distributions Conditional distributions are condensed by taking the values for the target node to be its first 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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#deleteNode(java.lang.String)">deleteNode</A></B>(java.lang.String sName)</CODE><BR> Delete node from the network, updating instances, parentsets, distributions Conditional distributions are condensed by taking the values for the target node to be its first 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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#deleteSelection(weka.core.FastVector)">deleteSelection</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</CODE><BR> Delete nodes with indexes in selection from the network, updating instances, parentsets, distributions Conditional distributions are condensed by taking the values for the target node to be its first 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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#delNodeValue(int, java.lang.String)">delNodeValue</A></B>(int nTargetNode, java.lang.String sValue)</CODE><BR> Delete node value from a node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getChildren(int)">getChildren</A></B>(int nTargetNode)</CODE><BR> return list of children of a node</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getContent(org.w3c.dom.Element)">getContent</A></B>(org.w3c.dom.Element node)</CODE><BR> XML helper function.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double[][]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getDistribution(int)">getDistribution</A></B>(int nTargetNode)</CODE><BR> returns distribution of a node in matrix form with matrix representing distribution with P[i][j] = P(node = j | parent configuration = i)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double[][]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getDistribution(java.lang.String)">getDistribution</A></B>(java.lang.String sName)</CODE><BR> returns distribution of a node in matrix form with matrix representing distribution with P[i][j] = P(node = j | parent configuration = i)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getEvidence(int)">getEvidence</A></B>(int iNode)</CODE><BR> get evidence state of a node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getMargin(int)">getMargin</A></B>(int iNode)</CODE><BR> return marginal distibution for a node</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getNode(java.lang.String)">getNode</A></B>(java.lang.String sNodeName)</CODE><BR> returns index of node with given name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getNode2(java.lang.String)">getNode2</A></B>(java.lang.String sNodeName)</CODE><BR> returns index of node with given name, or -1 if no such node exists</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getPositionX(int)">getPositionX</A></B>(int iNode)</CODE><BR> get x position of a node</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getPositionY(int)">getPositionY</A></B>(int iNode)</CODE><BR> get y position of a node</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getRevision()">getRevision</A></B>()</CODE><BR> Returns the revision string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getValueName(int, int)">getValueName</A></B>(int nTargetNode, int iValue)</CODE><BR> returns value of a node</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getValues(int)">getValues</A></B>(int nTargetNode)</CODE><BR> returns array of values of a node</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#getValues(java.lang.String)">getValues</A></B>(java.lang.String sName)</CODE><BR> returns array of values of a node</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#isChanged()">isChanged</A></B>()</CODE><BR> return true when current state differs from the state the network was last saved</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#isSaved()">isSaved</A></B>()</CODE><BR> indicate the network state was saved</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#lastActionMsg()">lastActionMsg</A></B>()</CODE><BR> get message representing the last action performed on the network</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="../../../../weka/classifiers/bayes/net/EditableBayesNet.html#layoutGraph(weka.core.FastVector, weka.core.FastVector)">layoutGraph</A></B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nPosX,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -