def pythoncode(self,directory,config=Configuration())
It is a method of the Schedule
object returned by computeSchedule
.
It generate Python code to implement the static schedule.
directory
: The directory where to generate the C++ filesconfig
: An optional configuration object
Optional arguments to pass to the Python version of the scheduler function
Name of custom header in generated Python code. If you use several scheduler, you may want to use different headers for each one.
Name of AppNodes header in generated Python code. If you use several scheduler, you may want to use different headers for each one.
Name of scheduler file in generated Python code. If you use several scheduler, you may want to use different headers for each one.
If the option is set to xxx
, the name generated will be xxx.py