|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcoser.datamodel.informationsystem.Concept
public class Concept extends java.lang.Object
Summary: A set of attribute-value pairs employed by association rule mining.
Author: Fan Min minfanphd@163.com
Copyright: The source code and all documents are open and free. PLEASE keep
this header while revising the program.
Organization: Lab of Granular Computing,
Zhangzhou Normal University, Fujian 363000, China.
Project: The cost-sensitive rough sets project.
Progress: Done.
Written time: April 17, 2012.
Last modify time: September 10, 2012.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
(专用软件包) int[] |
attributeIndexArray
Indices of the attribute, 0 for the first attribute. |
(专用软件包) java.lang.String[] |
attributeNameArray
Names of attributes. |
(专用软件包) java.lang.String[] |
attributeValueArray
Attribute values. |
(专用软件包) int[] |
attributeValueIntArray
Attribute values in integer, for example, "ab" might be stored as "0" in memory. |
(专用软件包) double |
coverage
Coverage in real. |
(专用软件包) int |
length
The length of the concept. |
(专用软件包) int |
support
Support in integer. |
| 构造函数 和 描述 |
|---|
Concept()
Construct an empty concept. |
Concept(Concept paraConcept)
Essentially clone the given concept. |
Concept(int paraLength)
Construct a concept with the given length. |
Concept(int[] paraIndices,
java.lang.String[] paraNames,
int[] paraAttributeValuesInt,
java.lang.String[] paraValues)
Construct a concept given attribute indices and values. |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
boolean |
equals(Concept paraConcept)
Does this concept equal to the given one? |
double |
getCoverage()
|
int |
getSupport()
|
boolean |
hasInfrequentSubset(Concept[] paraConcepts)
Does this concept have infrequent subsets? |
Concept |
incrementalJoin(Concept paraConcept)
Join with another concept to form a longer one. |
static void |
main(java.lang.String[] args)
Test the join method. |
boolean |
matches(Instance paraInstance)
Does this concept match the given instance? |
void |
setCoverage(double paraCoverage)
|
void |
setsSupport(int paraSupport)
|
boolean |
superConceptEqual(Concept paraConcept)
Is the current concept a super-concept of the given one? |
java.lang.String |
toString()
The string of the concept. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
int length
int[] attributeIndexArray
java.lang.String[] attributeNameArray
int[] attributeValueIntArray
java.lang.String[] attributeValueArray
int support
double coverage
| 构造方法详细信息 |
|---|
public Concept()
public Concept(int paraLength)
public Concept(int[] paraIndices,
java.lang.String[] paraNames,
int[] paraAttributeValuesInt,
java.lang.String[] paraValues)
throws java.lang.Exception
java.lang.Exceptionpublic Concept(Concept paraConcept)
| 方法详细信息 |
|---|
public int getSupport()
public void setsSupport(int paraSupport)
public double getCoverage()
public void setCoverage(double paraCoverage)
public Concept incrementalJoin(Concept paraConcept)
paraConcept - the other concept.public boolean hasInfrequentSubset(Concept[] paraConcepts)
paraConcepts - given concepts which are frequent.public boolean superConceptEqual(Concept paraConcept)
paraConcept - The given concept.public boolean equals(Concept paraConcept)
public boolean matches(Instance paraInstance)
public java.lang.String toString()
java.lang.Object 中的 toStringpublic static void main(java.lang.String[] args)
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||