NCC Education Level 5 Diploma in Computing: Cellular Automata Project

Verified

Added on  2023/06/10

|8
|1030
|80
Project
AI Summary
Document Page
NCC Education Level 5
Diploma in Computing -
Analysis, Design and
Implementation
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Table of Contents
Introduction..............................................................................................................................2
Task - 1......................................................................................................................................2
1. Candidate Class List.....................................................................................................2
2. Additional Classes.........................................................................................................3
3. Class Diagram................................................................................................................3
Task - 2......................................................................................................................................4
1. Activity Diagram...........................................................................................................4
Task - 3......................................................................................................................................5
1. Use Case Diagram.........................................................................................................5
Task – 4.....................................................................................................................................5
1. Code Architecture.........................................................................................................5
Task – 5.....................................................................................................................................5
1. System Implementations...............................................................................................5
Conclusion.................................................................................................................................6
References.................................................................................................................................6
1
Document Page
Introduction
This project aims to generate a new iteration in the game of life cellular automata. The
cellular automata is the mathematical model’s family and it is utilized for exploring the
problems of emergence in the formal system. It is mainly categorized by utilizing a couple of
dimensional grid of the cells that are dead or live state. Grids are used to evaluate and
generate the simple rules to create the process of simple patterns and system within the grid.
Basically, the cellular automata works according to generate the grid, iterate the gird,
evaluate and displays the grid users. This project’s user need to write a program that can
permit the user to select between various kind of cellular automata and set the number of
cycles to run. Also, the users need to provide the following functionality of grid like, creating
parent cellular automata class, implementing television static cellular automata, game of life
CA and seeds of CA, creating random grid, creating system for grid evaluation, then utilizing
encapsulation and polymorphism. This project also contains activity diagram, use case
diagram and class diagram. All these diagrams are discussed and used.
Task - 1
1. Candidate Class List
The Candidate class list is shown below.
Classes Functionality
Cellular Automata Start a game
Grid Generate Grid
Seeds Implement Seeds
Dead Dead cell or state
Live Live cell or state
Cycles Set number of cycles
Parameters Set number of parameters
2. Additional Classes
The Additional Classes are shown below.
Classes Functionality
Random Grid Create and Implement the Random grid
2
Document Page
Dead Cell Evaluate the dead cell
Live Cell Evaluate the live cell
Dead State Evaluate the dead state
Live State Evaluate the live state
3. Class Diagram
Class diagram is attached below (Hadeler and Müller, 2017).
3
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Task - 2
1. Activity Diagram
Activity diagram is shown below (Li, 2011).
4
Document Page
Task - 3
1. Use Case Diagram
The use case diagram is shown below (Sirakoulis and Bandini, 2012).
Task – 4
1. Code Architecture
Software advancement is wearying and expensive. In best circumstances, one starts from
prerequisites planning, outlining, coding, sending, testing and then to support stage. Thus, it
shows the advancement of great programming. Apparently, prerequisites changing could
redirect from the complete process. The sellers of EHR are encounter this directly due to
changing the prerequisites of MU. This is a risk of outdated nature because of changes in
processing innovation, which might result in new prerequisites that modify the programming
cycle’s improvement.
5
Document Page
Coupling is characterized as the level of association among least a couple of classes,
modules, or parts. Tight coupling is terrible, and free coupling is great. Cohesion is
categorized as components of the module, class, or part cooperates as a useful unit. The high
cohesion is effective, and the low unit is awful. Where a module, class, or segment provides
only one/ single capacity or the firmly related arrangement of capacities, it is referred as a
perfect circumstance. Considering the methodology stated in the above section, it is observed
that it performs a couple of capacities. It agrees the SSNs, then it perform database inquiry.
All these are completely random activities and, along with these lines, the technique displays
low cohesion. Moving random capacities into their own particular units would be a decent
initial phase in enhancing the outline. One arrangement would make an information get to
module at that point taking all the database inquiries for the whole application, in one area.
Thus, structures would never again need to know anything about the database. As, any true
application would probably require approval for the scope of shape fields and it promises to
have one segment that even handles the approval.
Task – 5
1. System Implementations
Complete Java code is attached here.
Conclusion
This project successfully generates a new iteration of game of life cellular automata.
The cellular automata is mainly categorized with the help of a 2D (two dimensional) grid of
cells that are either dead or live. The grids are used to evaluate and generate simple rules to
create the process of simple patterns and system within the grid. This project’s user
successfully created the program that is used to permit the user to select between various kind
of cellular automata, and set the number of cycles to run. Also, the users are provided with
the following functionality of grid like, creating parent cellular automata class, implementing
television static cellular automata, game of life CA and seeds of CA, creating random grid,
creating system for grid evaluation then making use of encapsulation and polymorphism.
6
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
This project also successfully created the activity diagram, use case diagram and class
diagram.
References
Hadeler, K. and Müller, J. (2017). Cellular automata. Cham: Springer.
Li, T. (2011). Cellular automata. New York: Nova Science Publishers.
Sirakoulis, G. and Bandini, S. (2012). Cellular automata. Berlin: Springer.
7
chevron_up_icon
1 out of 8
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]