Ideation Project DA Ruwe
This program provides us with an agent based simulation of an ideation game.
 All Classes Functions Variables
Public Member Functions | Public Attributes | Package Functions
ideation.Period Class Reference
Collaboration diagram for ideation.Period:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Period getPrev ()
Vector< IdeagetIdeas ()
Vector< ChoicegetChoices ()
Vector< IdeagetImprovableIdeas ()
int getID ()
Vector< AgentgetAgents ()
Vector< AgentgetNewAgents ()
void addNewAgent (Agent agent)
 Add an Agent who will play from the next period on.
void recordChoices ()
 Get the Choices of the Agents who played in this period and record the Choices that were made by them in this period.
void recordIdeas ()
 Get the Choices of the Agents who played in this period and record the Ideas that were created (improved) by them in this period.
Vector< IdeagetAllIdeas ()
Idea getBestIdea ()

Public Attributes

Vector< AgentnewAgents
 The agents that were invited in this period.
Vector< Integer > newAgentsIDs
 The IDs of the agents that were invited in this period.
Vector< Agentagents
 The agents that exist in this period.

Package Functions

 Period ()
 Internal Constructor Don't use from other classes.
 Period (Period previousPeriod)
 External Constructor for the periods after the first of a game.
 Period (Vector< Agent > agents)
 Initial Constructor for the first period of a game.

Constructor & Destructor Documentation

ideation.Period.Period ( ) [package]
ideation.Period.Period ( Period  previousPeriod) [package]
Parameters:
previousPeriodthe period that was before this one.
ideation.Period.Period ( Vector< Agent agents) [package]
Parameters:
agentsthe agents that shall be there in the first period. This should only be human players!

Member Function Documentation

Returns:
agents
Returns:
allTheIdeas
Returns:
best idea
Returns:
theChoices
Returns:
periodID
Returns:
theIdeas
Returns:
nowImprovableIdeas
Returns:
newAgents
Returns:
prevPeriod

Also write the ideas that are now improvable and therefore will be available for improvement in the next round down.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Functions Variables