|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.attributeSelection.ConsistencySubsetEval.hashKey
public class ConsistencySubsetEval.hashKey
Class providing keys to the hash table.
Constructor Summary | |
---|---|
ConsistencySubsetEval.hashKey(double[] t)
Constructor for a hashKey |
|
ConsistencySubsetEval.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 ConsistencySubsetEval.hashKey(Instance t, int numAtts) throws java.lang.Exception
t
- an instance from which to generate a keynumAtts
- the number of attributes
java.lang.Exception
- if something goes wrongpublic ConsistencySubsetEval.hashKey(double[] t)
t
- an array of feature valuesMethod Detail |
---|
public java.lang.String toString(Instances t, int maxColWidth)
t
- the set of instancesmaxColWidth
- width to make the fields
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object b)
equals
in class java.lang.Object
b
- a key to compare with
public void print_hash_code()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |