|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NominalDecisionSystem
coser.datamodel.decisionsystem.TestCostNominalDecisionSystem
coser.datamodel.decisionsystem.TestCostNominalDecisionSystemFastRandom
public class TestCostNominalDecisionSystemFastRandom extends TestCostNominalDecisionSystem
Project: Java programming course.
The Fast Random algorithm to deal with test cost attribute reduction.
Author: JingKuan Li kingljk@126.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.
Progress: Done.
Written time: July 11, 2012.
Last modify time: July 11, 2012.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
int |
alpha
The exponent of random numbers. |
TestCostNominalDecisionSystem |
currnetDecisionSystem
The current TestCostConstraintDecisionSystem |
double |
delta
The exponent of random probability. |
(专用软件包) boolean[] |
minTestCostReduct
The array of minimal test cost reduction. |
(专用软件包) long |
optimaltestcost
The test cost of optimal |
int |
optimalTestCost
preserving the the optimal test cost |
(专用软件包) int |
posAllConditions
The number of positive region. |
(专用软件包) java.util.Random |
rand
The random |
(专用软件包) boolean[] |
reduct
The reduct which we output. |
(专用软件包) long |
reductionEndTime
The end time of reduction |
(专用软件包) long |
reductionStartTime
The starting time of reduction |
(专用软件包) java.lang.String |
reductStringFR
The String of reduct |
protected int |
seed
Random seed |
(专用软件包) static int |
stepsOfFR
The total steps of random. |
(专用软件包) boolean[] |
tempReduct
The reduct of temporary |
(专用软件包) long |
tempTestcost
The test cost of temporary |
(专用软件包) int[] |
testcost
The array of test cost |
boolean |
workState
The work state of fast random |
| 从类 coser.datamodel.decisionsystem.TestCostNominalDecisionSystem 继承的字段 |
|---|
lambda, weighting |
| 从类 coser.datamodel.decisionsystem.NominalDecisionSystem 继承的字段 |
|---|
ATTRIBUTES_COMBINATIONS, BACKTRACK, EXPONENTIAL, reductMinimalSize |
| 构造函数 和 描述 |
|---|
TestCostNominalDecisionSystemFastRandom(TestCostNominalDecisionSystem paraDecisionSystem)
The first constructor |
TestCostNominalDecisionSystemFastRandom(TestCostNominalDecisionSystem paraDecisionSystem,
int paraAlpha,
double paraDelta,
int paraseed)
The second constructor |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
void |
initialize()
Initialize |
double |
minimalTestCost()
Calculation of test cost reduction |
double |
minimalTestCostReductFR()
Fast Random to minimal test cost reduction problem. |
java.lang.String |
reductStringFR()
Generate reduct string |
| 从类 coser.datamodel.decisionsystem.TestCostNominalDecisionSystem 继承的方法 |
|---|
computeOptimalReductBacktrack, entropyBasedLambdaWeightedReduction, isCurrentReductOptimal, optimalReductBacktrack, removeRedundantAttributes, setLambda, setWeighting, sortByTestCost, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public TestCostNominalDecisionSystem currnetDecisionSystem
public boolean workState
public int optimalTestCost
int posAllConditions
public int alpha
public double delta
static int stepsOfFR
int[] testcost
boolean[] minTestCostReduct
boolean[] tempReduct
boolean[] reduct
long tempTestcost
java.lang.String reductStringFR
long optimaltestcost
long reductionStartTime
long reductionEndTime
protected int seed
java.util.Random rand
| 构造方法详细信息 |
|---|
public TestCostNominalDecisionSystemFastRandom(TestCostNominalDecisionSystem paraDecisionSystem)
throws java.io.IOException,
java.lang.Exception
paraDecisionSystem - The given decision systemjava.io.IOException - IO exceptionsjava.lang.Exception - Any exception
public TestCostNominalDecisionSystemFastRandom(TestCostNominalDecisionSystem paraDecisionSystem,
int paraAlpha,
double paraDelta,
int paraseed)
throws java.io.IOException,
java.lang.Exception
paraDecisionSystem - The given dicision system.paraAlpha - The parameter alphaparaDelta - The parameter deltaparaseed - The parameter seedjava.io.IOException - IO exceptionjava.lang.Exception - Exception| 方法详细信息 |
|---|
public void initialize()
public double minimalTestCostReductFR()
public double minimalTestCost()
public java.lang.String reductStringFR()
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||