How can I more quickly render my array?
问题 I have been working on a nonogram solver in Java, and all of my algorithm works fine, but I have been struggling with the visualization a little bit. During the execution of the algorithm, I have access to two "solution-arrays". One is of type int[][] , and contains values -1 for "certainly white", 0 for "uncertain" and 1 for "certainly black". Another array is of type float[][] which contains values between 0 and 1 , here 0 is for certainly white, 1 is for certainly black and a value of .2