📄 neuralconnection.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Wed Sep 04 10:31:50 CDT 2002 --><TITLE>: Class NeuralConnection</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../weka/classifiers/neural/LinearUnit.html"><B>PREV CLASS</B></A> <A HREF="../../../weka/classifiers/neural/NeuralNetwork.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="NeuralConnection.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">weka.classifiers.neural</FONT><BR>Class NeuralConnection</H2><PRE>java.lang.Object | +--<B>weka.classifiers.neural.NeuralConnection</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../weka/classifiers/neural/NeuralNetwork.NeuralEnd.html">NeuralNetwork.NeuralEnd</A>, <A HREF="../../../weka/classifiers/neural/NeuralNode.html">NeuralNode</A></DD></DL><HR><DL><DT>public abstract class <B>NeuralConnection</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL><P>Abstract unit in a NeuralNetwork.<P><DL><DT><B>See Also: </B><DD><A HREF="../../../serialized-form.html#weka.classifiers.neural.NeuralConnection">Serialized Form</A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#CONNECTED">CONNECTED</A></B></CODE><BR> This flag is set once the unit has a connection.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#INPUT">INPUT</A></B></CODE><BR> This unit is an input unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_id">m_id</A></B></CODE><BR> The string that uniquely (provided naming is done properly) identifies this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_inputList">m_inputList</A></B></CODE><BR> The list of inputs to this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_inputNums">m_inputNums</A></B></CODE><BR> The numbering for the connections at the other end of the input lines.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_numInputs">m_numInputs</A></B></CODE><BR> The number of inputs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_numOutputs">m_numOutputs</A></B></CODE><BR> The number of outputs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_outputList">m_outputList</A></B></CODE><BR> The list of outputs from this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_outputNums">m_outputNums</A></B></CODE><BR> The numbering for the connections at the other end of the out lines.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_type">m_type</A></B></CODE><BR> The type of unit this is.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_unitError">m_unitError</A></B></CODE><BR> The error value for this unit, NaN if not calculated.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_unitValue">m_unitValue</A></B></CODE><BR> The output value for this unit, NaN if not calculated.</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#m_weightsUpdated">m_weightsUpdated</A></B></CODE><BR> True if the weights have already been updated.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_x">m_x</A></B></CODE><BR> The x coord of this unit purely for displaying purposes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#m_y">m_y</A></B></CODE><BR> The y coord of this unit purely for displaying purposes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#OUTPUT">OUTPUT</A></B></CODE><BR> This unit is an output unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#PURE_INPUT">PURE_INPUT</A></B></CODE><BR> This unit is a pure input unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#PURE_OUTPUT">PURE_OUTPUT</A></B></CODE><BR> This unit is a pure output unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#UNCONNECTED">UNCONNECTED</A></B></CODE><BR> This unit is not connected to any others.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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="../../../weka/classifiers/neural/NeuralConnection.html#NeuralConnection(java.lang.String)">NeuralConnection</A></B>(java.lang.String id)</CODE><BR> Constructs The unit with the basic connection information prepared for use.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><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>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#allocateInputs()">allocateInputs</A></B>()</CODE><BR> This will allocate more space for input connection information if the arrays for this have been filled up.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#allocateOutputs()">allocateOutputs</A></B>()</CODE><BR> Allocates more space for output connection information if the arrays have been filled up.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#changeInputNum(int, int)">changeInputNum</A></B>(int n, int v)</CODE><BR> Changes the connection value information for one of the connections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#changeOutputNum(int, int)">changeOutputNum</A></B>(int n, int v)</CODE><BR> Changes the connection value information for one of the connections.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/classifiers/neural/NeuralConnection.html#connect(weka.classifiers.neural.NeuralConnection, weka.classifiers.neural.NeuralConnection)">connect</A></B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> s, <A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> t)</CODE><BR> Connects two units together.</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#connectInput(weka.classifiers.neural.NeuralConnection, int)">connectInput</A></B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> i, int n)</CODE><BR> This will connect the specified unit to be an input to this unit.</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#connectOutput(weka.classifiers.neural.NeuralConnection, int)">connectOutput</A></B>(<A HREF="../../../weka/classifiers/neural/NeuralConnection.html">NeuralConnection</A> o, int n)</CODE><BR> This will connect the specified unit to be an output to this unit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -