|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.metaabm.gen.test.share.AgentTestCase
org.metaabm.gen.test.BasicMovementAgentTestCase
public class BasicMovementAgentTestCase
Basic Movement Agent Java Implementation. Generated by metaabm system: Apr 1, 2008 5:41:04 PM MDT in project: org.metaabm.gen.test (testing)
| Field Summary |
|---|
| Fields inherited from class org.metaabm.gen.test.share.AgentTestCase |
|---|
agentLoaded, targetMode |
| Constructor Summary | |
|---|---|
BasicMovementAgentTestCase()
Constructs a new Basic Movement Agent. |
|
| Method Summary | |
|---|---|
void |
andWithAndGoal()
. |
void |
andWithOrGoal()
. |
IBasicMovementAgent |
getAgent()
|
int |
getVision()
Gets the Vision property for Basic Movement Agent. |
boolean |
isMovingTowardGoal()
Gets the Moving Toward Goal property for Basic Movement Agent. |
boolean |
isSuccess()
Gets the Success property for Basic Movement Agent. |
void |
moveToAvailableNeighbor()
. |
void |
moveToGoalWithin()
. |
void |
moveToNearestGoal()
. |
void |
moveToNeighbor()
. |
void |
moveToRandomAvailable()
. |
void |
moveToRandomNoAvailableCheck()
. |
void |
moveTowardNearestAgent()
. |
void |
moveTowardNearestGoal()
. |
void |
moveTwice()
. |
void |
moveWithEvaluate()
. |
void |
setConditionNeighbor()
. |
void |
setConditionStateAgentNeighbor()
. |
void |
setMovingTowardGoal(boolean movingTowardGoal)
Sets the Moving Toward Goal property for Basic Movement Agent. |
void |
setRandomNeighborValue()
. |
void |
setSuccess(boolean success)
Sets the Success property for Basic Movement Agent. |
void |
setUp()
|
void |
setVision(int vision)
Sets the Vision property for Basic Movement Agent. |
void |
testExistence()
|
| Methods inherited from class org.metaabm.gen.test.share.AgentTestCase |
|---|
setAgentLoaded |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicMovementAgentTestCase()
| Method Detail |
|---|
public void setUp()
setUp in class AgentTestCasepublic IBasicMovementAgent getAgent()
public void testExistence()
public void moveToRandomAvailable()
public void moveToRandomNoAvailableCheck()
public void moveToNeighbor()
public void moveToAvailableNeighbor()
public void moveToNearestGoal()
public void moveTowardNearestAgent()
public void moveTowardNearestGoal()
public void moveWithEvaluate()
public void moveTwice()
public void andWithOrGoal()
public void andWithAndGoal()
public void moveToGoalWithin()
public void setConditionNeighbor()
public void setConditionStateAgentNeighbor()
public void setRandomNeighborValue()
public int getVision()
public void setVision(int vision)
_vision - the new Vision valuepublic boolean isMovingTowardGoal()
public void setMovingTowardGoal(boolean movingTowardGoal)
_movingTowardGoal - the new Moving Toward Goal valuepublic boolean isSuccess()
public void setSuccess(boolean success)
_success - the new Success value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||