coser.datamodel.decisionsystem
类 MultiObjectiveNominalDecisionSystem

java.lang.Object
  继承者 Instances
      继承者 coser.datamodel.decisionsystem.RoughDecisionSystem
          继承者 coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
              继承者 coser.datamodel.decisionsystem.NominalDecisionSystem
                  继承者 coser.datamodel.decisionsystem.TimeNominalDecisionSystem
                      继承者 coser.datamodel.decisionsystem.MultiObjectiveNominalDecisionSystem

public class MultiObjectiveNominalDecisionSystem
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.

Author: Bingxin Xu
Progress: the very beginning.
Written time: January 13, 2013.
Last modify time: January 13, 2013.


字段摘要
修饰符 和 类型 字段 和 描述
(专用软件包)  double lambda
          Lambda for weighted reduction.
(专用软件包)  boolean weighting
          Weighting or not.
 
从类 coser.datamodel.decisionsystem.NominalDecisionSystem 继承的字段
ATTRIBUTES_COMBINATIONS, BACKTRACK, EXPONENTIAL, reductMinimalSize
 
从类 coser.datamodel.decisionsystem.CostSensitiveDecisionSystem 继承的字段
alpha, COMPLEX_COMMON_TEST_COST, COST_TYPE_MONEY, COST_TYPE_TESTING_TIME, COST_TYPE_WAITING_TIME, currentReductCost, currentReductTime, currentReductTotalTestCost, DEFAULT_AVERAGE_NUMBER_OF_TESTS_PER_GROUP, groupCommonTestCostArray, groupInclusionArray, groupInclusionMatrix, IMPOSSIBLE_COST, individualCostDistributions, individualCostLowerBounds, individualCostMatrix, individualCostRandom, individualCostUpperBounds, minimalTestCostReduct, minimalTimeReduct, misclassificationCostMatrix, misclassificationCostSumArray, NORMAL, optimalReductTestCost, optimalReductTime, PARETO, randomMode, SIMPLE_COMMON_TEST_COST, TEST_COST_INDEPENDENT, TEST_COST_TYPES, testCostConstraint, testCostRelationship, testingOrderMatrix, timeParts, totalTimeConstraint, unifiedMisclassificationCost, UNIFORM
 
从类 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, numberOfInstances, optimalReduct, POSITIVE_REGION, runTimeInformation, startTime, totalEntropy, totalMajority, totalPositiveRegion
 
构造方法摘要
构造函数 和 描述
MultiObjectiveNominalDecisionSystem(Instances dataset)
          Construct the decision system.
MultiObjectiveNominalDecisionSystem(Instances dataset, int capacity)
          Construct the decision system.
MultiObjectiveNominalDecisionSystem(Instances source, int first, int toCopy)
          Construct the decision system.
MultiObjectiveNominalDecisionSystem(MultiObjectiveNominalDecisionSystem paraDataset, boolean[] paraSelectedAttributes)
          Construct the decision system.
MultiObjectiveNominalDecisionSystem(java.io.Reader reader)
          Construct the decision system.
MultiObjectiveNominalDecisionSystem(java.lang.String name, FastVector attInfo, int capacity)
          Construct the decision system.
 
方法摘要
修饰符 和 类型 方法 和 描述
 boolean[][] computeTwoObjectiveOptimalReducts()
          Compute all optimal reducts concerning money and testing time.
 int featureSubsetCompare(boolean[] paraFirstSubset, boolean[] paraSecondSubset)
          Compare two feature subsets with respect to test cost (money) and testing time.
static void main(java.lang.String[] args)
          Only for testing.
 java.lang.String toString()
          For toString().
 
从类 coser.datamodel.decisionsystem.TimeNominalDecisionSystem 继承的方法
computeFeatureSubsetTime, computeOptimalTimeCost, isCurrentReductOptimal, readPartialOrderMatrix, sortByWaitingTime
 
从类 coser.datamodel.decisionsystem.NominalDecisionSystem 继承的方法
buildCandidateReducts, computeAllReductsBacktrack, computeAllReductsBacktrack, computeAllReductsExhaustive, computeAllReductsExhaustive, computeAllReductsExhaustive, computeAllReductsExhaustiveExponential, computeAllSubreducts, computeConsistency, computeCore, computeOptimalReductBacktrack, conditionalEntropy, entropyBasedReduction, informationGain, informationGain, majority, majority, optimalReductBacktrack, positiveRegion, positiveRegion, removeRedundantSubreducts, splitData, splitData, splitData
 
