📄 editablebayesnet.html
字号:
<A NAME="getDistribution(java.lang.String)"><!-- --></A><H3>getDistribution</H3><PRE>public double[][] <B>getDistribution</B>(java.lang.String sName)</PRE><DL><DD>returns distribution of a node in matrix form with matrix representing distribution with P[i][j] = P(node = j | parent configuration = i)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>sName</CODE> - name of the node to get distribution from</DL></DD></DL><HR><A NAME="getDistribution(int)"><!-- --></A><H3>getDistribution</H3><PRE>public double[][] <B>getDistribution</B>(int nTargetNode)</PRE><DL><DD>returns distribution of a node in matrix form with matrix representing distribution with P[i][j] = P(node = j | parent configuration = i)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nTargetNode</CODE> - index of the node to get distribution from</DL></DD></DL><HR><A NAME="getValues(java.lang.String)"><!-- --></A><H3>getValues</H3><PRE>public java.lang.String[] <B>getValues</B>(java.lang.String sName)</PRE><DL><DD>returns array of values of a node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>sName</CODE> - name of the node to get values from</DL></DD></DL><HR><A NAME="getValues(int)"><!-- --></A><H3>getValues</H3><PRE>public java.lang.String[] <B>getValues</B>(int nTargetNode)</PRE><DL><DD>returns array of values of a node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nTargetNode</CODE> - index of the node to get values from</DL></DD></DL><HR><A NAME="getValueName(int, int)"><!-- --></A><H3>getValueName</H3><PRE>public java.lang.String <B>getValueName</B>(int nTargetNode, int iValue)</PRE><DL><DD>returns value of a node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nTargetNode</CODE> - index of the node to get values from<DD><CODE>iValue</CODE> - index of the value</DL></DD></DL><HR><A NAME="setNodeName(int, java.lang.String)"><!-- --></A><H3>setNodeName</H3><PRE>public void <B>setNodeName</B>(int nTargetNode, java.lang.String sName)</PRE><DL><DD>change the name of a node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nTargetNode</CODE> - index of the node to set name for<DD><CODE>sName</CODE> - new name to assign</DL></DD></DL><HR><A NAME="renameNodeValue(int, java.lang.String, java.lang.String)"><!-- --></A><H3>renameNodeValue</H3><PRE>public void <B>renameNodeValue</B>(int nTargetNode, java.lang.String sValue, java.lang.String sNewValue)</PRE><DL><DD>change the name of a value of a node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nTargetNode</CODE> - index of the node to set name for<DD><CODE>sValue</CODE> - current name of the value<DD><CODE>sNewValue</CODE> - new name of the value</DL></DD></DL><HR><A NAME="addNodeValue(int, java.lang.String)"><!-- --></A><H3>addNodeValue</H3><PRE>public void <B>addNodeValue</B>(int nTargetNode, java.lang.String sNewValue)</PRE><DL><DD>Add node value to a node. Distributions for the node assign zero probability to the new value. Child nodes duplicate CPT conditioned on the new value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nTargetNode</CODE> - index of the node to add value for<DD><CODE>sNewValue</CODE> - name of the value</DL></DD></DL><HR><A NAME="delNodeValue(int, java.lang.String)"><!-- --></A><H3>delNodeValue</H3><PRE>public void <B>delNodeValue</B>(int nTargetNode, java.lang.String sValue) throws java.lang.Exception</PRE><DL><DD>Delete node value from a node. Distributions for the node are scaled up proportional to existing distribution (or made uniform if zero probability is assigned to remainder of values). .* Child nodes delete CPTs conditioned on the new value.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nTargetNode</CODE> - index of the node to delete value from<DD><CODE>sValue</CODE> - name of the value to delete<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="setPosition(int, int, int)"><!-- --></A><H3>setPosition</H3><PRE>public void <B>setPosition</B>(int iNode, int nX, int nY)</PRE><DL><DD>set position of node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of node to set position for<DD><CODE>nX</CODE> - x position of new position<DD><CODE>nY</CODE> - y position of new position</DL></DD></DL><HR><A NAME="setPosition(int, int, int, weka.core.FastVector)"><!-- --></A><H3>setPosition</H3><PRE>public void <B>setPosition</B>(int nNode, int nX, int nY, <A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</PRE><DL><DD>Set position of node. Move set of nodes with the same displacement as a specified node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of node to set position for<DD><CODE>nX</CODE> - x position of new position<DD><CODE>nY</CODE> - y position of new position<DD><CODE>nodes</CODE> - array of indexes of nodes to move</DL></DD></DL><HR><A NAME="layoutGraph(weka.core.FastVector, weka.core.FastVector)"><!-- --></A><H3>layoutGraph</H3><PRE>public void <B>layoutGraph</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nPosX, <A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nPosY)</PRE><DL><DD>set positions of all nodes<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nPosX</CODE> - new x positions for all nodes<DD><CODE>nPosY</CODE> - new y positions for all nodes</DL></DD></DL><HR><A NAME="getPositionX(int)"><!-- --></A><H3>getPositionX</H3><PRE>public int <B>getPositionX</B>(int iNode)</PRE><DL><DD>get x position of a node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of node of interest</DL></DD></DL><HR><A NAME="getPositionY(int)"><!-- --></A><H3>getPositionY</H3><PRE>public int <B>getPositionY</B>(int iNode)</PRE><DL><DD>get y position of a node<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iNode</CODE> - index of node of interest</DL></DD></DL><HR><A NAME="alignLeft(weka.core.FastVector)"><!-- --></A><H3>alignLeft</H3><PRE>public void <B>alignLeft</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</PRE><DL><DD>align set of nodes with the left most node in the list<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - list of indexes of nodes to align</DL></DD></DL><HR><A NAME="alignRight(weka.core.FastVector)"><!-- --></A><H3>alignRight</H3><PRE>public void <B>alignRight</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</PRE><DL><DD>align set of nodes with the right most node in the list<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - list of indexes of nodes to align</DL></DD></DL><HR><A NAME="alignTop(weka.core.FastVector)"><!-- --></A><H3>alignTop</H3><PRE>public void <B>alignTop</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</PRE><DL><DD>align set of nodes with the top most node in the list<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - list of indexes of nodes to align</DL></DD></DL><HR><A NAME="alignBottom(weka.core.FastVector)"><!-- --></A><H3>alignBottom</H3><PRE>public void <B>alignBottom</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</PRE><DL><DD>align set of nodes with the bottom most node in the list<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - list of indexes of nodes to align</DL></DD></DL><HR><A NAME="centerHorizontal(weka.core.FastVector)"><!-- --></A><H3>centerHorizontal</H3><PRE>public void <B>centerHorizontal</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)</PRE><DL><DD>center set of nodes half way between left and right most node in the list<P><DD><DL><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - list of indexes of nodes to center</DL></DD></DL><HR><A NAME="centerVertical(weka.core.FastVector)"><!-- --></A><H3>centerVertical</H3><PRE>public void <B>centerVertical</B>(<A HREF="../../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> nodes)<
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -