biosim.app.twostateants
Class RandomAnt

java.lang.Object
  extended by biosim.app.twostateants.RandomAnt
All Implemented Interfaces:
Agent

public class RandomAnt
extends java.lang.Object
implements Agent


Field Summary
static java.util.ArrayList<java.lang.Double> acqTimes
           
 AbstractAnt antBody
           
static java.util.ArrayList<java.lang.Double> antDists
           
static java.util.ArrayList<java.lang.Double> collectTimes
           
 int foodCounter
           
static java.util.ArrayList<java.lang.Double> foodCounts
           
static double HEIGHT
           
static java.util.ArrayList<java.lang.Double> wallDists
           
static double WIDTH
           
 
Constructor Summary
RandomAnt(AbstractAnt b)
           
 
Method Summary
 void act(double time)
           
 void finish()
           
 void init()
           
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

antBody

public AbstractAnt antBody

collectTimes

public static java.util.ArrayList<java.lang.Double> collectTimes

acqTimes

public static java.util.ArrayList<java.lang.Double> acqTimes

antDists

public static java.util.ArrayList<java.lang.Double> antDists

wallDists

public static java.util.ArrayList<java.lang.Double> wallDists

foodCounts

public static java.util.ArrayList<java.lang.Double> foodCounts

foodCounter

public int foodCounter

WIDTH

public static final double WIDTH
See Also:
Constant Field Values

HEIGHT

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

RandomAnt

public RandomAnt(AbstractAnt b)
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

main

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