从类 coser.datamodel.decisionsystem.CostSensitiveDecisionSystem 继承的方法
averageMisclassificationCost, averageMisclassificationCost, averageMisclassificationCost, averageMisclassificationCost, bestClassValue, computeAdditiveCost, computeExceedingFactor, computeOptimalTestCost, computeReductTestCost, computeReductWaitingTime, computeTestCost, computeTestCost, copyForClone, generateIndividualCosts, generateOneCost, getClassificationCost, getDistributionString, getIndividualCost, getIndividualTestCost, getIndividualTestCostArray, getMisclassificationCostMatrix, getOptimalReductTestCost, getReductTotalTestCost, initializeForReduction, refreshTestCost, setAlpha, setComplexCommonTestCostArrays, setCostRandomMode, setIndividualCostArray, setIndividualCostBounds, setIndividualCostDistribution, setMisclassificationCostMatrix, setMisclassificationCostMatrix, setSimpleCommonTestCostArrays, setTestCostsRelationShip, setUnifiedMisclassificationCost, sortByTestCost
 
从类 coser.datamodel.decisionsystem.RoughDecisionSystem 继承的方法
classEntropy, classEntropy, computeConsistency, computeConsistency, computeCore, 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, isNominal, isNormalized, isNumeric, majority, majority, normalize, positiveRegion, positiveRegion, printAllReducts, readAllReducts, readAllReducts, readAllSubreducts, readAllSubreducts, setAllReductsFilename, setAllReductsFilename, setAllSubreductsFilename, setAllSubreductsFilename, setArffFilename, setCurrentReduct, setCurrentReduct, setMeasure, writeAllReducts
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

weighting

boolean weighting
Weighting or not.


lambda

double lambda
Lambda for weighted reduction.

构造方法详细信息

MultiObjectiveNominalDecisionSystem

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

抛出:
java.io.IOException
java.lang.Exception

MultiObjectiveNominalDecisionSystem

public MultiObjectiveNominalDecisionSystem(Instances dataset)
                                    throws java.lang.Exception
Construct the decision system. Simply adopt everything of the super class.

抛出:
java.lang.Exception

MultiObjectiveNominalDecisionSystem

public MultiObjectiveNominalDecisionSystem(Instances dataset,
                                           int capacity)
                                    throws java.lang.Exception
Construct the decision system. Simply adopt everything of the super class.

抛出:
java.lang.Exception

MultiObjectiveNominalDecisionSystem

public MultiObjectiveNominalDecisionSystem(Instances source,
                                           int first,
                                           int toCopy)
                                    throws java.lang.Exception
Construct the decision system. Simply adopt everything of the super class.

抛出:
java.lang.Exception

MultiObjectiveNominalDecisionSystem

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

抛出:
java.lang.Exception

MultiObjectiveNominalDecisionSystem

public MultiObjectiveNominalDecisionSystem(MultiObjectiveNominalDecisionSystem paraDataset,
                                           boolean[] paraSelectedAttributes)
                                    throws java.lang.Exception
Construct the decision system. Simply adopt everything of the super class.

抛出:
java.lang.Exception
方法详细信息

computeTwoObjectiveOptimalReducts

public boolean[][] computeTwoObjectiveOptimalReducts()
                                              throws java.lang.Exception
Compute all optimal reducts concerning money and testing time.

类型参数:
tempTwoObjectiveOptimalReducts -
参数:
paraFirstSubset - the first subset
paraSecondSubset - the second subset
返回:
A matrix where each row represents an optimal reduct.
抛出:
java.lang.Exception

featureSubsetCompare

public int featureSubsetCompare(boolean[] paraFirstSubset,
                                boolean[] paraSecondSubset)
                         throws java.lang.Exception
Compare two feature subsets with respect to test cost (money) and testing time.

覆盖:
类 TimeNominalDecisionSystem 中的 featureSubsetCompare
参数:
paraFirstSubset - the first subset
paraSecondSubset - the second subset
返回:
1 for the first one better than the second one. -1 for worse. 0 for equal or incomparable
抛出:
java.lang.Exception

toString

public java.lang.String toString()
For toString(). See interface toString().

覆盖:
类 TimeNominalDecisionSystem 中的 toString
返回:
object status.

main

public static void main(java.lang.String[] args)
Only for testing. Read the partial order file.