advanced.rst 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ..
  2. Copyright 2014 Modelling, Simulation and Design Lab (MSDL) at
  3. McGill University and the University of Antwerp (http://msdl.cs.mcgill.ca/)
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. Advanced examples
  14. =================
  15. In this section, we will continue using the model from the previous section wherever possible. We will extend it in several ways, each demonstrating another feature of the PyPDEVS simulator that will first be briefly explained. All examples are sorted based on complexity of both usage and implementation, but also with dependencies in mind.
  16. .. toctree::
  17. :maxdepth: 1
  18. Tracers <tracers_all>
  19. Reinitialisation <reinitialisation>
  20. Continuing a simulation <continuing>
  21. Minimal simulation kernel <minimal>
  22. Multiple Simulations <multisim>
  23. Transfer Functions <transferfunction>
  24. Dynamic Structure DEVS <dynamicstructure>
  25. Nesting <nesting>
  26. Realtime simulation <realtime>
  27. Listening to realtime simulation <listener>
  28. Cell tracing <celltracing>
  29. Custom scheduler <customscheduler>
  30. Distribution <distribution>
  31. Location-specific scheduler <locationscheduler>
  32. Random number generation <random>
  33. Distributed termination condition <distributedtermination>
  34. Checkpointing <checkpoint>
  35. Location tracking <location>
  36. Memoization <memoization>
  37. Manual relocation <relocation>
  38. Activity tracking <activity>
  39. Automatic relocation <activity_relocation>
  40. Activity visualisation <visualisation>
  41. Static allocator <staticallocator>
  42. Dynamic allocator <dynamicallocator>