The learning algorithm automatically calculates the correct weights (after n iterations) to solve the OR-problem.
Once the correct weights are found, they are no longer adjusted by the algorithm. If no learning rate is specified, it is set to 1 by default.
The following figure illustrates a possible separation function: