biosim.app.fishknn
Class FishKNNZones
java.lang.Object
biosim.app.fishknn.FishKNNZones
- All Implemented Interfaces:
- Agent
public class FishKNNZones
- extends java.lang.Object
- implements Agent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FEATURES
public static final int FEATURES
- See Also:
- Constant Field Values
CLASSES
public static final int CLASSES
- See Also:
- Constant Field Values
KNN_NEIGHBORS
public static final int KNN_NEIGHBORS
- See Also:
- Constant Field Values
MIRROR_TRAINING_DATA
public static final boolean MIRROR_TRAINING_DATA
- See Also:
- Constant Field Values
USE_WEIGHTS
public static final boolean USE_WEIGHTS
- See Also:
- Constant Field Values
FEATURE_WEIGHTS
public static final double[] FEATURE_WEIGHTS
FishKNNZones
public FishKNNZones(AbstractFish 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