|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmovement.EveningActivityControlSystem
public class EveningActivityControlSystem
This class controls the group mobility of the people meeting their friends in the evening
| Method Summary | |
|---|---|
void |
addEveningActivityNode(EveningActivityMovement eveningMovement)
Register a evening activity node with the system |
static EveningActivityControlSystem |
getEveningActivityControlSystem(int id)
Returns a reference to a EveningActivityControlSystem with ID provided as parameter. |
EveningTrip |
getEveningInstructions(int eveningActivityNodeID)
This method gets the instruction for a node, i.e. |
Coord |
getMeetingSpotForID(int id)
Get the meeting spot for the node |
static void |
reset()
|
void |
setMeetingSpots(java.util.List<Coord> meetingSpots)
Sets the meeting locations the nodes can choose among |
void |
setRandomNumberGenerator(java.util.Random rand)
Sets the random number generator to be used |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void reset()
public void addEveningActivityNode(EveningActivityMovement eveningMovement)
eveningMovement - activity movementpublic void setMeetingSpots(java.util.List<Coord> meetingSpots)
meetingSpots - public EveningTrip getEveningInstructions(int eveningActivityNodeID)
eveningActivityNodeID - unique ID of the node
public Coord getMeetingSpotForID(int id)
id -
public void setRandomNumberGenerator(java.util.Random rand)
rand - public static EveningActivityControlSystem getEveningActivityControlSystem(int id)
id - unique ID of the EveningActivityControlSystem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||