|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NumericDecisionSystem
coser.datamodel.decisionsystem.DecisionSystemNeighborhood
coser.datamodel.decisionsystem.DecisionSystemFixedNeighborhood
coser.datamodel.decisionsystem.TestCostDecisionSystemFixedNeighborhood
public class TestCostDecisionSystemFixedNeighborhood extends DecisionSystemFixedNeighborhood
Summary: Decision system with neighborhood and test cost.
Author: Hong Zhao fhq_xa@163.com Shujiao Liao
sjliao2011@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: The very beginning.
Written time: August 12, 2011.
Last modify time: August 24, 2011.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
(专用软件包) double[] |
normalizedIndividualTestCostArray
Normalized individual test-cost array. |
(专用软件包) double |
testCostSum
Sum of individual test-cost array. |
| 从类 coser.datamodel.decisionsystem.DecisionSystemFixedNeighborhood 继承的字段 |
|---|
array_tmp, d, data_array, delta, dependency, granuleRangeArray, isItNormalized, numberOfOne, POSsize, sample_lft, sqare_distance |
| 从类 coser.datamodel.decisionsystem.DecisionSystemNeighborhood 继承的字段 |
|---|
candidateReductsArray, neighborhoodSizeArray, numberOfCandidateReducts, seed |
| 构造函数 和 描述 |
|---|
TestCostDecisionSystemFixedNeighborhood(Instances dataset)
Construct the decision system. |
TestCostDecisionSystemFixedNeighborhood(Instances dataset,
int capacity)
Construct the decision system. |
TestCostDecisionSystemFixedNeighborhood(Instances source,
int first,
int toCopy)
Construct the decision system. |
TestCostDecisionSystemFixedNeighborhood(java.io.Reader reader)
Construct the decision system. |
TestCostDecisionSystemFixedNeighborhood(java.lang.String name,
FastVector attInfo,
int capacity)
Construct the decision system. |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
java.lang.String |
allReductsToString()
All reducts to string. |
int |
computeOptimalReductTestCostFNBacktrack()
Compute the test cost of an optimal reduct using backtrack based on neighborhood rough set. |
double[] |
getNomalizedIndividualTestCostArray()
Get normalized individual test cost array. |
void |
oneOptimalFNBacktrack(int[][] paraNeighbors,
int[] paraNumberOfInconsistentNeighbors,
boolean[] paraSelectedTests,
int paraTestLowerBound,
int paraExistingTestCost)
Compute one optimal reduct using backtrack. |
java.lang.String |
printIndividualTestCostArray()
Show individual test cost array. |
java.lang.String |
printNormalizedIndividualTestCostArray()
Show normalized individual test cost array. |
void |
refreshTestCost()
Refresh the test-cost settings. |
void |
refreshTestCost1()
Refresh the test-cost settings. |
void |
setNomalizedIndividualTestCostArray()
Set normalized individual test cost array. |
double |
sumOfTestCostArray()
Get the sum of test-cost array. |
| 从类 coser.datamodel.decisionsystem.DecisionSystemFixedNeighborhood 继承的方法 |
|---|
assignment, buildCandidatesNHBacktrack, computeAllReductsNHBacktrack, dataMatrixOfBooleanAttribute, getDelta, getGranuleRangeArray, isNormalized, isNormalizedJudge, numOne, POSsizeAndDependency, setDelta, setGranuleRangeArray, setGranuleRangeArray, toDoubleMatrix |
| 从类 coser.datamodel.decisionsystem.NumericDecisionSystem 继承的方法 |
|---|
toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
double[] normalizedIndividualTestCostArray
double testCostSum
| 构造方法详细信息 |
|---|
public TestCostDecisionSystemFixedNeighborhood(java.io.Reader reader)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
public TestCostDecisionSystemFixedNeighborhood(Instances dataset)
throws java.lang.Exception
java.lang.Exception
public TestCostDecisionSystemFixedNeighborhood(Instances dataset,
int capacity)
throws java.lang.Exception
java.lang.Exception
public TestCostDecisionSystemFixedNeighborhood(Instances source,
int first,
int toCopy)
throws java.lang.Exception
java.lang.Exception
public TestCostDecisionSystemFixedNeighborhood(java.lang.String name,
FastVector attInfo,
int capacity)
throws java.lang.Exception
java.lang.Exception| 方法详细信息 |
|---|
public java.lang.String printIndividualTestCostArray()
public java.lang.String printNormalizedIndividualTestCostArray()
public void setNomalizedIndividualTestCostArray()
public double[] getNomalizedIndividualTestCostArray()
public void refreshTestCost()
throws java.lang.Exception
CostSensitiveDecisionSystem 中的 refreshTestCostjava.lang.Exception
public void refreshTestCost1()
throws java.lang.Exception
java.lang.Exceptionpublic double sumOfTestCostArray()
public int computeOptimalReductTestCostFNBacktrack()
throws java.lang.Exception
java.lang.Exception
public void oneOptimalFNBacktrack(int[][] paraNeighbors,
int[] paraNumberOfInconsistentNeighbors,
boolean[] paraSelectedTests,
int paraTestLowerBound,
int paraExistingTestCost)
throws java.lang.Exception
paraNeighbors - Neighbors of each object. The matrix is not full.paraNumberOfInconsistentNeighbors - Effective number of neighbors of each object. Consistent
objects should not be considered.paraSelectedTests - Already selected tests.paraTestLowerBound - The lower bound of test index. We only need forward search.paraExistingTestCost - The cost of already selected tests.java.lang.ExceptionDecisionSystemNeighborhood.buildCandidatesBacktrack(int[][], int[],
boolean[], int)
public java.lang.String allReductsToString()
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||