GA.prototype.er = function() { var parent1 = this.tournamentSelect(this.k); var parent2 = this.tournamentSelect(this.k); var em = this.edgeMap(parent1.path, parent2.path); var p = this.minEdges(em, []); this.removeEdge(em, p); var path = [p]; for(var i=0; i 0) { for(var j=0; j