coser.datamodel.covering
类 PartialCovering

java.lang.Object
  继承者 Instances
      继承者 coser.datamodel.decisionsystem.RoughDecisionSystem
          继承者 coser.datamodel.covering.PartialCovering
所有已实现的接口:
java.lang.Cloneable

public class PartialCovering
extends RoughDecisionSystem
implements java.lang.Cloneable

Project: The cost-sensitive rough sets project.

Summary: Define the data model for partial covering. It will be used in the process of reduction in test-cost-sensitive decision systems with error range. 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.

Organizaion: Lab of Granular Computing, Zhangzhou Normal University, Fujian 363000, China.

Progress: The very beginning.
Written time: August 12, 2011.
Last modify time: August 13, 2011.


字段摘要
修饰符 和 类型 字段 和 描述
(专用软件包)  int[] boundaryObjects
          Boundary objects.
protected  int ErrorDistribution
          Error distribution.
protected  double[] errorRangeArray
          Individual error range array.
(专用软件包)  double impossibleTotalEntropy
          Impossible total entropy.
(专用软件包)  java.util.Random individualErrorRandom
          Used to generate individual error.
(专用软件包)  boolean isItNormalized
          Is it normalized?
static int numberOfInstances
          Number of instances.
protected  boolean randomMode
          Random mode.
(专用软件包)  double totalEntropy
          The total entropy of the decision system.
 
从类 coser.datamodel.decisionsystem.RoughDecisionSystem 继承的字段
allConditions, allReducts, allReductsFilename, allSubreducts, allSubreductsFilename, arffFilename, backtrackSteps, candidateReductArray, candidateSubreductArray, candidateSubreductConsistencyArray, classSize, CONDITIONAL_ENTROPY, consistency, core, currentReduct, currentSelectedAttributes, endTime, MAJORITY, minimalReductSize, numberOfCandidateReducts, numberOfCandidateSubreducts, numberOfConditions, optimalReduct, POSITIVE_REGION, runTimeInformation, startTime, totalMajority, totalPositiveRegion
 
构造方法摘要
构造函数 和 描述
PartialCovering(Instances dataset)
          Construct the decision system.
PartialCovering(Instances dataset, int capacity)
          Construct the decision system.
PartialCovering(Instances source, int first, int toCopy)
          Construct the decision system.
PartialCovering(java.io.Reader reader)
          Construct the decision system.
PartialCovering(java.lang.String name, FastVector attInfo, int capacity)
          Construct the decision system.
 
方法摘要
修饰符 和 类型 方法 和 描述
 double getTotalEntropy()
          Compute the total entropy of the decision system.
 boolean isNormalized()
          Is the decision system normalized?
protected  boolean isNormalizedJudge()
          Is the decision system normalized?
 
从类 coser.datamodel.decisionsystem.RoughDecisionSystem 继承的方法
classEntropy, classEntropy, computeConsistency, computeConsistency, computeConsistency, computeCore, computeCore, conditionalEntropy, conditionalEntropy, conditionalEntropy, conditionalEntropy, copyForClone, delete, divideInTwo, entropyReciprocal, entropyReciprocal, entropyReciprocal, entropyReciprocal, entropyReciprocal, getAllReductsFilename, getAllReductsString, getAllSubreductsFilename, getArffFilename, getArffSource, getBacktrackSteps, getCandidateSubreductConsistencyArray, getCurrentReduct, getCurrentReductIndex, getMeasure, getNumberOfConditions, getOptimalReduct, getReductionTime, getReductString, getRunTimeInformation, hasMissingValue, initializeForReduction, isNominal, isNumeric, majority, majority, majority, normalize, positiveRegion, positiveRegion, positiveRegion, printAllReducts, readAllReducts, readAllReducts, readAllSubreducts, readAllSubreducts, setAllReductsFilename, setAllReductsFilename, setAllSubreductsFilename, setAllSubreductsFilename, setArffFilename, setCurrentReduct, setCurrentReduct, setMeasure, toString, writeAllReducts
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

numberOfInstances

public static int numberOfInstances
Number of instances.


boundaryObjects

int[] boundaryObjects
Boundary objects.


ErrorDistribution

protected int ErrorDistribution
Error distribution.


errorRangeArray

protected double[] errorRangeArray
Individual error range array. Should be positive.


individualErrorRandom

java.util.Random individualErrorRandom
Used to generate individual error.


randomMode

protected boolean randomMode
Random mode. TRUE for "real" random, and FALSE for the same random sequence.


impossibleTotalEntropy

double impossibleTotalEntropy
Impossible total entropy. Only for initialization.


totalEntropy

double totalEntropy
The total entropy of the decision system.


isItNormalized

boolean isItNormalized
Is it normalized?

构造方法详细信息

PartialCovering

public PartialCovering(java.io.Reader reader)
                throws java.io.IOException
Construct the decision system. Simply adopt everything of the super class.

抛出:
java.io.IOException

PartialCovering

public PartialCovering(Instances dataset)
Construct the decision system. Simply adopt everything of the super class.


PartialCovering

public PartialCovering(Instances dataset,
                       int capacity)
Construct the decision system. Simply adopt everything of the super class.


PartialCovering

public PartialCovering(Instances source,
                       int first,
                       int toCopy)
Construct the decision system. Simply adopt everything of the super class.


PartialCovering

public PartialCovering(java.lang.String name,
                       FastVector attInfo,
                       int capacity)
Construct the decision system. Simply adopt everything of the super class.

方法详细信息

getTotalEntropy

public double getTotalEntropy()
Compute the total entropy of the decision system. Objects are considered one by one.


isNormalizedJudge

protected boolean isNormalizedJudge()
Is the decision system normalized? Set to protected such that it cannot run outside the package.


isNormalized

public boolean isNormalized()
Is the decision system normalized?

覆盖:
类 RoughDecisionSystem 中的 isNormalized
返回:
true only if all attribute values are in [0, 1].