类 ConsistencySubsetEval.hashKey
java.lang.Object
weka.attributeSelection.ConsistencySubsetEval.hashKey
- 所有已实现的接口:
Serializable
,RevisionHandler
Class providing keys to the hash table.
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
Tests if two instances are equalReturns the revision string.int
hashCode()
Calculates a hash codevoid
Prints the hash codeConvert a hash entry to a string
-
构造器详细资料
-
hashKey
Constructor for a hashKey- 参数:
t
- an instance from which to generate a keynumAtts
- the number of attributes- 抛出:
Exception
- if something goes wrong
-
hashKey
public hashKey(double[] t) Constructor for a hashKey- 参数:
t
- an array of feature values
-
-
方法详细资料
-
toString
Convert a hash entry to a string- 参数:
t
- the set of instancesmaxColWidth
- width to make the fields- 返回:
- the hash entry as string
-
hashCode
public int hashCode()Calculates a hash code -
equals
Tests if two instances are equal -
print_hash_code
public void print_hash_code()Prints the hash code -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-