⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 expressionnode.java

📁 一个数据挖掘软件ALPHAMINERR的整个过程的JAVA版源代码
💻 JAVA
字号:
/*
 *    This program is free software; you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation; either version 2 of the License, or
 *    (at your option) any later version.
 *
 *    This program is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with this program; if not, write to the Free Software
 *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

/**
 * Title: XELOPES Data Mining Library
 * Description: The XELOPES library is an open platform-independent and data-source-independent library for Embedded Data Mining.
 * Copyright: Copyright (c) 2002 Prudential Systems Software GmbH
 * Company: ZSoft (www.zsoft.ru), Prudsys (www.prudsys.com)
 * @author Valentine Stepanenko (valentine.stepanenko@zsoft.ru)
 * @version 1.0
 */

package com.prudsys.pdm.Cwm.Expressions;

import com.prudsys.pdm.Cwm.Core.*;

/**
 * All node types within an expression are derived from the ExpressionNode type.
 *
 *
 *
 * An expression is stored as a collection of instances of the subtypes of
 * ExpressionNode arranged in a hierarchical fashion. The ExpressionNode instance
 * at the top (or ?root?) of the hierarchy represents the value of the expression
 * and serves as a starting point for expression evaluation. Refer to the
 * descriptions of the subtypes of ExpressionNode (ElementNode, ConstantNode, and
 * FeatureNode) for additional information about the representation of expressions.
 *
 *
 *
 * One important purpose for providing storage of expressions as a general feature
 * of the CWM is to promote sharing them between tools and to provide a means for
 * recording lineage relationships between components within expressions. Specific
 * details of the implementation of expression operators are left to the
 * implementing tools.
 *
 *
 *
 * When ExpressionNode is used as the type of an Attribute, an instance of the
 * Attribute can contain either an expression tree as described here or a textual
 * representation of the expression in body and language values of in an attribute
 * of type Expression (defined ObjectModel). The expression attribute is provided
 * for the latter usage. To obtain CWM?s sharing and lineage tracking features for
 * elements within an expression, the expression must be represented as an
 * expression hierarcy.
 */
public class ExpressionNode extends Element implements org.omg.cwm.foundation.expressions.ExpressionNode
{

   /**
    * Contains a textual representation of the expression relevant for this
    * ExpressionNode instance.
    */
   public Expression expression;
   public FeatureNode featureNode1;
   public Classifier type;
   public FeatureNode featureNode;

   public ExpressionNode()
   {

   }

   public org.omg.cwm.objectmodel.core.Expression getExpression() {
     return expression;
   }

   public void setExpression(org.omg.cwm.objectmodel.core.Expression expression) {
     this.expression = (Expression) expression;
   }

   public org.omg.cwm.foundation.expressions.FeatureNode getFeatureNode() {
     return featureNode;
   }

   public void setFeatureNode(org.omg.cwm.foundation.expressions.FeatureNode featureNode) {
     this.featureNode = (FeatureNode) featureNode;
   }

   public org.omg.cwm.foundation.expressions.FeatureNode getFeatureNode1() {
     return featureNode1;
   }

   public void setFeatureNode1(org.omg.cwm.foundation.expressions.FeatureNode featureNode1) {
     this.featureNode1 = (FeatureNode) featureNode1;
   }

   public org.omg.cwm.objectmodel.core.Classifier getType() {
     return type;
   }

   public void setType(org.omg.cwm.objectmodel.core.Classifier type) {
     this.type = (Classifier) type;
   }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -