def get_max_size(self, width, height, strength=medium, weight=0.1):
        if not self._initialized:
            raise RuntimeError('Get max size on uninitialized solver')
        max_val = 2**24 - 1 # Arbitrary, but the max allowed by Qt.
        values = [(width, max_val), (height, max_val)]
        with self._solver.suggest_values(values, strength, weight):
            max_width = width.value
            max_height = height.value
        width_diff = abs(max_val - int(round(max_width)))
        height_diff = abs(max_val - int(round(max_height)))
        if width_diff <= 1:
            max_width = -1
        if height_diff <= 1:
            max_height = -1
        return (max_width, max_height)
What should happen to the player everytime the world ticks.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/layout/layout_manager.py/LayoutManager.get_max_size--crossover with--dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/player.py/Player.do_tick