output_yield change2
This commit is contained in:
2
env.py
2
env.py
@@ -111,7 +111,7 @@ class Env(ap.Model):
|
||||
self.out_f_avg_profit = sum(lst_profit) / n_firms
|
||||
self.out_f_gini_profit = self.gini(lst_profit)
|
||||
# self.out_w_percent_hired = n_hired / n_workers
|
||||
self.out_f_avg_yield = sum(lst_a_yield)
|
||||
self.out_f_avg_yield = sum(lst_a_yield) / n_firms
|
||||
|
||||
self.record('out_w_avg_salary')
|
||||
self.record('out_f_avg_yield')
|
||||
|
||||
Reference in New Issue
Block a user