|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.common.SortableElement
Field Summary | |
protected double |
activation
|
protected int |
chunkIdx
|
Constructor Summary | |
SortableElement(double activation,
int chunkIdx)
constructor. |
Method Summary | |
int |
compareTo(java.lang.Object obj)
compare two SortableElement objects. |
int |
getChunkIdx()
returns chunk index. |
double |
getKeyValue()
returns key value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double activation
protected int chunkIdx
Constructor Detail |
public SortableElement(double activation, int chunkIdx)
activation
- the chunk activation.Method Detail |
public double getKeyValue()
public int getChunkIdx()
public int compareTo(java.lang.Object obj) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |