Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/cca/raw-rev/6b149e6d8223
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 04:16:12 2012
Кодировка:

# HG changeset patch
# User darkhan
# Date 1292356366 -10800
# Node ID 6b149e6d8223d849682d3a72a987d93e5c7e6ac6
# Parent faa45a728871c716a642f27b1ddf9af0c8cd0f70
Automata -> automaton

diff -r faa45a728871 -r 6b149e6d8223 Help/Help.html
--- a/Help/Help.html Tue Dec 14 22:04:28 2010 +0300
+++ b/Help/Help.html Tue Dec 14 22:52:46 2010 +0300
@@ -15,41 +15,41 @@



- CCA - Cyclic celullar automata
+ CCA - Cyclic cellular automata



- CCA is cyclic celullar automata creation, editing and visualization tool.
+ CCA are cyclic cellular automata creation, editing and visualization tool.



- Cellular automata is a set of cells. Each cell can be in one of several possible states. Cell can change its state, according to state of neighbors of the cell. This process is determined by transition rules. Cyclic cellular automata is a kind of cellular automata, its set of states is a cycle, and cell changes its state to next one, according to cycle order. It works with 2-dimentional cyclic cellular automata with rectangular field. Transition rules should be defined through number of neighbors of the cell in same state. This program allows user to change number of cell`s states, order of states and transition rules for each state. Other options are automata step duration, scale of field, colors of cell in defferent states.
+ cellular automaton is a set of cells. Each cell can be in one of several possible states. Cell can change its state, according to state of neighbors of the cell. This process is determined by transition rules. Cyclic cellular automaton is a kind of cellular automaton, its set of states is a cycle, and cell changes its state to next one, according to cycle order. It works with 2-dimentional cyclic cellular automaton with rectangular field. Transition rules should be defined through number of neighbors of the cell in same state. This program allows user to change number of cell`s states, order of states and transition rules for each state. Other options are automaton step duration, scale of field, colors of cell in defferent states.




Window of the program





- Window of the program contains menubar, automata field and status line. Status line displays current size of field, automata status (running/paused), and speed as inverse value of delay between automata conditions in running state.
+ Window of the program contains menubar, automaton field and status line. Status line displays current size of field, automaton status (running/paused), and speed as inverse value of delay between automaton conditions in running state.



Menubar



- Menubar includes File, Action, Automata and Help items. File menu contains New, Open .., Save .. and Exit items.


-New creates new CCA progect with empty field and "Life" type of automata.

-Open .. allows to load automata from CAF file, that was created with this program.

-Save .. allows to save current automata in CAF file.

+ Menubar includes File, Action, Automaton and Help items. File menu contains New, Open .., Save .. and Exit items.


+New creates new CCA progect with empty field and "Life" type of automaton.

+Open .. allows to load automaton from CAF file, that was created with this program.

+Save .. allows to save current automaton in CAF file.

Exit finishes work of the program.



Action menu contains Start, Stop, Next step, Increase speed, Decrease speed, Zoom in, Zoom out, Clean field, Fill randomly and Change size items.


-Start switches automata to running state.

-Stop stops automata, if it is in running state.

-Next step places automata into next condition, stops automata, if it is in running state.

-Increase speed decreases delay between contitions of automata twofold while it is in running state.

-Decrease speed increases delay between contitions of automata twofold while it is in running state.

+Start switches automaton to running state.

+Stop stops automaton, if it is in running state.

+Next step places automaton into next condition, stops automaton, if it is in running state.

+Increase speed decreases delay between contitions of automaton twofold while it is in running state.

+Decrease speed increases delay between contitions of automaton twofold while it is in running state.

Zoom in increases size of cells.

Zoom out decreases size of cells.

-Clean field converts all cells in first state of automata list of states.

+Clean field converts all cells in first state of automaton list of states.

Fill randomly converts all cells in accidental state of states list with identical probabilities.

Change size opens change size window.


@@ -61,10 +61,10 @@
Change size window allows user to change size of the field on certain side. Side can be appointed through group of nine buttons. If choosen button side have no neighbor buttons, equal side of field will not be changed. New dimensions of field should be determinated through entry fields (X dimention x Y dimention).



- Automata item opens automata window. It contains list of states, group of buttons of changing states order in list and change/add state area, that includes tools for changing parameters of state. "Change" button changes choosen state and "Add" button adds new one. Each state should have name, unique symbol, color and unique key. Key is keyboard key, that simplify changing cells state to conformable state.
+ Automaton item opens automaton window. It contains list of states, group of buttons of changing states order in list and change/add state area, that includes tools for changing parameters of state. "Change" button changes choosen state and "Add" button adds new one. Each state should have name, unique symbol, color and unique key. Key is keyboard key, that simplify changing cells state to conformable state.



-
Automata window


+
Automaton window





diff -r faa45a728871 -r 6b149e6d8223 interface.py
--- a/interface.py Tue Dec 14 22:04:28 2010 +0300
+++ b/interface.py Tue Dec 14 22:52:46 2010 +0300
@@ -554,12 +554,12 @@
statusline.columnconfigure(2, weight=1)

automata_window = Toplevel(root)
-automata_window.title("Automata")
+automata_window.title("Automaton")
automata_window.withdraw()
automata_window.resizable(False, False)
automata_window.protocol("WM_DELETE_WINDOW", handlers.hide_automata_window)

-headline = Label(automata_window, text="Automata Panel", font=16)
+headline = Label(automata_window, text="Automaton Panel", font=16)
headline.pack(side="top",fill="both", expand="no")

Label(automata_window, text="State Box:").pack(side="top", fill="x")
@@ -778,7 +778,7 @@
menu_action.bind_all("", handlers.show_size_window)
menubar.add_cascade(label="Action", menu=menu_action)

-menubar.add_command(label="Automata", command=handlers.show_automata_window)
+menubar.add_command(label="Automaton", command=handlers.show_automata_window)

menubar.add_command(label="Help", command=handlers.show_help_window)