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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

projectclass.py 627B

  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)