coser.common
类 SimpleTool_GuiyingPan

java.lang.Object
  继承者 coser.common.SimpleTool
      继承者 coser.common.SimpleTool_GuiyingPan

public class SimpleTool_GuiyingPan
extends SimpleTool

Frequently used methods by Guiying.

Author: Guiying Pan kentwingpan@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.
Project: The cost-sensitive rough sets project.

Progress: OK. Copied from Hydrosimu.
Written time: March 09, 2011.
Last modify time: August 17, 2011.


字段摘要
修饰符 和 类型 字段 和 描述
 
从类 coser.common.SimpleTool 继承的字段
MAX_PARSE_ARRAY_LENGTH, random
 
构造方法摘要
构造函数 和 描述
SimpleTool_GuiyingPan()
           
 
方法摘要
修饰符 和 类型 方法 和 描述
static int parseIntValue(java.lang.String paraString)
          Read a int value from a given string.
static void printAllReducts(boolean[][] paraAllReducts)
          Print all reducts.
static void printBooleanArray(boolean[] paraBooleanArray)
          Print a boolean array.
static void printDoubleArray(double[] paraDoubleArray)
          Print a double array.
static void printIntegerArray(int[] paraIntegerArray)
          Print a integer array.
static void printLongArray(long[] paraLongArray)
          Print a long array.
static void writeFile(java.lang.String paraFilename, java.lang.String paraMessage)
          Write a message to a new file.
 
从类 coser.common.SimpleTool 继承的方法
addSingleQuotes, adjustLongArrayLength, attributeSubsetSize, attributeSubsetSize, booleanArrayToAttributeSetString, booleanArrayToInt, booleanArrayToLong, booleanArrayToString, booleanMatrixToString, children, compressAndSortIntArray, compressAndSortLongArray, copyBooleanArray, doubleArrayToString, doubleArrayToString, exponential, exponentialLong, GB2312ToUNICODE, generateBooleanArrayForDivision, generateString, getSubsetSize, getSubsetSize, intArrayToAttributeSetString, intArrayToInt, intArrayToLong, intArrayToString, intToAttributeSetString, intToBooleanArray, isAscendingOrder, isEmptyStr, isSubset, isSubset, isSubset, isUnspecifiedStr, isUpperTriangleBooleanMatrix, joinString, longArrayToBooleanMatrix, longToAttributeSetString, longToBitString, longToBooleanArray, longToIntArray, main, measureBasedQuickSort, parseDoubleArray, parseDoubleArray, parseDoubleValueAfterColon, parseIntArray, parseIntArray, parseIntValueAfterColon, parseString, printBooleanMatrix, printIntArray, printLongArrayNoZero, removeSupersets, revertBooleanArray, setIntersection, shorterDouble, shorterDouble, stringArrayContainsString, stringArrayToString, stringMinusString, stringToBooleanArray, stringToStringArray, stringUnionString, subSetCheck, swap, swap, swap, UNICODEToGB2312
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SimpleTool_GuiyingPan

public SimpleTool_GuiyingPan()
方法详细信息

printBooleanArray

public static void printBooleanArray(boolean[] paraBooleanArray)
Print a boolean array. Simply for test.

参数:
paraBooleanArray - The given boolean array.

printDoubleArray

public static void printDoubleArray(double[] paraDoubleArray)
Print a double array. Simply for test.

参数:
paraDoubleArray - The given double array.

printIntegerArray

public static void printIntegerArray(int[] paraIntegerArray)
Print a integer array. Simply for test.

参数:
paraIntegerArray - The given double array.

printLongArray

public static void printLongArray(long[] paraLongArray)
Print a long array. Simply for test.

参数:
paraLongArray - The given long array.

printAllReducts

public static void printAllReducts(boolean[][] paraAllReducts)
Print all reducts. Simply for test.

参数:
paraAllReducts - The given array to print.

writeFile

public static void writeFile(java.lang.String paraFilename,
                             java.lang.String paraMessage)
                      throws java.lang.Exception
Write a message to a new file.

参数:
paraFilename - The given filename.
paraMessage - The givean message string.
抛出:
java.lang.Exception

parseIntValue

public static int parseIntValue(java.lang.String paraString)
                         throws java.lang.Exception
Read a int value from a given string.

参数:
paraString - The given string.
返回:
A int value.
抛出:
java.lang.Exception