coser.algorithm
类 FixedNeighborhoodReduction

java.lang.Object
  继承者 coser.algorithm.FixedNeighborhoodReduction
直接已知子类:
ReductionFNGA

public class FixedNeighborhoodReduction
extends java.lang.Object

Project: Test-Cost-Sensitive Neighborhood Reduction.

Summary: Neighborhood Reduction.

Author: Hong Zhao fhq_xa@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.
Progress: Almost done.
Written time: June 23, 2011.
Last modify time: April 21, 2012.


字段摘要
修饰符 和 类型 字段 和 描述
(专用软件包)  TestCostDecisionSystemFixedNeighborhood currentSystem
           
(专用软件包)  double dependency
          the dependency of the attribute.
(专用软件包)  double[] efficiency
          the significance of the selected attributes.
(专用软件包)  boolean[] feature
          the selected attributes.
(专用软件包)  java.lang.String messageEfficiency
          the string of the significance.
(专用软件包)  java.lang.String messageFeature
          the string of selected attributes.
(专用软件包)  int num_end
          the threshold to stop the search.
(专用软件包)  double sumOptimalTestCost
          the optimal test cost.
 
构造方法摘要
构造函数 和 描述
FixedNeighborhoodReduction()
          The first constructor.
FixedNeighborhoodReduction(double delta, double efc_ctrl, int flag)
          The second constructor.
 
方法摘要
修饰符 和 类型 方法 和 描述
 void assignment(int[] data_array)
          Assignment 0 1 2 3 4 5 6...
 int[] attributeDependency(double[][] data_array, int n_array_tmp, double delta, int[] smp_chk)
          The attribute dependency.
 double[][] copyArray(double[][] data_array)
          Array copy
 double[] getEfficiency()
          Get efficiency
 boolean[] getFeature()
          Get feature
 java.lang.String getmessageEfficiency()
          Get the string of the significance.
 java.lang.String getmessageFeature()
          Get the string of selected attributes.
 int getNum_Select()
          Get the threshold to stop the search.
 int maxid(double[] dpd_tmp)
          Return the id of the max
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

currentSystem

TestCostDecisionSystemFixedNeighborhood currentSystem

efficiency

double[] efficiency
the significance of the selected attributes.


feature

boolean[] feature
the selected attributes.


dependency

double dependency
the dependency of the attribute.


num_end

int num_end
the threshold to stop the search.


messageEfficiency

java.lang.String messageEfficiency
the string of the significance.


messageFeature

java.lang.String messageFeature
the string of selected attributes.


sumOptimalTestCost

double sumOptimalTestCost
the optimal test cost.

构造方法详细信息

FixedNeighborhoodReduction

public FixedNeighborhoodReduction()
The first constructor.


FixedNeighborhoodReduction

public FixedNeighborhoodReduction(double delta,
                                  double efc_ctrl,
                                  int flag)
                           throws java.lang.Exception
The second constructor. Reduction without cost when flag equals zero. Reduction with cost when flag equals one.

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

attributeDependency

public int[] attributeDependency(double[][] data_array,
                                 int n_array_tmp,
                                 double delta,
                                 int[] smp_chk)
                          throws java.lang.Exception
The attribute dependency.

抛出:
java.lang.Exception

getmessageEfficiency

public java.lang.String getmessageEfficiency()
Get the string of the significance.


getmessageFeature

public java.lang.String getmessageFeature()
Get the string of selected attributes.


assignment

public void assignment(int[] data_array)
Assignment 0 1 2 3 4 5 6...


copyArray

public double[][] copyArray(double[][] data_array)
Array copy


maxid

public int maxid(double[] dpd_tmp)
Return the id of the max


getEfficiency

public double[] getEfficiency()
Get efficiency


getFeature

public boolean[] getFeature()
Get feature


getNum_Select

public int getNum_Select()
Get the threshold to stop the search.