vlcSim 0.6.2__tar.gz → 0.6.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vlcSim
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: Python Package of Event-Oriented Simulation for visible light communication
5
5
  License: MIT
6
6
  License-File: LICENSE.md
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "vlcSim"
3
- version = "0.6.2" # Placeholder, will be replaced by dynamic versioning
3
+ version = "0.6.3" # Placeholder, will be replaced by dynamic versioning
4
4
  description = "Python Package of Event-Oriented Simulation for visible light communication"
5
5
  authors = ["Danilo Bórquez-Paredes <danilo.borquez.p@uai.cl>"]
6
6
  license = "MIT"
@@ -30,7 +30,7 @@ See Also:
30
30
  For detailed documentation, visit the project repository or build the Sphinx docs.
31
31
  """
32
32
 
33
- __version__ = "0.6.2" # placeholder for poetry-dynamic-versioning
33
+ __version__ = "0.6.3" # placeholder for poetry-dynamic-versioning
34
34
 
35
35
  from .scene import *
36
36
  from .controller import *
@@ -360,7 +360,7 @@ class Controller:
360
360
  raise ValueError(
361
361
  "Receiver must have goalTime set before resuming connection."
362
362
  )
363
- if receiver.goalTime < receiver.timeActive + connection.AP.sliceTime:
363
+ if receiver.goalTime <= receiver.timeActive + connection.AP.sliceTime:
364
364
  return (
365
365
  Controller.nextStatus.FINISH,
366
366
  time + receiver.goalTime - receiver.timeActive,
@@ -900,9 +900,6 @@ class Simulator:
900
900
  next_status == Controller.nextStatus.RESUME
901
901
  or next_status == Controller.nextStatus.PAUSE
902
902
  ):
903
- connection.receiver.goalTime = self.__departure_variable.exponential(
904
- self.__mu
905
- )
906
903
  connection.allocated = True
907
904
  if next_status == Controller.nextStatus.RESUME:
908
905
  for pos in range(len(self.__events) - 1, -1, -1):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes