model + firm
This commit is contained in:
5
firm.py
5
firm.py
@@ -15,3 +15,8 @@ class FirmAgent(ap.Agent):
|
||||
|
||||
self.dct_product_is_disrupted = dict.fromkeys(list_product, False)
|
||||
self.dct_product_is_removed = dict.fromkeys(list_product, False)
|
||||
|
||||
def remove_edge_to_customer_if_removed(self, remove_product):
|
||||
t = self.firm_network.graph.out_edges(
|
||||
self.firm_network.positions[self], keys=True, data=True)
|
||||
print(t)
|
||||
|
||||
Reference in New Issue
Block a user