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

Method do_set_recovery

starrynet/cli.py:187–191  ·  view source on GitHub ↗

set a recovery of the damages at a certain time, which will be processed during emulation

(self, line)

Source from the content-addressed store, hash-verified

185 self.sn.set_damage(float(rest[0]), int(rest[1]))
186
187 def do_set_recovery(self, line):
188 "set a recovery of the damages at a certain time, which will be processed during emulation"
189 arg, args, line = self.parseline(line)
190 rest = line.split(' ')
191 self.sn.set_recovery(int(rest[0]))
192
193 def do_check_routing_table(self, line):
194 "list the routing table of a node at a certain time."

Callers

nothing calls this directly

Calls 1

set_recoveryMethod · 0.80

Tested by

no test coverage detected