PyDiffGame 0.1.0__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. pydiffgame-0.1.2/.github/workflows/python-publish.yml +70 -0
  2. pydiffgame-0.1.2/CITATIONS.bib +23 -0
  3. pydiffgame-0.1.2/CODE_OF_CONDUCT.md +128 -0
  4. pydiffgame-0.1.2/CONTRIBUTING.md +18 -0
  5. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/LICENSE +1 -1
  6. {PyDiffGame-0.1.0/src/PyDiffGame.egg-info → pydiffgame-0.1.2}/PKG-INFO +65 -54
  7. PyDiffGame-0.1.0/PKG-INFO → pydiffgame-0.1.2/README.md +58 -61
  8. pydiffgame-0.1.2/_config.yml +10 -0
  9. {PyDiffGame-0.1.0 → pydiffgame-0.1.2/docs}/README.md +30 -32
  10. pydiffgame-0.1.2/images/Logo_ISTRC_Green_English.png +0 -0
  11. pydiffgame-0.1.2/images/logo.png +0 -0
  12. pydiffgame-0.1.2/images/logo_abc.png +0 -0
  13. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/pyproject.toml +13 -5
  14. pydiffgame-0.1.2/requirements.txt +6 -0
  15. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/src/PyDiffGame/ContinuousPyDiffGame.py +2 -2
  16. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/src/PyDiffGame/DiscretePyDiffGame.py +8 -9
  17. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/src/PyDiffGame/PyDiffGame.py +19 -12
  18. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/src/PyDiffGame/PyDiffGameLQRComparison.py +9 -10
  19. pydiffgame-0.1.2/src/PyDiffGame/examples/InvertedPendulumComparison.py +257 -0
  20. pydiffgame-0.1.2/src/PyDiffGame/examples/MassesWithSpringsComparison.py +218 -0
  21. pydiffgame-0.1.2/src/PyDiffGame/examples/PVTOL.py +222 -0
  22. pydiffgame-0.1.2/src/PyDiffGame/examples/PVTOLComparison.py +111 -0
  23. pydiffgame-0.1.2/src/PyDiffGame/examples/QuadRotorControl.py +548 -0
  24. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/2/2-players_large_1.png +0 -0
  25. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/2/2-players_large_2.png +0 -0
  26. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/2/LQR_large_1.png +0 -0
  27. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/2/LQR_large_2.png +0 -0
  28. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/2/two_masses_tikz.png +0 -0
  29. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/4/4-players_large_1.png +0 -0
  30. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/4/4-players_large_2.png +0 -0
  31. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/4/LQR_large_1.png +0 -0
  32. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/4/LQR_large_2.png +0 -0
  33. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/8/8-players_large_1.png +0 -0
  34. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/8/8-players_large_2.png +0 -0
  35. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/8/LQR_large_1.png +0 -0
  36. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/8/LQR_large_2.png +0 -0
  37. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL/PVTOL1.png +0 -0
  38. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL/PVTOL10.png +0 -0
  39. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL/PVTOL100.png +0 -0
  40. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL/PVTOL1000.png +0 -0
  41. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL0001.png +0 -0
  42. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL001.png +0 -0
  43. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL01.png +0 -0
  44. pydiffgame-0.1.2/src/PyDiffGame/examples/figures/PVTOL1.png +0 -0
  45. PyDiffGame-0.1.0/setup.cfg +0 -4
  46. PyDiffGame-0.1.0/setup.py +0 -26
  47. PyDiffGame-0.1.0/src/PyDiffGame.egg-info/SOURCES.txt +0 -15
  48. PyDiffGame-0.1.0/src/PyDiffGame.egg-info/dependency_links.txt +0 -1
  49. PyDiffGame-0.1.0/src/PyDiffGame.egg-info/top_level.txt +0 -1
  50. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/src/PyDiffGame/LQR.py +0 -0
  51. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/src/PyDiffGame/Objective.py +0 -0
  52. {PyDiffGame-0.1.0 → pydiffgame-0.1.2}/src/PyDiffGame/__init__.py +0 -0
@@ -0,0 +1,70 @@
1
+ # This workflow will upload a Python Package to PyPI when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name: Upload Python Package
10
+
11
+ on:
12
+ release:
13
+ types: [published]
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ release-build:
20
+ runs-on: ubuntu-latest
21
+
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+
25
+ - uses: actions/setup-python@v5
26
+ with:
27
+ python-version: "3.10"
28
+
29
+ - name: Build release distributions
30
+ run: |
31
+ # NOTE: put your own distribution build steps here.
32
+ python -m pip install build
33
+ python -m build
34
+
35
+ - name: Upload distributions
36
+ uses: actions/upload-artifact@v4
37
+ with:
38
+ name: release-dists
39
+ path: dist/
40
+
41
+ pypi-publish:
42
+ runs-on: ubuntu-latest
43
+ needs:
44
+ - release-build
45
+ permissions:
46
+ # IMPORTANT: this permission is mandatory for trusted publishing
47
+ id-token: write
48
+
49
+ # Dedicated environments with protections for publishing are strongly recommended.
50
+ # For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
51
+ environment:
52
+ name: pypi
53
+ # OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
54
+ url: https://pypi.org/project/PyDiffGame/
55
+ #
56
+ # ALTERNATIVE: if your GitHub Release name is the PyPI project version string
57
+ # ALTERNATIVE: exactly, uncomment the following line instead:
58
+ # url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
59
+
60
+ steps:
61
+ - name: Retrieve release distributions
62
+ uses: actions/download-artifact@v4
63
+ with:
64
+ name: release-dists
65
+ path: dist/
66
+
67
+ - name: Publish release distributions to PyPI
68
+ uses: pypa/gh-action-pypi-publish@release/v1
69
+ with:
70
+ packages-dir: dist/
@@ -0,0 +1,23 @@
1
+ @software{pydiffgame_package,
2
+ author = {Kricheli, Joshua Shay and Sadon, Aviran},
3
+ title = {{PyDiffGame}},
4
+ howpublished = {\url{https://krichelj.github.io/PyDiffGame/}},
5
+ year = {2021},
6
+ }
7
+
8
+ @inproceedings{pydiffgame_paper,
9
+ author={Kricheli, Joshua Shay and Sadon, Aviran and Arogeti, Shai and Regev, Shimon and Weiss, Gera},
10
+ booktitle={29th Mediterranean Conference on Control and Automation (MED 2021)},
11
+ title={{Composition of Dynamic Control Objectives Based on Differential Games}},
12
+ year={2021},
13
+ volume={},
14
+ number={},
15
+ pages={298-304},
16
+ doi={10.1109/MED51440.2021.9480269}}
17
+
18
+ @mastersthesis{kricheli2022differential,
19
+ title={{Differential Games for Compositional Handling of Competing Control Tasks}},
20
+ author={Kricheli, Joshua Shay},
21
+ year={2022},
22
+ school={Ben-Gurion University of the Negev}
23
+ }
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ .
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
@@ -0,0 +1,18 @@
1
+ # Contribution Guidelines
2
+
3
+ This repo is part of a research conducted at Ben Gurion University,
4
+ and is thus open source. We would love to receive your input!
5
+
6
+ Please ensure your pull request adheres to the following guidelines:
7
+
8
+ - Search previous suggestions before making a new one, as yours may be a duplicate.
9
+ - Make sure your link is useful before submitting.
10
+ - Make an individual pull request for each suggestion.
11
+ - New categories or improvements to the existing categorization are welcome.
12
+ - Check your spelling and grammar.
13
+ - Make sure your text editor is set to remove trailing whitespace.
14
+ - The pull request and commit should have a useful title.
15
+
16
+ Thank you for your suggestions!
17
+
18
+ Joshua Shay Kricheli
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021-2022 Joshua Shay Kricheli, Dr. Aviran Sadon, Dr. Shai Arogeti and Prof. Gera Weiss
3
+ Copyright (c) 2021-2024 Joshua Shay Kricheli, Dr. Aviran Sadon, Dr. Shai Arogeti and Prof. Gera Weiss
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,27 +1,29 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyDiffGame
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: PyDiffGame is a Python implementation of a Nash Equilibrium solution to Differential Games, based on a reduction of Game Hamilton-Bellman-Jacobi (GHJB) equations to Game Algebraic and Differential Riccati equations, associated with Multi-Objective Dynamical Control Systems
5
- Home-page: https://shaykricheli.com/PyDiffGame/
6
- Author: Dr. Aviran Sadon, Joshua Shay Kricheli and Prof. Gera Weiss
7
- Author-email: Joshua Shay Kricheli <skricheli2@gmail.com>
8
- Project-URL: Homepage, https://shaykricheli.com/PyDiffGame/
5
+ Project-URL: Homepage, https://krichelj.github.io/PyDiffGame/
9
6
  Project-URL: Bug Tracker, https://github.com/krichelj/PyDiffGame/issues
10
- Classifier: Programming Language :: Python :: 3
7
+ Author-email: Joshua Shay Kricheli <skricheli2@gmail.com>
8
+ License-File: LICENSE
11
9
  Classifier: License :: OSI Approved :: MIT License
12
10
  Classifier: Operating System :: OS Independent
13
- Requires-Python: >=3.7
11
+ Classifier: Programming Language :: Python :: 3
12
+ Requires-Python: >=3.10
14
13
  Description-Content-Type: text/markdown
15
- License-File: LICENSE
16
14
 
17
15
  <p align="center">
18
16
  <img alt="Logo" src="https://raw.githubusercontent.com/krichelj/PyDiffGame/master/images/logo.png"/>
19
17
  </p>
20
18
 
19
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Upload Python Package](https://github.com/krichelj/PyDiffGame/actions/workflows/python-publish.yml/badge.svg)](https://github.com/krichelj/PyDiffGame/actions/workflows/python-publish.yml) [![pages-build-deployment](https://github.com/krichelj/PyDiffGame/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/krichelj/PyDiffGame/actions/workflows/pages/pages-build-deployment)
20
+
21
+
21
22
  * [What is this?](#what-is-this)
22
- * [Local Installation](#local-installation)
23
+ * [Installation](#installation)
23
24
  * [Input Parameters](#input-parameters)
24
25
  * [Tutorial](#tutorial)
26
+ * [Authors](#authors)
25
27
  * [Acknowledgments](#acknowledgments)
26
28
 
27
29
  # What is this?
@@ -36,22 +38,13 @@ The method relies on the formulation given in:
36
38
  ([IEEE](https://ieeexplore.ieee.org/document/9480269) |
37
39
  [Research Gate](https://www.researchgate.net/publication/353452024_Composition_of_Dynamic_Control_Objectives_Based_on_Differential_Games))
38
40
 
39
- If you use this work, please cite our paper:
40
- ```
41
- @conference{med_paper,
42
- author={Kricheli, Joshua Shay and Sadon, Aviran and Arogeti, Shai and Regev, Shimon and Weiss, Gera},
43
- booktitle={29th Mediterranean Conference on Control and Automation (MED)},
44
- title={{Composition of Dynamic Control Objectives Based on Differential Games}},
45
- year={2021},
46
- pages={298-304},
47
- doi={10.1109/MED51440.2021.9480269}}
48
- ```
41
+ The package was tested for Python >= 3.10.
49
42
 
50
- # Local Installation
43
+ # Installation
51
44
 
52
- To clone Git repository locally run this from the command prompt:
45
+ To install this package run this from the command prompt:
53
46
  ```
54
- git clone https://github.com/krichelj/PyDiffGame.git
47
+ pip install PyDiffGame
55
48
  ```
56
49
 
57
50
  The package was tested for Python >= 3.10, along with the listed packages versions in [`requirments.txt`](https://github.com/krichelj/PyDiffGame/blob/master/requirements.txt)
@@ -61,34 +54,34 @@ The package was tested for Python >= 3.10, along with the listed packages versio
61
54
  The package defines an abstract class [`PyDiffGame.py`](https://github.com/krichelj/PyDiffGame/blob/master/src/PyDiffGame/PyDiffGame.py). An object of this class represents an instance of differential game.
62
55
  The input parameters to instantiate a `PyDiffGame` object are:
63
56
 
64
- * `A` : `np.array` of shape( $n,n$ )
57
+ * `A` : `np.array` of shape $(n,n)$
65
58
  >System dynamics matrix
66
- * `B` : `np.array` of shape( $n,\sum_{i=}1^N m_i$ ), optional
59
+ * `B` : `np.array` of shape $(n, m_1 + ... + m_N)$, optional
67
60
  >Input matrix for all virtual control objectives
68
- * `Bs` : `Sequence` of `np.array` objects of len( $N$ ), each array $B_i$ of shape( $n,m_i$ ), optional
61
+ * `Bs` : `Sequence` of `np.array` objects of len $(N)$, each array $B_i$ of shape $(n,m_i)$, optional
69
62
  >Input matrices for each virtual control objective
70
- * `Qs` : `Sequence` of `np.array` objects of len( $N$ ), each array $Q_i$ of shape( $n,n$ ), optional
63
+ * `Qs` : `Sequence` of `np.array` objects of len $(N)$, each array $Q_i$ of shape $(n,n)$, optional
71
64
  >State weight matrices for each virtual control objective
72
- * `Rs` : `Sequence` of `np.array` objects of len( $N$ ), each array $R_i$ of shape( $m_i,m_i$ ), optional
65
+ * `Rs` : `Sequence` of `np.array` objects of len $(N)$, each array $R_i$ of shape $(m_i,m_i)$, optional
73
66
  >Input weight matrices for each virtual control objective
74
- * `Ms` : `Sequence` of `np.array` objects of len( $N$ ), each array $M_i$ of shape( $m_i,m$ ), optional
67
+ * `Ms` : `Sequence` of `np.array` objects of len $(N)$, each array $M_i$ of shape $(m_i,m)$, optional
75
68
  >Decomposition matrices for each virtual control objective
76
- * `objectives` : `Sequence` of `Objective` objects of len( $N$ ), each $O_i$ specifying $Q_i, R_i$ and $M_i$, optional
69
+ * `objectives` : `Sequence` of `Objective` objects of len $(N)$, each $O_i$ specifying $Q_i, R_i$ and $M_i$, optional
77
70
  >Desired objectives for the game
78
- * `x_0` : `np.array` of len( $n$ ), optional
71
+ * `x_0` : `np.array` of len $(n)$, optional
79
72
  >Initial state vector
80
- * `x_T` : `np.array` of len( $n$ ), optional
73
+ * `x_T` : `np.array` of len $(n)$, optional
81
74
  >Final state vector, in case of signal tracking
82
75
  * `T_f` : positive `float`, optional
83
76
  >System dynamics horizon. Should be given in the case of finite horizon
84
- * `P_f` : `list` of `np.array` objects of len( $N$ ), each array $P_{f_i}$ of shape( $n,n$ ), optional, default = uncoupled solution of `scipy's solve_are`
77
+ * `P_f` : `list` of `np.array` objects of len $(N)$, each array $P_{f_i}$ of shape $(n,n)$, optional, default = uncoupled solution of `scipy's solve_are`
85
78
  >
86
79
  >Final condition for the Riccati equation array. Should be given in the case of finite horizon
87
- * `state_variables_names` : `Sequence` of `str` objects of len( $N$ ), optional
80
+ * `state_variables_names` : `Sequence` of `str` objects of len $(N)$, optional
88
81
  >The state variables' names to display when plotting
89
82
  * `show_legend` : `boolean`, optional
90
83
  >Indicates whether to display a legend in the plots
91
- * `state_variables_names` : `Sequence` of `str` objects of len( $n$ ), optional
84
+ * `state_variables_names` : `Sequence` of `str` objects of len $(n)$, optional
92
85
  >The state variables' names to display
93
86
  * `epsilon_x` : `float` in the interval $(0,1)$, optional
94
87
  >Numerical convergence threshold for the state vector of the system
@@ -109,7 +102,7 @@ Consider the following system of masses and springs:
109
102
 
110
103
 
111
104
  <p align="center">
112
- <img align=top src="src/PyDiffGame/examples/figures/2/two_masses_tikz.png" width="797" height="130"/>
105
+ <img align=top src="https://raw.githubusercontent.com/krichelj/PyDiffGame/master/src/PyDiffGame/examples/figures/2/two_masses_tikz.png" width="797" height="130"/>
113
106
  </p>
114
107
 
115
108
  The performance of the system under the use of the suggested method is compared with that of a Linear Quadratic Regulator (LQR). For that purpose, class named [`PyDiffGameLQRComparison`](https://github.com/krichelj/PyDiffGame/blob/master/src/PyDiffGame/PyDiffGameLQRComparison.py) is defined. A comparison of a system should subclass this class.
@@ -246,12 +239,11 @@ masses_with_springs(plot_state_spaces=True,
246
239
  save_figure=True)
247
240
  ```
248
241
 
249
- Refer
250
242
  This will result in the following plot that compares the two systems performance for a differential game vs an LQR:
251
243
 
252
244
  <p align="center">
253
- <img align=top src="src/PyDiffGame/examples/figures/2/2-players_large_1.png" width="400" height="300"/>
254
- <img align=top src="src/PyDiffGame/examples/figures/2/LQR_large_1.png" width="400" height="300"/>
245
+ <img align=top src="https://raw.githubusercontent.com/krichelj/PyDiffGame/master/src/PyDiffGame/examples/figures/2/2-players_large_1.png" width="400" height="300"/>
246
+ <img align=top src="https://raw.githubusercontent.com/krichelj/PyDiffGame/master/src/PyDiffGame/examples/figures/2/LQR_large_1.png" width="400" height="300"/>
255
247
  </p>
256
248
 
257
249
 
@@ -264,32 +256,51 @@ qs = [[500, 5000]]
264
256
  we have:
265
257
 
266
258
  <p align="center">
267
- <img align=top src="src/PyDiffGame/examples/figures/2/2-players_large_2.png" width="400" height="300"/>
268
- <img align=top src="src/PyDiffGame/examples/figures/2/LQR_large_2.png" width="400" height="300"/>
259
+ <img align=top src="https://raw.githubusercontent.com/krichelj/PyDiffGame/master/src/PyDiffGame/examples/figures/2/2-players_large_2.png" width="400" height="300"/>
260
+ <img align=top src="https://raw.githubusercontent.com/krichelj/PyDiffGame/master/src/PyDiffGame/examples/figures/2/LQR_large_2.png" width="400" height="300"/>
269
261
  </p>
270
262
 
263
+ # Authors
264
+
265
+ If you use this work, please cite our paper:
266
+ ```
267
+ @inproceedings{pydiffgame_paper,
268
+ author={Kricheli, Joshua Shay and Sadon, Aviran and Arogeti, Shai and Regev, Shimon and Weiss, Gera},
269
+ booktitle={29th Mediterranean Conference on Control and Automation (MED 2021)},
270
+ title={{Composition of Dynamic Control Objectives Based on Differential Games}},
271
+ year={2021},
272
+ volume={},
273
+ number={},
274
+ pages={298-304},
275
+ doi={10.1109/MED51440.2021.9480269}}
276
+ ```
277
+
278
+ Further details can be found in the [citation document](CITATIONS.bib).
271
279
 
272
280
  # Acknowledgments
273
281
 
274
- This research was supported in part by the Helmsley Charitable Trust through the Agricultural, Biological and Cognitive Robotics Initiative and by the Marcus Endowment Fund both at Ben-Gurion University of the Negev, Israel.
275
- This research was also supported by The Israeli Smart Transportation Research Center (ISTRC) by The Technion and Bar-Ilan Universities, Israel.
282
+ This research was supported in part by the Leona M. and Harry B. Helmsley Charitable Trust through the '_Agricultural, Biological and Cognitive Robotics Initiative_' ('ABC') and by the Marcus Endowment Fund both at Ben-Gurion University of the Negev, Israel.
283
+ This research was also supported by The '_Israeli Smart Transportation Research Center_' ('ISTRC') by The Technion and Bar-Ilan Universities, Israel.
276
284
 
277
285
  <p align="center">
278
- <a href="https://istrc.net.technion.ac.il/">
279
- <img src="images/Logo_ISTRC_Green_English.png" width="180" alt=""/>
280
- </a>
281
- &emsp;
282
- &emsp;
283
- &emsp;
286
+ <a href="https://istrc.net.technion.ac.il/">
287
+ <img src="https://github.com/krichelj/PyDiffGame/blob/master/images/Logo_ISTRC_Green_English.png?raw=true" width="233" alt=""/>
288
+ </a>
284
289
  &emsp;
285
290
  <a href="https://in.bgu.ac.il/en/Pages/default.aspx">
286
- <img src="images/BGU-logo-round.png" width="150" alt=""/>
291
+ <picture>
292
+ <source media="(prefers-color-scheme: dark)" srcset="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTZ8GbtJiX8lNUygX7-inRBuWESK438jWbRjQ&s">
293
+ <source media="(prefers-color-scheme: light)" srcset="https://tamrur.bgu.ac.il/restore/BGU.sig.png">
294
+ <img alt="BGU Logo" src="https://tamrur.bgu.ac.il/restore/BGU.sig.png" width="233" class="bgu-logo-dark">
295
+ </picture>
287
296
  </a>
288
297
  &emsp;
289
298
  &emsp;
290
- &emsp;
291
- &emsp;
292
- <a href="https://in.bgu.ac.il/en/robotics/Pages/default.aspx">
293
- <img src="images/logo_abc.png" width="180" alt=""/>
299
+ <a href="https://helmsleytrust.org/">
300
+ <picture>
301
+ <source media="(prefers-color-scheme: dark)" srcset="https://helmsleytrust.org/wp-content/themes/helmsley/assets/img/helmsley-charitable-trust-logo-white.png">
302
+ <source media="(prefers-color-scheme: light)" srcset="https://helmsleytrust.org/wp-content/themes/helmsley/assets/img/helmsley-charitable-trust-logo-blue.png">
303
+ <img alt="Helmsley Charitable Trust" src="https://helmsleytrust.org/wp-content/themes/helmsley/assets/img/helmsley-charitable-trust-logo-blue.png" width="233">
304
+ </picture>
294
305
  </a>
295
306
  </p>