📄 neuralconnection.html
字号:
<TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#disconnect(weka.classifiers.neural.NeuralConnection, weka.classifiers.neural.NeuralConnection)">disconnect</A></B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> s, <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> t)</CODE><BR> Disconnects two units.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#disconnectInput(weka.classifiers.neural.NeuralConnection, int)">disconnectInput</A></B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> i, int n)</CODE><BR> This will disconnect the input with the specific connection number From this node (only on this end however).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#disconnectOutput(weka.classifiers.neural.NeuralConnection, int)">disconnectOutput</A></B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> o, int n)</CODE><BR> This will disconnect the output with the specific connection number From this node (only on this end however).</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/neural/NeuralConnection.html#drawHighlight(java.awt.Graphics, int, int)">drawHighlight</A></B>(java.awt.Graphics g, int w, int h)</CODE><BR> Call this function to draw the node highlighted.</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/neural/NeuralConnection.html#drawInputLines(java.awt.Graphics, int, int)">drawInputLines</A></B>(java.awt.Graphics g, int w, int h)</CODE><BR> Call this function to draw the nodes input connections.</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/neural/NeuralConnection.html#drawNode(java.awt.Graphics, int, int)">drawNode</A></B>(java.awt.Graphics g, int w, int h)</CODE><BR> Call this function to draw the 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/neural/NeuralConnection.html#drawOutputLines(java.awt.Graphics, int, int)">drawOutputLines</A></B>(java.awt.Graphics g, int w, int h)</CODE><BR> Call this function to draw the nodes output connections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#errorValue(boolean)">errorValue</A></B>(boolean calculate)</CODE><BR> Call this to get the error value of this unit.</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/neural/NeuralConnection.html#getId()">getId</A></B>()</CODE><BR> </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/neural/NeuralConnection.html#getInputNums()">getInputNums</A></B>()</CODE><BR> Use this to get easy access to the input numbers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#getInputs()">getInputs</A></B>()</CODE><BR> Use this to get easy access to the inputs.</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/neural/NeuralConnection.html#getNumInputs()">getNumInputs</A></B>()</CODE><BR> </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/neural/NeuralConnection.html#getNumOutputs()">getNumOutputs</A></B>()</CODE><BR> </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/neural/NeuralConnection.html#getOutputNums()">getOutputNums</A></B>()</CODE><BR> Use this to get easy access to the output numbers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#getOutputs()">getOutputs</A></B>()</CODE><BR> Use this to get easy access to the outputs.</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/neural/NeuralConnection.html#getType()">getType</A></B>()</CODE><BR> </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/neural/NeuralConnection.html#getX()">getX</A></B>()</CODE><BR> </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/neural/NeuralConnection.html#getY()">getY</A></B>()</CODE><BR> </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/neural/NeuralConnection.html#onUnit(java.awt.Graphics, int, int, int, int)">onUnit</A></B>(java.awt.Graphics g, int x, int y, int w, int h)</CODE><BR> Call this function to determine if the point at x,y is on the unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#outputValue(boolean)">outputValue</A></B>(boolean calculate)</CODE><BR> Call this to get the output value of this unit.</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/neural/NeuralConnection.html#removeAllInputs()">removeAllInputs</A></B>()</CODE><BR> This function will remove all the inputs to this unit.</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/neural/NeuralConnection.html#removeAllOutputs()">removeAllOutputs</A></B>()</CODE><BR> This function will remove all outputs to this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#reset()">reset</A></B>()</CODE><BR> Call this to reset the unit for another run.</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/neural/NeuralConnection.html#setType(int)">setType</A></B>(int t)</CODE><BR> </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/neural/NeuralConnection.html#setX(double)">setX</A></B>(double x)</CODE><BR> </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/neural/NeuralConnection.html#setY(double)">setY</A></B>(double y)</CODE><BR> </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/neural/NeuralConnection.html#updateWeights(double, double)">updateWeights</A></B>(double l, double m)</CODE><BR> Call this function to update the weight values at this unit.</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/neural/NeuralConnection.html#weightValue(int)">weightValue</A></B>(int n)</CODE><BR> Call this to get the weight value on a particular connection.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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 =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="UNCONNECTED"><!-- --></A><H3>UNCONNECTED</H3><PRE>public static final int <B>UNCONNECTED</B></PRE><DL><DD>This unit is not connected to any others.</DL><HR><A NAME="PURE_INPUT"><!-- --></A><H3>PURE_INPUT</H3><PRE>public static final int <B>PURE_INPUT</B></PRE><DL><DD>This unit is a pure input unit.</DL><HR><A NAME="PURE_OUTPUT"><!-- --></A><H3>PURE_OUTPUT</H3><PRE>public static final int <B>PURE_OUTPUT</B></PRE><DL><DD>This unit is a pure output unit.</DL><HR><A NAME="INPUT"><!-- --></A><H3>INPUT</H3><PRE>public static final int <B>INPUT</B></PRE><DL><DD>This unit is an input unit.</DL><HR><A NAME="OUTPUT"><!-- --></A><H3>OUTPUT</H3><PRE>public static final int <B>OUTPUT</B></PRE><DL><DD>This unit is an output unit.</DL><HR><A NAME="CONNECTED"><!-- --></A><H3>CONNECTED</H3><PRE>public static final int <B>CONNECTED</B></PRE><DL><DD>This flag is set once the unit has a connection.</DL><HR><A NAME="m_inputList"><!-- --></A><H3>m_inputList</H3><PRE>protected <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>[] <B>m_inputList</B></PRE><DL><DD>The list of inputs to this unit.</DL><HR><A NAME="m_outputList"><!-- --></A><H3>m_outputList</H3><PRE>protected <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>[] <B>m_outputList</B></PRE><DL><DD>The list of outputs from this unit.</DL><HR><A NAME="m_inputNums"><!-- --></A><H3>m_inputNums</H3><PRE>protected int[] <B>m_inputNums</B></PRE><DL><DD>The numbering for the connections at the other end of the input lines.</DL><HR><A NAME="m_outputNums"><!-- --></A><H3>m_outputNums</H3><PRE>protected int[] <B>m_outputNums</B></PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -