biosim.app.fishknn
Class FishZones

java.lang.Object
  extended by biosim.app.fishknn.FishKNN
      extended by biosim.app.fishknn.FishZones
All Implemented Interfaces:
Agent

public class FishZones
extends FishKNN


Field Summary
static double HEIGHT
           
static double WIDTH
           
 
Fields inherited from class biosim.app.fishknn.FishKNN
CLASSES, FEATURE_WEIGHTS, FEATURES, KNN_NEIGHBORS, MIRROR_TRAINING_DATA, USE_WEIGHTS, WALLS
 
Constructor Summary
FishZones(AbstractFish b)
           
 
Method Summary
 void act(double time)
           
 void finish()
           
 void init()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class biosim.app.fishknn.FishKNN
loadKNN
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIDTH

public static final double WIDTH
See Also:
Constant Field Values

HEIGHT

public static final double HEIGHT
See Also:
Constant Field Values
Constructor Detail

FishZones

public FishZones(AbstractFish b)
Method Detail

init

public void init()
Specified by:
init in interface Agent
Overrides:
init in class FishKNN

finish

public void finish()
Specified by:
finish in interface Agent
Overrides:
finish in class FishKNN

act

public void act(double time)
Specified by:
act in interface Agent
Overrides:
act in class FishKNN

main

public static void main(java.lang.String[] args)