One word to replace "takes as input"

Rather then "process" or variant, I'd recommend accepts. Then map and algorithm are implicitly identified as inputs. Technically, you would be clearest by saying "accepts as inputs", but the meaning is clear in context.