|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gmu.dparker3.sludge.Agent
| Field Summary | |
private LandCell |
currLC
|
(package private) AgentDecision |
decision
|
private java.util.ArrayList |
landCellList
|
private Mediator |
m
|
| Constructor Summary | |
Agent(LandCell cell)
|
|
Agent(Mediator m)
|
|
| Method Summary | |
void |
calcProfits1(LandCell lc)
|
void |
calcSupplyInfo(LandCell lc)
caclulate all supply information, including transport cost, production and profits, for types 0 and 1 |
int |
determineLandCellType(LandCell lc)
I believe this function is no longer in use |
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 |
private java.util.ArrayList landCellList
private Mediator m
AgentDecision decision
private LandCell currLC
| Constructor Detail |
public Agent(Mediator m)
public Agent(LandCell cell)
| Method Detail |
public void calcSupplyInfo(LandCell lc)
lc - the land cell currently being evaluated by the agentpublic void calcProfits1(LandCell lc)
public int determineLandCellType(LandCell lc)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||