Skip to content

Instantly share code, notes, and snippets.

@thunderInfy
Created October 9, 2019 15:59
Show Gist options
  • Save thunderInfy/5cb5e0af08558db0ef417be63e2ecbbc to your computer and use it in GitHub Desktop.
Save thunderInfy/5cb5e0af08558db0ef417be63e2ecbbc to your computer and use it in GitHub Desktop.
#A class holding the properties of a location together
class location:
def __init__(self, req, ret):
self.α = req #value of lambda for requests
self.β = ret #value of lambda for returns
self.poissonα = poisson_(self.α)
self.poissonβ = poisson_(self.β)
#Location initialisation
A = location(3,3)
B = location(4,2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment