What is an algorithm? _ ?? Part Ο€ "Copying the Memory Hierarchy"

Patient Algorithm on the operating table. He is alive and well. So let's put the scalpel aside. We will study with the power of our thoughts.



Title



Task



" ?". β€” . "" . " " , , "" .



dog`s heart



, , - . , β€” . . . , , , , . .



, ( 1 "", 2 "", 3 "", 3.1 " "). .



.





"" ( ) : " () ". , , , β„–3.1 " ", , :



  • ,
  • ( ),
  • ,
  • OR AND
  • .


, , , . , , AND . , , - "", ( β„–1 ""), - .



, "". "" (" ") . () , . .



" ", , .



β€” , , , ( / ) . , , .



, . , :



  • , ;
  • (, , ), , , " ".


. ( , ). . β€” , .



, "", BASIC ( ASM) . ( ) , "-". " ", - .



Spaghetti code



. , "" "". , , . , Γ³ !



? ? ?



, ( ). . , . . ( ), . . .



( 2 ) . β„–1 , β„–2 ("" ). , . β„–1 ( -) " " . " " " " β„–2.



, β„–1 " ", " " , . "".



hierarchy prepare



, .



β„–
1 ("β„–1") ("β„–4") (" β„–3") ("β„–4") β‡’ (" β„–3"); (" β„–3") β‡’ ("β„–1")
2 ("β„–2") ("β„–5") (" β„–4") ("β„–5") β‡’ (" β„–4"); (" β„–4") => ("β„–2")
3 ("") - { ("β„–1") β†’ ("β„–2") } - ("β„–1") β‡’ ("β„–2") β‡’ ("")
4 -{ ("β„–1") β†’ ("β„–2") } -{ ("β„–1") β†’ ("β„–2") } (" β„–1") ("β„–1") β‡’ ("β„–2") β‡’ (" β„–1"); (" β„–1") β‡’ ("β„–1") β‡’ ("β„–2")
5 ("β„–1") ("β„–3") (" β„–2") ("β„–3") β‡’ (" β„–2); (" β„–2") => ("β„–1")


("β„–1") ("β„–2"). β„–3 , , ("β„–1") β†’ ("β„–2") (""). β„–4 - { ("β„–1") β†’ ("β„–2") } - , -{ ("β„–1") β†’ ("β„–2") }. β„–5 ("β„–1") ("β„–3").



. , :



  • ;
  • ;
  • - -.


( ) . . . β€” , (" "). "" ( "" ).



hierarchy



. . , , { (" β„–5") β‡’ (" β„–3") }. , ( -, -) .



, , :



  • ;
  • ;
  • "" .


, ( ) . , , , .



, ( ) . , , . .





, "" . , .



apple



, . , . . , , . . , . !



, . , β€” , () . ? , , .. .



β€” . -, , -, . :



  • ( 1) - - , , - ;
  • ( 2) - , -;
  • - 1 2 -.


, ( ) . , . , , . : " , ". , . , ( ) .





, , , ( ), , , . , , ( ). :



  • β€” ;
  • ( " -, ", );
  • , β€” , .


, . , . .



. { β‡’ }. - -?



-. β„–3 "" . . , -. , . - .



- . . .



. , , ...



end



.





, , .



, (, , ). , , . .





  • Open source (GPL) : ( wiki)
  • " ". , "-" 2019 : ( β„–0)
  • " ?! "( β„–1)
  • " ?! "( β„–2)
  • " ?! "( β„–3)
  • " ?! "( β„–3.1)
  • The basis of the illustrations for the article is taken from the 1988 film adaptation of Vladimir Bortko's story "Heart of a Dog" by Mikhail Afanasyevich Bulgakov
  • A sample demonstrating the manifestation of "herd feeling" is a reference to the TV series of the same name "Galileo"
  • The apple and "spaghetti code" drawings in this article were generated by the Wikipedia community. License ( Creative Commons Attribution-Share Alike 4.0 International )



All Articles