public class PricePredictionOptimisation extends Object implements Optimisation
Constructor and Description |
---|
PricePredictionOptimisation()
Constructor inititalizing Lists
|
Modifier and Type | Method and Description |
---|---|
List<SortingTechnique> |
getTechniques() |
boolean |
optimise(List<UtilityControl> utils,
List<UtilityControl> active,
List<UtilityControl> inactive)
Uses all utilities in utils and runs them through the sorting techniques.
|
void |
setTechniques(List<SortingTechnique> techniques)
Clears the List of techniques and sets the new ones in place.
|
public PricePredictionOptimisation()
public List<SortingTechnique> getTechniques()
public void setTechniques(List<SortingTechnique> techniques)
techniques
- public boolean optimise(List<UtilityControl> utils, List<UtilityControl> active, List<UtilityControl> inactive)
optimise
in interface Optimisation
utils
- List of all utilitiesactive
- Contains Utilities that should be activated after sortinginactive
- Contains Utilities that should be deactivated after
sortingCopyright © 2015. All rights reserved.