Ct changing
This commit is contained in:
parent
2dce79d5d7
commit
c21fdd1e51
4
env.py
4
env.py
|
@ -66,7 +66,7 @@ class Env(ap.Model):
|
||||||
self.t = 0
|
self.t = 0
|
||||||
|
|
||||||
def update_e_revenue(self):
|
def update_e_revenue(self):
|
||||||
self.e_revenue += 0.01 * self.e_revenue
|
self.e_revenue += 0.0027 * self.e_revenue
|
||||||
|
|
||||||
def step(self):
|
def step(self):
|
||||||
self.update_e_revenue()
|
self.update_e_revenue()
|
||||||
|
@ -90,7 +90,7 @@ class Env(ap.Model):
|
||||||
# self.picture_out()
|
# self.picture_out()
|
||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
if self.t >= 200:
|
if self.t >= 500:
|
||||||
self.running = False
|
self.running = False
|
||||||
self.stop()
|
self.stop()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue