File:Red-black algorithm on square grid.svg
Summary
| Description |
English: The red-black algorithm can be used to parallelize serial algorithms such as successive over-relaxation (SOR). Each cell in the grid is colored red or black in a checkerboard pattern. This means that if we update the red grid values, all the neighbour values of the black grid are updated and vice versa. To solve the complete grid, we update each sublattice after the other in an alternating fashion. |
| Date | |
| Source | Own work |
| Author | Roninkoi |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.