operatorchain.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 1,080 行 · 第 1/5 页
HTML
1,080 行
<DL><DD>Register this operator chain and all of its children in the given process. This might change the name of the operator.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/Operator.html#registerOperator(com.rapidminer.Process)">registerOperator</A></CODE> in class <CODE><A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="unregisterOperator(com.rapidminer.Process)"><!-- --></A><H3>unregisterOperator</H3><PRE>protected void <B>unregisterOperator</B>(<A HREF="../../../com/rapidminer/Process.html" title="class in com.rapidminer">Process</A> process)</PRE><DL><DD>Unregisters this chain and all of its children from the given process.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/Operator.html#unregisterOperator(com.rapidminer.Process)">unregisterOperator</A></CODE> in class <CODE><A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeOperator(com.rapidminer.operator.Operator)"><!-- --></A><H3>removeOperator</H3><PRE>protected final void <B>removeOperator</B>(<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> operator)</PRE><DL><DD>Removes the given operator from this operator chain. Do not use this method to actually remove an operator from an operator chain. Use operator.remove() instead. This method will be invoked by the remove() method (which also performs some other actions).<P><DD><DL></DL></DD></DL><HR><A NAME="getOperator(int)"><!-- --></A><H3>getOperator</H3><PRE>public <A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> <B>getOperator</B>(int i)</PRE><DL><DD>Returns the i-th inner operator.<P><DD><DL></DL></DD></DL><HR><A NAME="getOperators()"><!-- --></A><H3>getOperators</H3><PRE>public java.util.Iterator<<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A>> <B>getOperators</B>()</PRE><DL><DD>Returns an iterator over all Operators.<P><DD><DL></DL></DD></DL><HR><A NAME="getAllInnerOperators()"><!-- --></A><H3>getAllInnerOperators</H3><PRE>public java.util.List<<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A>> <B>getAllInnerOperators</B>()</PRE><DL><DD>Returns recursively all child operators independently if they are activated or not.<P><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfOperators()"><!-- --></A><H3>getNumberOfOperators</H3><PRE>public int <B>getNumberOfOperators</B>()</PRE><DL><DD>Returns the number of all enabled inner operators.<P><DD><DL></DL></DD></DL><HR><A NAME="getNumberOfAllOperators()"><!-- --></A><H3>getNumberOfAllOperators</H3><PRE>public int <B>getNumberOfAllOperators</B>()</PRE><DL><DD>Returns the number of all inner operators (including the disabled operators). Mainly used for GUI purposes. Operators should use <A HREF="../../../com/rapidminer/operator/OperatorChain.html#getNumberOfOperators()"><CODE>getNumberOfOperators()</CODE></A>.<P><DD><DL></DL></DD></DL><HR><A NAME="getOperatorFromAll(int)"><!-- --></A><H3>getOperatorFromAll</H3><PRE>public <A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> <B>getOperatorFromAll</B>(int i)</PRE><DL><DD>Returns the i-th operator. In contrast to the method <A HREF="../../../com/rapidminer/operator/OperatorChain.html#getOperator(int)"><CODE>getOperator(int i)</CODE></A> this method also uses disabled operators. Mainly used for GUI purposes. Other operators should use the method <A HREF="../../../com/rapidminer/operator/OperatorChain.html#getOperator(int)"><CODE>getOperator(int i)</CODE></A> which only delivers enabled inner operators.<P><DD><DL></DL></DD></DL><HR><A NAME="getIndexOfOperator(com.rapidminer.operator.Operator, boolean)"><!-- --></A><H3>getIndexOfOperator</H3><PRE>public int <B>getIndexOfOperator</B>(<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> operator, boolean useDisabled)</PRE><DL><DD>Returns the index of the given operator in the list of children. If useDisabled is true, disabled operators are also used for index calculations.<P><DD><DL></DL></DD></DL><HR><A NAME="getInnerOperatorForName(java.lang.String)"><!-- --></A><H3>getInnerOperatorForName</H3><PRE>public <A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A> <B>getInnerOperatorForName</B>(java.lang.String name)</PRE><DL><DD>Returns the inner operator named <tt>name</tt> or null if no such operator exists.<P><DD><DL></DL></DD></DL><HR><A NAME="processStarts()"><!-- --></A><H3>processStarts</H3><PRE>public void <B>processStarts</B>() throws <A HREF="../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Invokes the super method and the method for all children.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/Operator.html#processStarts()">processStarts</A></CODE> in class <CODE><A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="processFinished()"><!-- --></A><H3>processFinished</H3><PRE>public void <B>processFinished</B>() throws <A HREF="../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Invokes the super method and the method for all children.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/Operator.html#processFinished()">processFinished</A></CODE> in class <CODE><A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="apply()"><!-- --></A><H3>apply</H3><PRE>public <A HREF="../../../com/rapidminer/operator/IOObject.html" title="interface in com.rapidminer.operator">IOObject</A>[] <B>apply</B>() throws <A HREF="../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Applies all inner operators. The input to this operator becomes the input of the first inner operator. The latter's output is passed to the second inner operator and so on. Note to subclassers: If subclasses (for example wrappers) want to make use of this method remember to call exactly this method <tt>(super.apply())</tt> and do not call <tt>super.apply(IOContainer)</tt> erroneously which will result in an infinite loop.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/Operator.html#apply()">apply</A></CODE> in class <CODE><A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the last inner operator's output or the input itself if the chain is empty.<DT><B>Throws:</B>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?