<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compute_fov( self, x: int, y: int, radius: int = 0, light_walls: bool = True, algorithm: int = tcod.constants.FOV_RESTRICTIVE, ) -> None: """Compute a field-of-view on the current instance. Args: x (int):
 Point of view, x-coordinate. y (int):
 Point of view, y-coordinate. radius (int):
 Maximum view distance from the point of view. A value of `0` will give an infinite distance. light_walls (bool):
 Light up walls, or only the floor. algorithm (int):
 Defaults to tcod.FOV_RESTRICTIVE If you already have transparency in a NumPy array then you could use :any:`tcod.map_compute_fov` instead. """

        lib.TCOD_map_compute_fov(
            self.map_c, x, y, radius, light_walls, algorithm
        )