|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp3j.experiment.ExperimentDefinition
public class ExperimentDefinition
Contains all information that are necessary to repeat an experiment. Created: August 20, 2008
Constructor Summary | |
---|---|
ExperimentDefinition()
Constructor for bean compliance. |
|
ExperimentDefinition(ProjectionModel proj,
long randS,
Date currentDate,
String userName,
Class<? extends IParamAssignmentGenerator> sim)
Default constructor. |
Method Summary | |
---|---|
Date |
getDate()
Gets the date. |
int |
getID()
Gets the id. |
ProjectionModel |
getProjection()
Gets the projection. |
long |
getRandSeed()
Gets the rand seed. |
ResultSet |
getResultSet()
Gets the result set. |
ISimulationParameters |
getSimParams()
Gets the sim params. |
Class<? extends IParamAssignmentGenerator> |
getSimulator()
Gets the simulator. |
String |
getUser()
Gets the user. |
void |
setDate(Date date)
Sets the date. |
void |
setID(int uniqueID)
Sets the id. |
void |
setProjection(ProjectionModel projection)
Sets the projection. |
void |
setRandSeed(long randSeed)
Sets the rand seed. |
void |
setResultSet(ResultSet resultSet)
Sets the result set. |
void |
setSimParams(ISimulationParameters simParams)
Sets the sim params. |
void |
setSimulator(Class<? extends IParamAssignmentGenerator> simulator)
Sets the simulator. |
void |
setUser(String user)
Sets the user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExperimentDefinition(ProjectionModel proj, long randS, Date currentDate, String userName, Class<? extends IParamAssignmentGenerator> sim)
proj
- the input used for the projectionrandS
- the seed to be used for the random number generator (only relevant
for Monte-Carlo simulators)currentDate
- current dateuserName
- name of the user that issued this experimentsim
- the class of the simulation algorithmpublic ExperimentDefinition()
Method Detail |
---|
public long getRandSeed()
public void setRandSeed(long randSeed)
randSeed
- the new rand seedpublic String getUser()
public void setUser(String user)
user
- the new userpublic Date getDate()
public void setDate(Date date)
date
- the new datepublic ProjectionModel getProjection()
public void setProjection(ProjectionModel projection)
projection
- the new projectionpublic Class<? extends IParamAssignmentGenerator> getSimulator()
public void setSimulator(Class<? extends IParamAssignmentGenerator> simulator)
simulator
- the new simulatorpublic ISimulationParameters getSimParams()
public void setSimParams(ISimulationParameters simParams)
simParams
- the new sim paramspublic ResultSet getResultSet()
public void setResultSet(ResultSet resultSet)
resultSet
- the new result setpublic int getID()
public void setID(int uniqueID)
uniqueID
- the new id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |