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

📄 sequencemodel.java

📁 一个数据挖掘软件ALPHAMINERR的整个过程的JAVA版源代码
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
/**
 * This file is generated by BorlandXML.
 */

package com.prudsys.pdm.Adapters.PmmlVersion20;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;

/**
 * The SequenceModel class represents the element "SequenceModel" with the content
 * model defined as follows:
 * <p>
 * &lt;!ELEMENT SequenceModel (Extension*,MiningSchema,Item*,Itemset*,SetPredicate+,Sequence+,SequenceRule*,Extension*)&gt;<br>
 */
public class SequenceModel extends com.borland.xml.toolkit.XmlObject 
{
	/** xml tag name of this element. */
	public static String _tagName = "SequenceModel";
	/** Defines a maxNumberOfItemsPerTransaction attribute */
	public com.borland.xml.toolkit.Attribute maxNumberOfItemsPerTransaction = new com.borland.xml.toolkit.Attribute("maxNumberOfItemsPerTransaction", "CDATA", "REQUIRED", "");
	/** Defines a numberOfSequences attribute */
	public com.borland.xml.toolkit.Attribute numberOfSequences = new com.borland.xml.toolkit.Attribute("numberOfSequences", "CDATA", "REQUIRED", "");
	/** Defines a timeWindowWidth attribute */
	public com.borland.xml.toolkit.Attribute timeWindowWidth = new com.borland.xml.toolkit.Attribute("timeWindowWidth", "CDATA", "IMPLIED", "");
	/** Defines a maximumTime attribute */
	public com.borland.xml.toolkit.Attribute maximumTime = new com.borland.xml.toolkit.Attribute("maximumTime", "CDATA", "IMPLIED", "");
	/** Defines a minimumConfidence attribute */
	public com.borland.xml.toolkit.Attribute minimumConfidence = new com.borland.xml.toolkit.Attribute("minimumConfidence", "CDATA", "REQUIRED", "");
	/** Defines a algorithmName attribute */
	public com.borland.xml.toolkit.Attribute algorithmName = new com.borland.xml.toolkit.Attribute("algorithmName", "CDATA", "IMPLIED", "");
	/** Defines a modelName attribute */
	public com.borland.xml.toolkit.Attribute modelName = new com.borland.xml.toolkit.Attribute("modelName", "CDATA", "IMPLIED", "");
	/** Defines a transactIdName attribute */
	public com.borland.xml.toolkit.Attribute transactIdName = new com.borland.xml.toolkit.Attribute("transactIdName", "CDATA", "IMPLIED", "");
	/** Defines a numberOfRules attribute */
	public com.borland.xml.toolkit.Attribute numberOfRules = new com.borland.xml.toolkit.Attribute("numberOfRules", "CDATA", "REQUIRED", "");
	/** Defines a lengthLimit attribute */
	public com.borland.xml.toolkit.Attribute lengthLimit = new com.borland.xml.toolkit.Attribute("lengthLimit", "CDATA", "IMPLIED", "");
	/** Defines a minimumSupport attribute */
	public com.borland.xml.toolkit.Attribute minimumSupport = new com.borland.xml.toolkit.Attribute("minimumSupport", "CDATA", "REQUIRED", "");
	/** Defines a positionIdName attribute */
	public com.borland.xml.toolkit.Attribute positionIdName = new com.borland.xml.toolkit.Attribute("positionIdName", "CDATA", "IMPLIED", "");
	/** Defines a numberOfItems attribute */
	public com.borland.xml.toolkit.Attribute numberOfItems = new com.borland.xml.toolkit.Attribute("numberOfItems", "CDATA", "REQUIRED", "");
	/** Defines a numberOfSets attribute */
	public com.borland.xml.toolkit.Attribute numberOfSets = new com.borland.xml.toolkit.Attribute("numberOfSets", "CDATA", "REQUIRED", "");
	/** Defines a minimumTime attribute */
	public com.borland.xml.toolkit.Attribute minimumTime = new com.borland.xml.toolkit.Attribute("minimumTime", "CDATA", "IMPLIED", "");
	/** Defines a avgNumberOfItemsPerTransaction attribute */
	public com.borland.xml.toolkit.Attribute avgNumberOfItemsPerTransaction = new com.borland.xml.toolkit.Attribute("avgNumberOfItemsPerTransaction", "CDATA", "REQUIRED", "");
	/** Defines a itemIdName attribute */
	public com.borland.xml.toolkit.Attribute itemIdName = new com.borland.xml.toolkit.Attribute("itemIdName", "CDATA", "IMPLIED", "");
	/** Defines a numberOfTransactions attribute */
	public com.borland.xml.toolkit.Attribute numberOfTransactions = new com.borland.xml.toolkit.Attribute("numberOfTransactions", "CDATA", "REQUIRED", "");
	/** Defines a functionName attribute */
	public com.borland.xml.toolkit.Attribute functionName = new com.borland.xml.toolkit.Attribute("functionName", "(associationRules | sequences | classification | regression | clustering)", "REQUIRED", "");
	/** Defines a list of Extension objects. */
	protected ArrayList _objExtension = new ArrayList();
	/** Defines a MiningSchema object */
	protected MiningSchema _objMiningSchema;
	/** Defines a list of Item objects. */
	protected ArrayList _objItem = new ArrayList();
	/** Defines a list of Itemset objects. */
	protected ArrayList _objItemset = new ArrayList();
	/** Defines a list of SetPredicate objects. */
	protected ArrayList _objSetPredicate = new ArrayList();
	/** Defines a list of Sequence objects. */
	protected ArrayList _objSequence = new ArrayList();
	/** Defines a list of SequenceRule objects. */
	protected ArrayList _objSequenceRule = new ArrayList();
	/** Defines a list of Extension objects. */
	protected ArrayList _objExtension1 = new ArrayList();

	/**
	 * Creates an empty SequenceModel object
	 */
	public SequenceModel()
	{
		super();
	}

	/**
	 * Gets the value of "maxNumberOfItemsPerTransaction" attribute.
	 */
	public String getMaxNumberOfItemsPerTransaction()
	{
		return maxNumberOfItemsPerTransaction.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setMaxNumberOfItemsPerTransaction(String value_)
	{
		maxNumberOfItemsPerTransaction.setValue(value_ );
	}

	/**
	 * Gets the value of "numberOfSequences" attribute.
	 */
	public String getNumberOfSequences()
	{
		return numberOfSequences.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setNumberOfSequences(String value_)
	{
		numberOfSequences.setValue(value_ );
	}

	/**
	 * Gets the value of "timeWindowWidth" attribute.
	 */
	public String getTimeWindowWidth()
	{
		return timeWindowWidth.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setTimeWindowWidth(String value_)
	{
		timeWindowWidth.setValue(value_ );
	}

	/**
	 * Gets the value of "maximumTime" attribute.
	 */
	public String getMaximumTime()
	{
		return maximumTime.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setMaximumTime(String value_)
	{
		maximumTime.setValue(value_ );
	}

	/**
	 * Gets the value of "minimumConfidence" attribute.
	 */
	public String getMinimumConfidence()
	{
		return minimumConfidence.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setMinimumConfidence(String value_)
	{
		minimumConfidence.setValue(value_ );
	}

	/**
	 * Gets the value of "algorithmName" attribute.
	 */
	public String getAlgorithmName()
	{
		return algorithmName.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setAlgorithmName(String value_)
	{
		algorithmName.setValue(value_ );
	}

	/**
	 * Gets the value of "modelName" attribute.
	 */
	public String getModelName()
	{
		return modelName.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setModelName(String value_)
	{
		modelName.setValue(value_ );
	}

	/**
	 * Gets the value of "transactIdName" attribute.
	 */
	public String getTransactIdName()
	{
		return transactIdName.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setTransactIdName(String value_)
	{
		transactIdName.setValue(value_ );
	}

	/**
	 * Gets the value of "numberOfRules" attribute.
	 */
	public String getNumberOfRules()
	{
		return numberOfRules.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setNumberOfRules(String value_)
	{
		numberOfRules.setValue(value_ );
	}

	/**
	 * Gets the value of "lengthLimit" attribute.
	 */
	public String getLengthLimit()
	{
		return lengthLimit.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setLengthLimit(String value_)
	{
		lengthLimit.setValue(value_ );
	}

	/**
	 * Gets the value of "minimumSupport" attribute.
	 */
	public String getMinimumSupport()
	{
		return minimumSupport.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setMinimumSupport(String value_)
	{
		minimumSupport.setValue(value_ );
	}

	/**
	 * Gets the value of "positionIdName" attribute.
	 */
	public String getPositionIdName()
	{
		return positionIdName.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setPositionIdName(String value_)
	{
		positionIdName.setValue(value_ );
	}

	/**
	 * Gets the value of "numberOfItems" attribute.
	 */
	public String getNumberOfItems()
	{
		return numberOfItems.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setNumberOfItems(String value_)
	{
		numberOfItems.setValue(value_ );
	}

	/**
	 * Gets the value of "numberOfSets" attribute.
	 */
	public String getNumberOfSets()
	{
		return numberOfSets.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setNumberOfSets(String value_)
	{
		numberOfSets.setValue(value_ );
	}

	/**
	 * Gets the value of "minimumTime" attribute.
	 */
	public String getMinimumTime()
	{
		return minimumTime.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setMinimumTime(String value_)
	{
		minimumTime.setValue(value_ );
	}

	/**
	 * Gets the value of "avgNumberOfItemsPerTransaction" attribute.
	 */
	public String getAvgNumberOfItemsPerTransaction()
	{
		return avgNumberOfItemsPerTransaction.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setAvgNumberOfItemsPerTransaction(String value_)
	{
		avgNumberOfItemsPerTransaction.setValue(value_ );
	}

	/**
	 * Gets the value of "itemIdName" attribute.
	 */
	public String getItemIdName()
	{
		return itemIdName.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setItemIdName(String value_)
	{
		itemIdName.setValue(value_ );
	}

	/**
	 * Gets the value of "numberOfTransactions" attribute.
	 */
	public String getNumberOfTransactions()
	{
		return numberOfTransactions.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setNumberOfTransactions(String value_)
	{
		numberOfTransactions.setValue(value_ );
	}

	/**
	 * Gets the value of "functionName" attribute.
	 */
	public String getFunctionName()
	{
		return functionName.getValue();
	}

	/**
	 * Replaces the existing attribute value with a new value.
	 * @param value	New value.
	 */
	public void setFunctionName(String value_)
	{
		functionName.setValue(value_ );
	}

	/**
	 * Returns an array of Extension objects. The length of the returned
	 * array is zero if the list of Extension object is empty.
	 */
	public Extension[] getExtension()
	{
		return (Extension[])_objExtension.toArray(new Extension[0]);
	}

	/**
	 * Replaces all existing Extension objects with a new array of
	 * Extension objects.
	 * @param objArray	an array of Extension objects.
	 */
	public void setExtension(Extension[] objArray)
	{
		if( objArray == null || objArray.length == 0 )
			this._objExtension.clear();
		else
		{
			this._objExtension = new ArrayList(Arrays.asList(objArray));
			for( int i=0; i<objArray.length; i++ )
			{
				if( objArray[i] != null )
					objArray[i]._setParent(this);
			}
		}
	}

	/**
	 * Gets the Extension object at the specified index.
	 * @param index	index of the returned object.
	 * @throws IndexOutOfBoundsException	if index is out of range.
	 */
	public Extension getExtension(int index)
	{
		return (Extension)_objExtension.get(index);

⌨️ 快捷键说明

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