biosim.app.antknn
Class AntKNN

java.lang.Object
  extended by biosim.app.antknn.AntKNN
All Implemented Interfaces:
Agent

public class AntKNN
extends java.lang.Object
implements Agent


Field Summary
static int FEATURE_DIM
           
static double HEIGHT
           
static double WIDTH
           
 
Constructor Summary
AntKNN(AbstractAnt b, FastKNN knn)
           
 
Method Summary
 void act(double time)
           
 void finish()
           
 void init()
           
static FastKNN loadKNN(BTFData btf)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AntKNN

public AntKNN(AbstractAnt b,
              FastKNN knn)
Method Detail

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)