public class ExperimentConfs
extends java.lang.Object
Ex: number of wheels, objective functions used and so on.
Constructor and Description |
---|
ExperimentConfs(java.lang.String experimentId,
java.lang.String algorithm,
ExperimentCommonConfigs configs) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
int |
getArchiveSize()
For PAES
|
ExperimentCommonConfigs |
getConfigs() |
java.lang.String |
getDesignPatternStrategy()
Get design pattern strategy
|
java.lang.String |
getExperimentId() |
static java.lang.String |
getInt(java.lang.String archiveSize) |
java.lang.String |
getMutationOperators()
Get mutation operators
|
java.lang.String |
getObjectives() |
java.lang.String |
getPatterns()
Get string of patterns
|
int |
getPopulationSize()
For NSGA-II
|
static java.lang.String |
getProbability(java.lang.String probability) |
java.lang.StringBuilder |
removeLastComma(java.lang.StringBuilder builder)
Remove last comma
|
void |
setAlgorithm(java.lang.String algorithm) |
void |
setConfigs(ExperimentCommonConfigs configs) |
void |
setExperimentId(java.lang.String experimentId) |
public ExperimentConfs(java.lang.String experimentId, java.lang.String algorithm, ExperimentCommonConfigs configs)
public static java.lang.String getProbability(java.lang.String probability)
public java.lang.String getPatterns()
public java.lang.String getMutationOperators()
public static java.lang.String getInt(java.lang.String archiveSize)
public int getPopulationSize()
public java.lang.String getObjectives()
public int getArchiveSize()
public java.lang.StringBuilder removeLastComma(java.lang.StringBuilder builder)
builder
- string builderpublic java.lang.String getDesignPatternStrategy()
public java.lang.String getExperimentId()
public void setExperimentId(java.lang.String experimentId)
public ExperimentCommonConfigs getConfigs()
public void setConfigs(ExperimentCommonConfigs configs)
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)