|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NominalDecisionSystem
coser.datamodel.decisionsystem.TimeNominalDecisionSystem
coser.datamodel.decisionsystem.BcoTimeNominalDecisionSystem
public class BcoTimeNominalDecisionSystem extends TimeNominalDecisionSystem
Summary: Define methods for time-sensitive reduction. Data are already claimed in super-classes.
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: the very beginning.
Written time: December 17, 2012.
Last modify time: December 25, 2012.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
(专用软件包) int |
beesCounts
The number of bees. |
TimeNominalDecisionSystem |
currnetDecisionSystem
The current TimeNominalDecisionSystem |
(专用软件包) double |
lambda
Lambda for weighted reduction. |
(专用软件包) int |
limits
The limited counts of searching neighbor solutions. |
(专用软件包) boolean[] |
minTestCostReduct
The array of minimal test cost reduction. |
double |
minTimeCost
The minimal total time cost obtained by this algorithm |
(专用软件包) int |
posAllConditions
The number of positive region. |
(专用软件包) java.util.Random |
ran
Random numbers generator |
(专用软件包) double |
removeRate
The rate of removing worse solutions in current round. |
(专用软件包) boolean |
weighting
Weighting or not. |
| 从类 coser.datamodel.decisionsystem.NominalDecisionSystem 继承的字段 |
|---|
ATTRIBUTES_COMBINATIONS, BACKTRACK, EXPONENTIAL, reductMinimalSize |
| 构造函数 和 描述 |
|---|
BcoTimeNominalDecisionSystem(BcoTimeNominalDecisionSystem paraDataset,
boolean[] paraSelectedAttributes)
Construct the decision system. |
BcoTimeNominalDecisionSystem(Instances dataset)
Construct the decision system. |
BcoTimeNominalDecisionSystem(Instances dataset,
int capacity)
Construct the decision system. |
BcoTimeNominalDecisionSystem(Instances source,
int first,
int toCopy)
Construct the decision system. |
BcoTimeNominalDecisionSystem(java.io.Reader reader)
Construct the decision system. |
BcoTimeNominalDecisionSystem(java.lang.String name,
FastVector attInfo,
int capacity)
Construct the decision system. |
BcoTimeNominalDecisionSystem(TimeNominalDecisionSystem paraDecisionSystem,
int paraBeesCounts,
int paraLimits,
double paraRemoveRate)
The Construct Method 2 |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
boolean[] |
beeColonyTimeReduction(int paraSolutions,
int paraRounds,
int paraNeighbors,
double paraRemoveRate)
An bee colony algorithm to obtain a feature subset with time constraint. |
boolean[] |
beeColonyTimeRedutionSecond(int paraSolutions,
int paraStableRounds,
int paraNeighbors,
double paraRemoveRate)
An bee colony algorithm to obtain a feature subset with time constraint. |
double |
exceedingFactor()
Compute and print the exceeding factor. |
void |
initialize()
Initialize to default values. |
static void |
main(java.lang.String[] args)
Only for testing. |
boolean |
optimalTimeCost()
Return if the minimal time cost. |
void |
setlimitsValue(int paralimits)
Set the parameter limits. |
void |
setremoveRateValue(double pararemoveRate)
Set the parameter removeRate. |
java.lang.String |
toString()
For toString(). |
| 从类 coser.datamodel.decisionsystem.TimeNominalDecisionSystem 继承的方法 |
|---|
computeFeatureSubsetTime, computeOptimalTimeCost, featureSubsetCompare, isCurrentReductOptimal, readPartialOrderMatrix, sortByWaitingTime |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public TimeNominalDecisionSystem currnetDecisionSystem
boolean weighting
double lambda
java.util.Random ran
int beesCounts
int limits
double removeRate
public double minTimeCost
int posAllConditions
boolean[] minTestCostReduct
| 构造方法详细信息 |
|---|
public BcoTimeNominalDecisionSystem(java.io.Reader reader)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
public BcoTimeNominalDecisionSystem(Instances dataset)
throws java.lang.Exception
java.lang.Exception
public BcoTimeNominalDecisionSystem(TimeNominalDecisionSystem paraDecisionSystem,
int paraBeesCounts,
int paraLimits,
double paraRemoveRate)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
public BcoTimeNominalDecisionSystem(Instances dataset,
int capacity)
throws java.lang.Exception
java.lang.Exception
public BcoTimeNominalDecisionSystem(Instances source,
int first,
int toCopy)
throws java.lang.Exception
java.lang.Exception
public BcoTimeNominalDecisionSystem(java.lang.String name,
FastVector attInfo,
int capacity)
throws java.lang.Exception
java.lang.Exception
public BcoTimeNominalDecisionSystem(BcoTimeNominalDecisionSystem paraDataset,
boolean[] paraSelectedAttributes)
throws java.lang.Exception
java.lang.Exception| 方法详细信息 |
|---|
public void initialize()
public boolean[] beeColonyTimeReduction(int paraSolutions,
int paraRounds,
int paraNeighbors,
double paraRemoveRate)
throws java.lang.Exception
paraSolutions - The number of solutions.paraRounds - The number of rounds.paraNeighbors - The number of neighbors.java.lang.Exception - for file format error.
public boolean[] beeColonyTimeRedutionSecond(int paraSolutions,
int paraStableRounds,
int paraNeighbors,
double paraRemoveRate)
throws java.lang.Exception
paraSolutions - The number of solutions.paraRounds - The number of rounds.paraNeighbors - The number of neighbors.java.lang.Exception - for file format error.public void setremoveRateValue(double pararemoveRate)
pararemoveRate - The rate of removing worse solutions.public void setlimitsValue(int paralimits)
paralimits - The limited times of searching for the neighbor solutions.public double exceedingFactor()
public boolean optimalTimeCost()
public java.lang.String toString()
TimeNominalDecisionSystem 中的 toStringpublic static void main(java.lang.String[] args)
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||