|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.lazy.IBk.NeighborNode
Field Summary | |
private double |
m_Distance
The distance from the current instance to this neighbor |
private Instance |
m_Instance
The neighbor instance |
private IBk.NeighborNode |
m_Next
A link to the next neighbor instance |
Constructor Summary | |
IBk.NeighborNode(double distance,
Instance instance)
Create a new neighbor node that doesn't link to any other nodes. |
|
IBk.NeighborNode(double distance,
Instance instance,
IBk.NeighborNode next)
Create a new neighbor node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Instance m_Instance
private double m_Distance
private IBk.NeighborNode m_Next
Constructor Detail |
public IBk.NeighborNode(double distance, Instance instance, IBk.NeighborNode next)
distance
- the distance to the neighborinstance
- the neighbor instancenext
- the next neighbor nodepublic IBk.NeighborNode(double distance, Instance instance)
distance
- the distance to the neighborinstance
- the neighbor instance
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |