bridges 3.5.0.dev1__tar.gz → 3.5.0.dev2__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 (98) hide show
  1. {bridges-3.5.0.dev1/bridges.egg-info → bridges-3.5.0.dev2}/PKG-INFO +1 -1
  2. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/array1d.py +2 -2
  3. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/bar_chart.py +1 -1
  4. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/bin_tree_element.py +1 -1
  5. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/color.py +2 -2
  6. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/country.py +2 -2
  7. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/dl_element.py +1 -1
  8. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/graph_adj_list.py +7 -7
  9. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/graph_adj_matrix.py +1 -1
  10. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/grid.py +1 -1
  11. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/kd_tree_element.py +1 -1
  12. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/link_visualizer.py +1 -1
  13. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/ml_element.py +1 -1
  14. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/non_blocking_game.py +13 -13
  15. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/polyline.py +1 -1
  16. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/rectangle.py +1 -1
  17. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/sl_element.py +1 -1
  18. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/sorting_benchmark.py +2 -2
  19. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/symbol_collection.py +1 -1
  20. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/text.py +1 -1
  21. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/tree_element.py +1 -1
  22. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/world_map.py +7 -5
  23. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2/bridges.egg-info}/PKG-INFO +1 -1
  24. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/setup.py +1 -1
  25. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/LICENSE +0 -0
  26. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/MANIFEST.in +0 -0
  27. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/README.md +0 -0
  28. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/__init__.py +0 -0
  29. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/array.py +0 -0
  30. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/array2d.py +0 -0
  31. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/array3d.py +0 -0
  32. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/audio_channel.py +0 -0
  33. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/audio_clip.py +0 -0
  34. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/avl_tree_element.py +0 -0
  35. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/bfs_benchmark.py +0 -0
  36. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/blocking_game.py +0 -0
  37. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/bridges.py +0 -0
  38. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/bst_element.py +0 -0
  39. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/camera.py +0 -0
  40. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/circ_dl_element.py +0 -0
  41. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/circ_sl_element.py +0 -0
  42. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/circle.py +0 -0
  43. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/color_grid.py +0 -0
  44. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/connector.py +0 -0
  45. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/__init__.py +0 -0
  46. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/actor_movie_imdb.py +0 -0
  47. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/amenity.py +0 -0
  48. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/cancer_incidence.py +0 -0
  49. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/city.py +0 -0
  50. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/data_source.py +0 -0
  51. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/earthquake_usgs.py +0 -0
  52. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/elevation.py +0 -0
  53. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/game.py +0 -0
  54. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/gutenberg_book.py +0 -0
  55. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/gutenberg_meta.py +0 -0
  56. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/lru_cache.py +0 -0
  57. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/map_constants.py +0 -0
  58. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/movie_actor_wiki_data.py +0 -0
  59. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/osm.py +0 -0
  60. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/reddit.py +0 -0
  61. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/shakespeare.py +0 -0
  62. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/song.py +0 -0
  63. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/us_county.py +0 -0
  64. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/us_state.py +0 -0
  65. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/data_src_dependent/world_cities.py +0 -0
  66. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/edge.py +0 -0
  67. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/element.py +0 -0
  68. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/element_visualizer.py +0 -0
  69. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/game_cell.py +0 -0
  70. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/game_grid.py +0 -0
  71. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/gamebase.py +0 -0
  72. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/gamebase3D.py +0 -0
  73. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/graph_benchmark.py +0 -0
  74. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/input_helper.py +0 -0
  75. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/input_state_machine.py +0 -0
  76. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/keypress_listener.py +0 -0
  77. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/light.py +0 -0
  78. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/line_chart.py +0 -0
  79. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/map.py +0 -0
  80. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/mesh.py +0 -0
  81. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/named_color.py +0 -0
  82. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/named_symbol.py +0 -0
  83. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/non_blocking_game3D.py +0 -0
  84. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/page_rank_benchmark.py +0 -0
  85. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/particle_system.py +0 -0
  86. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/polygon.py +0 -0
  87. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/primitives.py +0 -0
  88. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/scene.py +0 -0
  89. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/shortest_path_benchmark.py +0 -0
  90. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/socket_connection.py +0 -0
  91. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/symbol.py +0 -0
  92. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/symbol_group.py +0 -0
  93. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges/us_map.py +0 -0
  94. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges.egg-info/SOURCES.txt +0 -0
  95. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges.egg-info/dependency_links.txt +0 -0
  96. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges.egg-info/requires.txt +0 -0
  97. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/bridges.egg-info/top_level.txt +0 -0
  98. {bridges-3.5.0.dev1 → bridges-3.5.0.dev2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bridges
3
- Version: 3.5.0.dev1
3
+ Version: 3.5.0.dev2
4
4
  Summary: Bridging Real-world Infrastructure Designed to Goal-align, Engage, and Stimulate, an NSF TUES
5
5
  Home-page: https://github.com/BridgesUNCC/bridges-python
6
6
  Author: BRIDGES
@@ -14,14 +14,14 @@ class Array1D(Array):
14
14
 
15
15
  Array1D has iterator semantic to enable range for loops. For instance,
16
16
 
17
- \code{java}
17
+ @code{java}
18
18
  arr = Array1D(3)
19
19
  arr[0] = Element("a")
20
20
  arr[1] = Element("b")
21
21
  arr[2] = Element("c")
22
22
  for el in arr:
23
23
  print(el.label)
24
- \endcode
24
+ @endcode
25
25
 
26
26
  Example Tutorial at: https://bridgesuncc.github.io/tutorials/Array.html (1D, 2D, and 3D Array)<br>
27
27
  """
@@ -114,7 +114,7 @@ class BarChart:
114
114
  return self._orientation
115
115
 
116
116
  @orientation.setter
117
- def orientation(self, orient) -> str:
117
+ def orientation(self, orient) -> None:
118
118
  """
119
119
  Sets orientation of the bar chart.
120
120
 
@@ -21,7 +21,7 @@ class BinTreeElement(TreeElement):
21
21
 
22
22
  @date 2018, 7/23/19, 1/6/21
23
23
 
24
- \sa Binary tree tutorial, https://bridgesuncc.github.io/tutorials/BinTree.html
24
+ @sa Binary tree tutorial, https://bridgesuncc.github.io/tutorials/BinTree.html
25
25
  """
26
26
 
27
27
  def __init__(self, **kwargs) -> None:
@@ -210,14 +210,14 @@ class Color(object):
210
210
  ValueError: if any of the RGBA values are outside of their respective range
211
211
 
212
212
  Examples:
213
- \code{.py}
213
+ @code{.py}
214
214
  my_color = Color("red") # equivalent to (255, 0, 0, 1.0)
215
215
  my_color.rgba(255, 0, 0, 1.0) # using rgba notation
216
216
  my_color = Color(r=255) # equivalent to (255, 0, 0, 1.0)
217
217
  my_color = Color(255, 0, 0) # equivalent to (255, 0, 0, 1.0)
218
218
  my_color = Color()
219
219
  my_color.red = 255 # equivalent to (255, 0, 0, 1.0)
220
- \endcode
220
+ @endcode
221
221
  """
222
222
  self._red = 0
223
223
  self._green = 0
@@ -2,12 +2,12 @@ from bridges.color import *
2
2
 
3
3
  class Country:
4
4
  """
5
- @brief his object stores a Country and links to information
5
+ @brief This object stores a Country and links to information
6
6
 
7
7
  This object is used alongside with the WorldMap object. Each country
8
8
  has a stroke color and fill color.
9
9
 
10
- See tutorial at https://bridgesuncc.github.io/tutorials/Map.html
10
+ See tutorial at https://bridgesuncc.github.io/tutorials/WorldMap.html
11
11
 
12
12
  @author Kalpathi Subramanian
13
13
  @date Last modified June 7, 2025
@@ -21,7 +21,7 @@ class DLelement(SLelement):
21
21
  @author Mihai Mehedint, Kalpathi Subramanian
22
22
  @date 2018, 6/24/19
23
23
 
24
- \sa Doubly Linked List tutorial : https://bridgesuncc.github.io/tutorials/DoublyLinkedList.html
24
+ @sa Doubly Linked List tutorial : https://bridgesuncc.github.io/tutorials/DoublyLinkedList.html
25
25
  """
26
26
 
27
27
 
@@ -25,24 +25,24 @@ class GraphAdjList:
25
25
  returned by getVertex(), and edges are styled from a LinkVisualizer
26
26
  one can access through getLinkVisualizer(). Here is a simple example:
27
27
 
28
- \code{java}
28
+ @code{java}
29
29
  graph = GraphAdjList()
30
30
  graph.add_vertex("a");
31
31
  graph.add_vertex("b");
32
32
  graph.add_edge("a", "b");
33
33
  graph.get_vertex("a").set_shape("square");
34
34
  graph.get_link_visualizer("a", "b").set_color("yellow");
35
- \endcode
35
+ @endcode
36
36
 
37
37
  Adjacency lists are singly linked lists using the BRIDGES
38
38
  SLelement. Iterators are provided for easy traversal of the
39
39
  adjacency lists. For instance,
40
40
 
41
- \code{java}
41
+ @code{java}
42
42
  graph = GraphAdjList()
43
43
  for (e : graph.out_going_edge_set_of("a"))
44
44
  print("a -> "+e.tov());
45
- \endcode
45
+ @endcode
46
46
 
47
47
  Graphs can have their nodes and links affected by visual attributes. Nodes
48
48
  can have color, size, opacity and shape and detailed in the ElementVisualizer
@@ -50,7 +50,7 @@ class GraphAdjList:
50
50
  detailed in the LinkVisualizer class. Element and link attributes are set
51
51
  using the get_visualizer() and get_link_visualizer() methods. For instance,
52
52
 
53
- \code{java}
53
+ @code{java}
54
54
  GraphAdjList graph = something();
55
55
  graph.add_vertex("baskin");
56
56
  graph.add_vertex("robins");
@@ -59,13 +59,13 @@ class GraphAdjList:
59
59
  graph.get_visualizer().set_shape("square");
60
60
  graph.get_link_visualizer("baskin", "robins").set_color("green");
61
61
  graph.get_link_visualizer("baskin", "robins").set_opacity("0.5f");
62
- \endcode
62
+ @endcode
63
63
 
64
64
 
65
65
  @author Matthew Mcquaigue, Kalpathi Subramanian
66
66
  @date 2018, 7/23/19, 1/5/21
67
67
 
68
- \sa graph adjacency list tutorial, https://bridgesuncc.github.io/tutorials/Graph.html
68
+ @sa graph adjacency list tutorial, https://bridgesuncc.github.io/tutorials/Graph.html
69
69
 
70
70
  There are two visualization engines available for graph. The small
71
71
  graph visualization supports all attributes of vertices and edges
@@ -27,7 +27,7 @@ class GraphAdjMatrix():
27
27
  @author Kalpathi Subramanian, Mihai Mehedint
28
28
 
29
29
 
30
- \sa Example tutorial at https://bridgesuncc.github.io/tutorials/Graph_AM.html
30
+ @sa Example tutorial at https://bridgesuncc.github.io/tutorials/Graph_AM.html
31
31
 
32
32
  """
33
33
 
@@ -8,7 +8,7 @@ class Grid:
8
8
 
9
9
  @date 2018, 7/24/19, 2021
10
10
 
11
- \sa Color grid tutorial at https://bridgesuncc.github.io/tutorials/Grid.html
11
+ @sa Color grid tutorial at https://bridgesuncc.github.io/tutorials/Grid.html
12
12
  """
13
13
  import traceback
14
14
 
@@ -17,7 +17,7 @@ class KDTreeElement(BSTElement):
17
17
  @author Kalpathi Subramanian, Matthew McQuaigue
18
18
  @date 12/26/18, 7/23/19
19
19
 
20
- \sa Kd Tree tutorial, https://bridgesuncc.github.io/tutorials/KdTree.html
20
+ @sa Kd Tree tutorial, https://bridgesuncc.github.io/tutorials/KdTree.html
21
21
  """
22
22
  def __init__(self, **kwargs):
23
23
  """
@@ -30,7 +30,7 @@ class LinkVisualizer():
30
30
 
31
31
  @date 2018, 6/24/19
32
32
 
33
- \sa Example Tutorial at <br>
33
+ @sa Example Tutorial at <br>
34
34
  https://bridgesuncc.github.io/tutorials/SinglyLinkedList.html
35
35
  """
36
36
 
@@ -28,7 +28,7 @@ class MLelement(SLelement):
28
28
 
29
29
  @date 2018, 7/23/19, 2021
30
30
 
31
- \sa There is a tutorial about Multi Lists : https://bridgesuncc.github.io/tutorials/MultiList.html
31
+ @sa There is a tutorial about Multi Lists : https://bridgesuncc.github.io/tutorials/MultiList.html
32
32
  """
33
33
 
34
34
  def __init__(self, **kwargs) -> None:
@@ -45,11 +45,11 @@ class NonBlockingGame(GameBase):
45
45
  provided by NamedColor.
46
46
 
47
47
  For instance, a very simple initialize() could look like:
48
- \code{.py}
48
+ @code{.py}
49
49
  def initialize():
50
50
  set_bg_color(0, 0, NamedColor.lightsalmon);
51
51
  draw_symbol(0, 0, NamedSymbol.sword, NamedColor.blue);
52
- \endcode
52
+ @endcode
53
53
 
54
54
  Note that the size of the board is set by default
55
55
  at 10x10 and that drawing on a cell that does not
@@ -65,9 +65,9 @@ class NonBlockingGame(GameBase):
65
65
  rows and 64 columns can be created defining the
66
66
  my_game constructor as:
67
67
 
68
- \code{.py}
68
+ @code{.py}
69
69
  my_game = NonBlockingGame (1, "myuserid", "myapikey", 16, 64)
70
- \endcode
70
+ @endcode
71
71
 
72
72
  The bridges game engine will call the GameLoop()
73
73
  function at each frame of the game. You can write
@@ -76,10 +76,10 @@ class NonBlockingGame(GameBase):
76
76
  the following GameLoop() will color the board
77
77
  randomly one cell at a time.
78
78
 
79
- \code{.py}
79
+ @code{.py}
80
80
  def game_loop():
81
81
  set_BG_Color(rand()%10, rand()%10, NamedColor.lightsalmon);
82
- \endcode
82
+ @endcode
83
83
 
84
84
  The gameLoop can also probe the state of some keys
85
85
  of the keyboard using functions key_up(), key_left(),
@@ -90,11 +90,11 @@ class NonBlockingGame(GameBase):
90
90
  following code will only color the board randomly
91
91
  when the up arrow is pressed.
92
92
 
93
- \code{.py}
93
+ @code{.py}
94
94
  def game_loop():
95
95
  if key_up():
96
96
  set_bg_color(rand()%10, rand()%10, NamedColor.lightsalmon);
97
- \endcode
97
+ @endcode
98
98
 
99
99
  The previous way will have an action executed at each
100
100
  frame of the game if the key stays pressed. This
@@ -108,14 +108,14 @@ class NonBlockingGame(GameBase):
108
108
  keys that are recognized by Bridges. See the
109
109
  following code for a simple usage:
110
110
 
111
- \code{.py}
111
+ @code{.py}
112
112
  def initialize() override:
113
113
  keyUpSetupFire(20);
114
114
 
115
115
  gameLoop():
116
116
  if (keyUpFire()): # will only be true once every 20 frames
117
117
  setBGColor(rand()%10, rand()%10, NamedColor.lightsalmon);
118
- \endcode
118
+ @endcode
119
119
  Bridges supports a third way to use inputs that
120
120
  enables you to know the first frame a key is
121
121
  pressed and the first frame a key is no longer
@@ -128,7 +128,7 @@ class NonBlockingGame(GameBase):
128
128
  keyUpStillNotPressed(). The following code
129
129
  examplifies the usage of these functions.
130
130
 
131
- \code{.py}
131
+ @code{.py}
132
132
  gameLoop():
133
133
  if (keyUpJustPressed()):
134
134
  setBGColor(0, 0, NamedColor.lightsalmon);
@@ -138,12 +138,12 @@ class NonBlockingGame(GameBase):
138
138
  setBGColor(0, 2, NamedColor.lightsalmon);
139
139
  if (keyUpStillNotPressed()):
140
140
  setBGColor(0, 3, NamedColor.lightsalmon);
141
- \endcode
141
+ @endcode
142
142
 
143
143
  @author Erik Saule
144
144
  @date 7-21-19, 1-12-23
145
145
 
146
- \sa NonBlockingGame tutorial at: https://bridgesuncc.github.io/tutorials/NonBlockingGame.html
146
+ @sa NonBlockingGame tutorial at: https://bridgesuncc.github.io/tutorials/NonBlockingGame.html
147
147
  """
148
148
  def __init__(self, assid, login, apikey, rows, cols, debug=False):
149
149
  super(NonBlockingGame, self).__init__(assid, login, apikey, rows, cols, debug)
@@ -13,7 +13,7 @@ class Polyline(Symbol):
13
13
 
14
14
  @date 2018, 7/23/19, 1/2/21
15
15
 
16
- \sa Shape collection tutorial, https://bridgesuncc.github.io/tutorials/Symbol_Collection.html
16
+ @sa Shape collection tutorial, https://bridgesuncc.github.io/tutorials/Symbol_Collection.html
17
17
  """
18
18
 
19
19
  def __init__(self, pts = None):
@@ -11,7 +11,7 @@ class Rectangle(Symbol):
11
11
  @author Matthew Mcquaigue
12
12
  @date 2018, 7/23/19
13
13
 
14
- \sa Shape collection tutorial, https://bridgesuncc.github.io/tutorials/Symbol_Collection.html
14
+ @sa Shape collection tutorial, https://bridgesuncc.github.io/tutorials/Symbol_Collection.html
15
15
 
16
16
  """
17
17
 
@@ -23,7 +23,7 @@ class SLelement(Element):
23
23
  @author Matthew Mcquaigue
24
24
  @date 2018, 6/24/19, 2021
25
25
 
26
- \sa Singly Linked List tutorial : https://bridgesuncc.github.io/tutorials/SinglyLinkedList.html
26
+ @sa Singly Linked List tutorial : https://bridgesuncc.github.io/tutorials/SinglyLinkedList.html
27
27
  """
28
28
 
29
29
  def __init__(self, **kwargs) -> None:
@@ -22,13 +22,13 @@ class SortingBenchmark:
22
22
 
23
23
  sorting algorithms can be passed to the run function for being benchmarked. A typical use would look something like
24
24
 
25
- \code{.py}
25
+ @code{.py}
26
26
  def mysort(int array, int arraysize)
27
27
  lc = LineChart();
28
28
  sb SortingBenchmark(lc);
29
29
  sb.linear_range (100, 1000, 5);
30
30
  sb.run("mysortingalgorithm", mysort);
31
- \endcode
31
+ @endcode
32
32
 
33
33
  @author Erik Saule
34
34
  @date 07/20/2019
@@ -9,7 +9,7 @@ class SymbolCollection:
9
9
 
10
10
  @date 2018, 7/23/19
11
11
 
12
- \sa Symbol Collection tutorial,
12
+ @sa Symbol Collection tutorial,
13
13
  https://bridgesuncc.github.io/tutorials/Symbol_Collection.html
14
14
  """
15
15
  def __init__(self):
@@ -10,7 +10,7 @@ class Text(Symbol):
10
10
  @author Matthew Mcquaigue, Erik Saule
11
11
  @date 7/18/22 (last modified)
12
12
 
13
- @\sa Symbol Collection tutorial :
13
+ @sa Symbol Collection tutorial :
14
14
  http://bridgesuncc.github.io/tutorials/Symbol_Collection.html
15
15
  """
16
16
  def __init__(self, label = None):
@@ -27,7 +27,7 @@ class TreeElement(Element):
27
27
  @author Matthew McQuaigue
28
28
 
29
29
  @date 2018, 7/23/19
30
- \sa Kd tree tutorial https://bridgesuncc.github.io/tutorials/KdTree.html
30
+ @sa Kd tree tutorial https://bridgesuncc.github.io/tutorials/KdTree.html
31
31
  """
32
32
 
33
33
  QUOTE = "\""
@@ -1,5 +1,6 @@
1
1
  from bridges.map import *
2
2
  import json
3
+ from bridges.data_src_dependent.country import Country
3
4
 
4
5
  class WorldMap(Map):
5
6
  """
@@ -8,7 +9,7 @@ class WorldMap(Map):
8
9
 
9
10
  In the current implementation, we can draw a World map with all
10
11
  country boundaries, or specify a set of countries and display the
11
- country* boundaries.
12
+ country boundaries.
12
13
 
13
14
  Functions are provided to access each country county and color
14
15
  its boundary, its interior using stroke and fill color
@@ -19,7 +20,7 @@ class WorldMap(Map):
19
20
  subdivisions, such as discticts, states, regions, counties, etc.
20
21
 
21
22
  See the Maps tutorials for examples of the usage of the World Map API
22
- at https://bridgesuncc.github.io/tutorials/Map.html
23
+ at https://bridgesuncc.github.io/tutorials/WorldMap.html
23
24
 
24
25
  Authors: Kalpathi Subramanian
25
26
  Last modified : May 22, 2025
@@ -89,17 +90,18 @@ class WorldMap(Map):
89
90
  self._countries = countries
90
91
 
91
92
  @property
92
- def countries(self):
93
+ def countries(self) -> list[Country]:
93
94
  '''
94
95
  Returns a list of country objects
95
96
  '''
96
97
  return self._countries
97
98
 
98
99
  @countries.setter
99
- def countries(self, countries):
100
+ def countries(self, countries: list[Country]):
100
101
  '''
101
102
  value: a list of country objects
102
103
  '''
103
- self._all = True
104
+ if countries is not None:
105
+ self._all = False
104
106
  self._countries = countries
105
107
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bridges
3
- Version: 3.5.0.dev1
3
+ Version: 3.5.0.dev2
4
4
  Summary: Bridging Real-world Infrastructure Designed to Goal-align, Engage, and Stimulate, an NSF TUES
5
5
  Home-page: https://github.com/BridgesUNCC/bridges-python
6
6
  Author: BRIDGES
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="bridges",
8
- version="3.5.0-dev1",
8
+ version="3.5.0-dev2",
9
9
  author="BRIDGES",
10
10
  author_email="bridges.uncc@gmail.com",
11
11
  description="Bridging Real-world Infrastructure Designed to Goal-align, Engage, and Stimulate, an NSF TUES",
File without changes
File without changes
File without changes
File without changes