biosim.app.antknn
Class AntKNN
java.lang.Object
biosim.app.antknn.AntKNN
- All Implemented Interfaces:
- Agent
public class AntKNN
- extends java.lang.Object
- implements Agent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FEATURE_DIM
public static final int FEATURE_DIM
- See Also:
- Constant Field Values
WIDTH
public static final double WIDTH
- See Also:
- Constant Field Values
HEIGHT
public static final double HEIGHT
- See Also:
- Constant Field Values
AntKNN
public AntKNN(AbstractAnt b,
FastKNN knn)
init
public void init()
- Specified by:
init
in interface Agent
finish
public void finish()
- Specified by:
finish
in interface Agent
act
public void act(double time)
- Specified by:
act
in interface Agent
loadKNN
public static FastKNN loadKNN(BTFData btf)
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)