class
NodeA class representing a node to which a set of ranks are assigned.
Methods
- def add_rank(self, rank)
- def get_id(self) -> int
- Return node ID.
- def get_max_memory_usage(self) -> float
- Sum all memory usages for each rank to get the node memory usage.
- def get_number_of_ranks(self) -> int
- def get_ranks(self) -> typing.Set[int]