Interface Parameterizable

All Known Subinterfaces:
Merger, Placer
All Known Implementing Classes:
RandomMerger, RandomPlacer, SolarMerger, SolarPlacer

public interface Parameterizable
Implementing classes provide and can accept different Parameters. 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 of Parameters this class provides.
    void setParameters​(Parameter[] parameters)
    Provides a list of Parameters 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 of Parameters 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

      void setParameters​(Parameter[] parameters)
      Provides a list of Parameters 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[])