def __init__(self, mapstr, h, w, r, *args, **kwargs):
super().__init__(*args, **kwargs)<EOL>self.mapstr = mapstr<EOL>self.h = h<EOL>self.w = w<EOL>self.r = r<EOL>self.translator = BinaryIntTranslator()<EOL>self.maplist = mapstr_to_list(mapstr)<EOL>
Construct a new ``IrrigationGA`` instance.

Assumes chromosomes have 2 genes with binary DNA.

map:  ASCII map as a single string, 1 line per row
h:  height of ASCII crop map (number of rows)
w:  width of ASCII crop map (number of columns)
r:  how many cells away the sprinkler can reach
*args:  forwarded to BaseGeneticAlgorithm constructor
**kwargs:  forwarded to BaseGeneticAlgorithm constructor