public class EvolutionaryAlgorithm1Plus1 extends java.lang.Object implements GenerationTechnique
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
EvolutionaryAlgorithm1Plus1() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Product> |
generateProducts(ModelPLEDGE model,
int nbProducts,
long timeAllowed,
PrioritizationTechnique prioritizationTechnique)
Generate products.
|
java.lang.String |
getName()
Returns the name of this technique.
|
public static final java.lang.String NAME
public java.util.List<Product> generateProducts(ModelPLEDGE model, int nbProducts, long timeAllowed, PrioritizationTechnique prioritizationTechnique) throws java.lang.Exception
generateProducts in interface GenerationTechniquemodel - the application's modeLnbProducts - the number of products to generate.timeAllowed - the time allowed in seconds to generate products.prioritizationTechnique - the prioritization technique to use.java.lang.Exception - if a problem occurs during the generation.public java.lang.String getName()
getName in interface GenerationTechnique