Beautiful imprints of time flow-open-source engineering CCS (Compute Cell System)

Source: Internet
Author: User

Preface:

Many professional trainers say they want to manage their time. However, I agree with Li xiaolai that time cannot be managed and will be transient. I think if God could manage his time well, then he would not have to create an Eve for Adam, and he would not have had it because God was too busy and time went, he didn't want to let time wait for him, so he had enough people to help manage the blue planet, so he simply wanted to find Eve and let them build it on their own.

Time cannot be touched, but changes can be used to perceive her existence. Time cannot be managed, and changes can only be used to follow the passage of time; time, length is different, they all come from a different mindset.


Project Description:

One N * N squares, each of which has two colors: Black and red). In the initial status, all the grids are black. Click one of them, the color of the clicked lattice and its upper, lower, and right grids changes to red in reverse color and black and red in black. In the end, the colors of N * N grids change to red.


References:

Seek beautiful pattern http://aiilive.blog.51cto.com/blog/1925756/1079762 in time Accumulation

Distributed Computing Service Machine Client Program Design http://aiilive.blog.51cto.com/blog/1925756/1079822

Java to generate N * N order square graph http://aiilive.blog.51cto.com/blog/1925756/1279213


Project objective:

MASTER:Simulate the clicking process on a computer and find N * N (N = 2, 3, 4, 5 ,.....) click conditions in the grid to generate an image and analyze the red and black grid distributions and symmetry in the image.

Times:Familiar with Java programming

The Java programming content involved is as follows::

Programming class:

Create and import packages

File Creation, operations, input and output, and image file generation

String format processing, type conversion, time processing, and mathematical tools

Attribute file operations, external file management, operations, system property calls

Call of control processes, methods, and Properties

Class creation, use

Method class:

Basic Methods of Object-Oriented Programming

Java object-oriented template Mode

Code refactoring, constants, methods, field extraction, etc.

Tool class:

Junit4.7 testing framework

Maven project management tools


Project Summary:

The primary and secondary goals are achieved.

Disadvantages: to use the CCS system to solve the N * N lattice problem, you need to configure the startup parameters, the format must be required, and the processing capability for non-rule configuration is insufficient; if N is larger, for example, 27,28 or greater, the operation takes longer and the result consumes more memory.

Engineering location: http://pan.baidu.com/share/link? Consumer id = 1987645702 & uk = 1829729516


Summary:

The implementation of the lattice computing system has not found a proper significance. It was written, deleted, and written in nearly a year, and the desktop APP operated by users was written in C, using JavaScript to write browser operations, such manual operations are nothing more than just a play. In order to find the meaning, it is found that as N increases, it takes more and more time for the computer to calculate the results. However, the calculation results have not been saved before and are not noticed, now, every valid computing result is retained in the form of log files and images, and beautiful things exist.

The following is an image generated when N = 25:

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/160Q5E16-0.png "title =" dis_25.png "data-pinit =" registered "/>


At the end of the day, time passes by, and the traces of every moment are noted down. There are countless advantages in winning the game. The same is true for programs and life.

This article is from the "wild horse red dust" blog and will not be reposted!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.