org.ascape.ant.test
Class AllOutputViewTest.TestAgent

java.lang.Object
  extended by org.ascape.model.AscapeObject
      extended by org.ascape.model.Agent
          extended by org.ascape.model.LocatedAgent
              extended by org.ascape.model.Cell
                  extended by org.ascape.ant.test.AllOutputViewTest.TestAgent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Location, Node, HasName, RandomFunctions
Enclosing class:
AllOutputViewTest

public class AllOutputViewTest.TestAgent
extends Cell

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ascape.model.Cell
CALCULATE_NEIGHBORS_RULE, neighbors, PLAY_NEIGHBORS_RULE, PLAY_RANDOM_NEIGHBOR_RULE
 
Fields inherited from class org.ascape.model.LocatedAgent
agentSize, coordinate, MOVE_RANDOM_LOCATION_RULE, RANDOM_WALK_RULE, thisUpdate
 
Fields inherited from class org.ascape.model.Agent
DEATH_RULE, FISSIONING_RULE, FORCE_DIE_RULE, FORCE_FISSION_RULE, FORCE_MOVE_RULE, INITIALIZE_RULE, ITERATE_AND_UPDATE_RULE, ITERATE_RULE, METABOLISM_RULE, MOVEMENT_RULE, PLAY_OTHER, UPDATE_RULE
 
Fields inherited from class org.ascape.model.AscapeObject
ARBITRARY_SEED, name, scape
 
Constructor Summary
AllOutputViewTest.TestAgent()
           
AllOutputViewTest.TestAgent(int testInt, java.lang.String testString, double testDouble)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 double getDoubleAttr()
           
 int getIntAttr()
           
 java.lang.String getStringAttr()
           
 void setDoubleAttr(double testDouble)
           
 void setIntAttr(int testInt)
           
 void setStringAttr(java.lang.String testString)
           
 java.lang.String toString()
          A string representation of this cell.
 
Methods inherited from class org.ascape.model.Cell
calculateNeighbors, clone, countNeighbors, findNeighbors, findOccupants, findRandomAvailableNeighbor, findRandomNeighbor, findRelative, getDistance, getNeighbors, getNeighbors, getNetwork, getOccupant, hostedCondition, initialize, isAvailable, playNeighbors, playRandomNeighbor, removeOccupant, setNeighbors, setNeighborsList, setNetwork, setOccupant
 
Methods inherited from class org.ascape.model.LocatedAgent
calculateDistance, calculateDistance, countWithin, countWithin, countWithin, findMaximumWithin, findNearest, findNearest, findNearest, findNearest, findNearest, findWithin, findWithin, findWithin, findWithin, getAgentSize, getCoordinate, hasWithin, hasWithin, hasWithin, isUpdateNeeded, moveAway, moveAway, moveAway, moveTo, moveToRandomLocation, moveToward, moveToward, moveToward, randomWalk, requestUpdate, requestUpdateNext, setAgentSize, setCoordinate
 
Methods inherited from class org.ascape.model.Agent
clearDeleteMarker, death, deathCondition, die, execute, execute, fission, fissionCondition, fissioning, getColor, getColor, getImage, getImage, getIteration, getRoot, isDelete, isInitialized, iterate, markForDeletion, metabolism, move, movement, movementCondition, play, scapeCreated, setInitialized, setScape, update
 
Methods inherited from class org.ascape.model.AscapeObject
diffDeep, diffDeep, diffDeepBFS, diffDeepDFS, diffDeepValidate, diffDeepVisit, equalsDeep, equalsDeep, equalsDeep, getComparisonStream, getName, getRandom, getRandomSeed, getScape, randomInRange, randomInRange, randomIs, randomToLimit, reseed, setComparisonStream, setName, setRandom, setRandomSeed
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ascape.model.space.Location
clearDeleteMarker, getCoordinate, isDelete, markForDeletion, setCoordinate
 

Constructor Detail

AllOutputViewTest.TestAgent

public AllOutputViewTest.TestAgent()

AllOutputViewTest.TestAgent

public AllOutputViewTest.TestAgent(int testInt,
                                   java.lang.String testString,
                                   double testDouble)
Method Detail

getIntAttr

public int getIntAttr()

setIntAttr

public void setIntAttr(int testInt)

getStringAttr

public java.lang.String getStringAttr()

setStringAttr

public void setStringAttr(java.lang.String testString)

getDoubleAttr

public double getDoubleAttr()

setDoubleAttr

public void setDoubleAttr(double testDouble)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Description copied from class: Cell
A string representation of this cell.

Overrides:
toString in class Cell


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.