|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.network.DefaultNode
uchicago.src.sim.network.DefaultDrawableNode
uchicago.src.repastdemos.neural.Boss
uchicago.src.repastdemos.neural.Consultant
public class Consultant
This is the agent that either praises or scolds Employees based on
the actions they performed according to the boss commands they received.
When an agent is praised they move towards the bosses (the center of
the display), when they are scolded they move away.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class uchicago.src.sim.network.DefaultNode |
|---|
DefaultNode.OrderedHashMap |
| Field Summary |
|---|
| Fields inherited from class uchicago.src.repastdemos.neural.Boss |
|---|
office |
| Fields inherited from class uchicago.src.sim.network.DefaultDrawableNode |
|---|
item |
| Fields inherited from class uchicago.src.sim.network.DefaultNode |
|---|
inEdges, inMap, label, outEdges, outMap |
| Constructor Summary | |
|---|---|
Consultant(Office office)
|
|
| Method Summary | |
|---|---|
void |
postStep()
normally the method for swapping in new public data and otherwise handling the results/cleanup of a step |
void |
preStep()
normally the method for setting up an agent for the next step |
void |
step()
normally the method that performs the actual actions of a step |
| Methods inherited from class uchicago.src.repastdemos.neural.Boss |
|---|
getBossID, setBossID |
| Methods inherited from class uchicago.src.sim.network.DefaultDrawableNode |
|---|
allowResizing, calcSize, contains, draw, getBorderColor, getBorderWidth, getColor, getFont, getHeight, getLabelColor, getNode, getWidth, getX, getY, setBorderColor, setBorderWidth, setColor, setDrawable, setDrawableNoCopy, setFont, setHeight, setLabelColor, setNodeLabel, setWidth, setX, setX, setY, setY |
| Methods inherited from class uchicago.src.sim.network.DefaultNode |
|---|
addInEdge, addInEdges, addOutEdge, addOutEdges, clearInEdges, clearOutEdges, getEdgesFrom, getEdgesTo, getFromNodes, getId, getInDegree, getInEdges, getInNodes, getNodeLabel, getNumInEdges, getNumOutEdges, getOutDegree, getOutEdges, getOutNodes, getRandomFromNode, getRandomNodeIn, getRandomNodeOut, getRandomToNode, getToNodes, hasEdgeFrom, hasEdgeTo, hasEdgeToOrFrom, makeRandomInEdge, makeRandomOutEdge, removeEdgesFrom, removeEdgesTo, removeInEdge, removeOutEdge |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uchicago.src.sim.gui.DrawableNonGridNode |
|---|
getOutEdges |
| Methods inherited from interface uchicago.src.sim.gui.Drawable2DGridNode |
|---|
getOutEdges |
| Constructor Detail |
|---|
public Consultant(Office office)
| Method Detail |
|---|
public void preStep()
AutoStepable
preStep in interface AutoStepablepreStep in class Bosspublic void step()
AutoStepable
step in interface AutoStepablestep in class Bosspublic void postStep()
AutoStepable
postStep in interface AutoStepablepostStep in class Boss
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||