|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.sparse.IBkMetric.NeighborNode
Field Summary | |
protected double |
m_Distance
The distance from the current instance to this neighbor |
protected Instance |
m_Instance
The neighbor instance |
protected IBkMetric.NeighborNode |
m_Next
A link to the next neighbor instance |
Constructor Summary | |
IBkMetric.NeighborNode(double distance,
Instance instance)
Create a new neighbor node that doesn't link to any other nodes. |
|
IBkMetric.NeighborNode(double distance,
Instance instance,
IBkMetric.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 |
protected Instance m_Instance
protected double m_Distance
protected IBkMetric.NeighborNode m_Next
Constructor Detail |
public IBkMetric.NeighborNode(double distance, Instance instance, IBkMetric.NeighborNode next)
distance
- the distance to the neighborinstance
- the neighbor instancenext
- the next neighbor nodepublic IBkMetric.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 |