Betty 1.1
|
Public Member Functions | |
Benchmark (IGenerator generator) | |
RandomExperiment | createRandomExperiment (Characteristics ch) throws BettyException |
Experiment | createRandomExperiment (String name, Characteristics ch) throws BettyException |
ArrayList< RandomExperiment > | createSetRandomExperiment (int n, Characteristics chl) throws BettyException |
ArrayList< Characteristics > | loadCharacteristics (String path) throws BettyException |
void | saveCharacteristics (Characteristics ch, String path) |
void | saveCharacteristics (Collection<?extends Experiment > exps, String path) |
RandomExperiment | loadVariabilityModel (String path) |
void | saveVariabilityModel (VariabilityModel vm, String path) |
void | saveVariabilityModel (Collection< Experiment > exps, String path) |
void | saveExperiment (RandomExperiment exp, String path) |
void | saveExperiments (Collection< RandomExperiment > exps, String path) throws IOException |
void | setExps (Collection< Experiment > exps) |
Collection< Experiment > | getExps () |
IGenerator | getGenerator () |
void | setGenerator (IGenerator generator) |
ExperimentSaver | getSaver () |
void | setSaver (ExperimentSaver saver) |
ExperimentLoader | getLoader () |
void | setLoader (ExperimentLoader loader) |
Protected Attributes | |
IGenerator | generator |
ExperimentSaver | saver |
ExperimentLoader | loader |
Collection< Experiment > | exps |
This class represents a new benchmark
es.us.isa.benchmarking.Benchmark.Benchmark | ( | IGenerator | generator | ) |
A new Benchmark using an specified generator
generator | the generator to be used |
RandomExperiment es.us.isa.benchmarking.Benchmark.createRandomExperiment | ( | Characteristics | ch | ) | throws BettyException |
Creates a new RandomExperiments, using giving characteristics.
ch | The desired characteristics of the generated models |
BettyException |
Experiment es.us.isa.benchmarking.Benchmark.createRandomExperiment | ( | String | name, |
Characteristics | ch | ||
) | throws BettyException |
Creates a random experiments with defined name
name | the name of the experiment |
ch | The characteristics of the generated model |
BettyException |
ArrayList<RandomExperiment> es.us.isa.benchmarking.Benchmark.createSetRandomExperiment | ( | int | n, |
Characteristics | chl | ||
) | throws BettyException |
Creates a set of experiments to be executed
n | the number of desired experiments |
chl | The Characteristics to be used |
BettyException |
ArrayList<Characteristics> es.us.isa.benchmarking.Benchmark.loadCharacteristics | ( | String | path | ) | throws BettyException |
This method will load a set of charateristics from a file
path | where is the file |
BettyException |
RandomExperiment es.us.isa.benchmarking.Benchmark.loadVariabilityModel | ( | String | path | ) |
This method will genreate a experiment with given variability model
path | Were is located the file that describes the variability model |
void es.us.isa.benchmarking.Benchmark.saveCharacteristics | ( | Characteristics | ch, |
String | path | ||
) |
This method will save a characteristic into a file
ch | the characteristic to be saved |
path | Where we want to save it. |
void es.us.isa.benchmarking.Benchmark.saveCharacteristics | ( | Collection<?extends Experiment > | exps, |
String | path | ||
) |
This method will save a set of characteristics from a set of experiments
exps | The set of experiments |
path | Where we want to save the characteristics |
void es.us.isa.benchmarking.Benchmark.saveExperiment | ( | RandomExperiment | exp, |
String | path | ||
) |
This method will save a experiment into a path
exp | The experiment to save |
path | The path where save the experiment |
void es.us.isa.benchmarking.Benchmark.saveExperiments | ( | Collection< RandomExperiment > | exps, |
String | path | ||
) | throws IOException |
Save a set of experiments
exps | the experiments to be save |
path | The path where the experiments are going to be saved |
IOException | When the path does'nt exist |
void es.us.isa.benchmarking.Benchmark.saveVariabilityModel | ( | Collection< Experiment > | exps, |
String | path | ||
) |
This method will save a set of variability models coming from a set of experiments into a specified path
exps | the collection of experiments |
path | where we want to save the models |
void es.us.isa.benchmarking.Benchmark.saveVariabilityModel | ( | VariabilityModel | vm, |
String | path | ||
) |
This method will save the variability model into the file path specified
vm | The variability Model to be saved |
path | Where we want to save the file. |