|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweka.classifiers.rules.DecisionTable.hashKey
Class providing keys to the hash table
| Constructor Summary | |
DecisionTable.hashKey(double[] t)
Constructor for a hashKey |
|
DecisionTable.hashKey(Instance t,
int numAtts)
Constructor for a hashKey |
|
| Method Summary | |
boolean |
equals(java.lang.Object b)
Tests if two instances are equal |
int |
hashCode()
Calculates a hash code |
void |
print_hash_code()
Prints the hash code |
java.lang.String |
toString(Instances t,
int maxColWidth)
Convert a hash entry to a string |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DecisionTable.hashKey(Instance t,
int numAtts)
throws java.lang.Exception
t - an instance from which to generate a keynumAtts - the number of attributespublic DecisionTable.hashKey(double[] t)
t - an array of feature values| Method Detail |
public java.lang.String toString(Instances t,
int maxColWidth)
t - the set of instancesmaxColWidth - width to make the fieldspublic int hashCode()
public boolean equals(java.lang.Object b)
b - a key to compare withpublic void print_hash_code()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||