class documentation

class Simulator:

Constructor: Simulator(r, clock, drop_rate)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method add_component Undocumented
Method freeze Undocumented
Method send_msg Undocumented
Method step Undocumented
Instance Variable buffer Undocumented
Instance Variable clock Undocumented
Instance Variable components Undocumented
Instance Variable drop_rate Undocumented
Instance Variable logs Undocumented
Instance Variable r Undocumented
Instance Variable time Undocumented
def __init__(self, r: Random, clock: StepClock, drop_rate: float = 0.15):

Undocumented

def add_component(self, component: Component):

Undocumented

def freeze(self) -> str:

Undocumented

def send_msg(self, addr: str, data: Any) -> Message:

Undocumented

def step(self):

Undocumented

buffer: list[Message] =

Undocumented

clock =

Undocumented

components: list[Component] =

Undocumented

drop_rate =

Undocumented

logs: list =

Undocumented

r =

Undocumented

time: float =

Undocumented