Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.repastdemos.neural
Class Boss

    java.lang.Object
      uchicago.src.sim.network.DefaultNode
          uchicago.src.sim.network.DefaultDrawableNode
              uchicago.src.repastdemos.neural.Boss

All Implemented Interfaces:
  AutoStepable, Drawable2DGridNode, DrawableNonGridNode, Moveable, NonGridDrawable, Node

Direct Known Subclasses:
  Consultant

    public class Boss

extends DefaultDrawableNode
implements AutoStepable

This class represents the agent who gives orders to the employees. These agents don't actually praise or punish the agents according to their actions. The `Consultant` does that.

Version:
  $Revision: 1.1 $ $Date: 2005/08/12 20:04:54 $
Author:
  Jerry Vos
See Also:
  `Consultant`

Nested Class Summary

Nested classes/interfaces inherited from class uchicago.src.sim.network.DefaultNode
`DefaultNode.OrderedHashMap`

Field Summary
`protected Office` | `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
`Boss(Office office)`
`Boss(Office office, double x, double y)`

Method Summary
`int` | `getBossID()`
`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` | `setBossID(int bossID)`
`void` | `step()` normally the method that performs the actual actions of a step

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`

Field Detail

### office

    protected Office office

Constructor Detail

### Boss

    public Boss(Office office,
                double x,
                double y)

### Boss

    public Boss(Office office)

Method Detail

### preStep

    public void preStep()

  Description copied from interface: `AutoStepable`
  normally the method for setting up an agent for the next step

  Specified by:
    `preStep` in interface `AutoStepable`

### step

    public void step()

  Description copied from interface: `AutoStepable`
  normally the method that performs the actual actions of a step

  Specified by:
    `step` in interface `AutoStepable`

### postStep

    public void postStep()

  Description copied from interface: `AutoStepable`
  normally the method for swapping in new public data and otherwise handling the results/cleanup of a step

  Specified by:
    `postStep` in interface `AutoStepable`

### getBossID

    public int getBossID()

  Returns:
    Returns the bossID.

### setBossID

    public void setBossID(int bossID)

  Parameters:
    `bossID` - The bossID to set.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD