MCPcopy Create free account
hub / github.com/SpaceNetLab/StarryNet / set_damage

Method set_damage

starrynet/sn_synchronizer.py:192–194  ·  view source on GitHub ↗
(self, damaging_ratio, time_index)

Source from the content-addressed store, hash-verified

190 return ip_list
191
192 def set_damage(self, damaging_ratio, time_index):
193 self.damage_ratio.append(damaging_ratio)
194 self.damage_time.append(time_index)
195
196 def set_recovery(self, time_index):
197 self.recovery_time.append(time_index)

Callers 2

example.pyFile · 0.80
do_set_damageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected