|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--models.SingleBGM
Constructor Summary | |
SingleBGM(com.martiansoftware.jsap.JSAPResult config)
|
Method Summary | |
Game[] |
getGames()
Returns the games for the BgModel |
Individual |
getIndividual()
Returns the set of individuals for the model. |
MersenneTwister |
getRandom()
Returns the random number generator for the model. |
void |
run(com.martiansoftware.jsap.JSAPResult config)
Runs the model |
void |
setGames(Game[] g)
Sets an array of games, one for each state of the world. |
void |
setIndividual(Individual i)
Sets the list of individuals for the model. |
void |
setRandom(MersenneTwister r)
Sets the random number generator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SingleBGM(com.martiansoftware.jsap.JSAPResult config) throws ModelError
Method Detail |
public void setGames(Game[] g)
g
- The array of Game objectspublic Game[] getGames()
public void setIndividual(Individual i)
i
- An array of individualspublic Individual getIndividual()
public void setRandom(MersenneTwister r)
r
- the mersennetwister random number generatorpublic MersenneTwister getRandom()
public void run(com.martiansoftware.jsap.JSAPResult config) throws ModelError
ModelError
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |