Interface Parameterizable
- All Known Implementing Classes:
RandomMerger
,RandomPlacer
,SolarMerger
,SolarPlacer
public interface Parameterizable
Implementing classes provide and can accept different
Parameter
s. This can be seen as a supertype
to Algorithm
.- Author:
- Jannik
- See Also:
Algorithm.getParameters()
,Algorithm.setParameters(Parameter[])
-
Method Summary
Modifier and Type Method Description Parameter[]
getParameters()
Gets a list ofParameter
s this class provides.void
setParameters(Parameter[] parameters)
Provides a list ofParameter
s that should be accepted by the implementing class.
This setter should only be called if the implementing class is not currently executing something else.
-
Method Details
-
getParameters
Parameter[] getParameters()Gets a list ofParameter
s this class provides. They will be modified and returned to the class.- Returns:
- gets a list of Parameters this class provides.
- See Also:
Algorithm.getParameters()
-
setParameters
Provides a list ofParameter
s that should be accepted by the implementing class.
This setter should only be called if the implementing class is not currently executing something else.- Parameters:
parameters
- the parameters to be set.- See Also:
Algorithm.setParameters(Parameter[])
-