Python-ELMO is a Python library which offers an encapsulation of the binary tool ELMO, in order to manipulate it easily in Python and SageMath script.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

  1. class {{PROJECTCLASSNAME}}(SimulationProject):
  2. @classmethod
  3. def get_binary(cl):
  4. return 'project.bin'
  5. def __init__(self, *args, **kwargs):
  6. super().__init__(*args, **kwargs)
  7. def set_input(self, input):
  8. """ Write into the 'input' file of ELMO tool
  9. the parameters and the challenges for the simulation """
  10. super().set_input(input)
  11. def set_input_for_each_challenge(self, input, challenge):
  12. """ Write into the 'input' file of ELMO tool
  13. the 'challenge' for the simulation """
  14. super().set_input_for_each_challenge(input, challenge)