Study Record

How to realize EEC (Part 2)

After about 10 hour’s thinking, I got this:

 

 

Static Data

Dynamic Data

RNA of Creature

(SR1) Heredity regulars

(DR1) data in register

(SR2) List of Codon

(DR2) RNA codes

Environment

(SE1) Ev constant

(DE1) Ev Dynamic Data

(SE2) Ev regulars

(DE2) Creature’s Ev Data

 

 

Before we continue, I want to emphasize one thing: we must build a model, which can adopt many “world” (as many as possible). And the model must simple enough, or we can’t make it.(as simple as possible).  Universal <==>Simple

 

See a graph:

 

It shows the relations between “~or”(SR2 Editor, RNA&DE Editor, RNA translator and Environment Processor) and data (SR2, SE, DE and DR). Each line means the information flow from arrowfoot to arrowhead.

It’s really beautiful, is it?

 

 

Arithmetic frame:

 

unit SR2;

type

  //structure of DR1

 

  //structure of DR2(RNA)

 

var

 

begin

 

  Case DR2 of

  000000(AAA):

        begin

         

        end;

  000001(AAU):

        begin

         

        end;

 

  end;

end.

 

unit Environment Processor;

 

function SR1;

 

program Main (Output);

uses SR2 (List of Codon) , Environment Processor;

type

  creature = record

               RNA:array[1..10000] of byte; //DR2

                                         //DE2 

             end;

  things1 = record

              

            end;

 

 

var

  creatures : array[1..10000] of creature;

  thing1s   : array[1..100] of thing1;

 

 

const

 

  SE1 = …

 

 

begin

  //Initialize data

  RNA&DE Editor;

  repeat

    repeat

      Environment Processor;

{

      1. Process every rules in the world (only in one unit time).

2. Process each Creature’s action.

          If the action is “breed”, uses SR1 function;

}

      RNA translator;

{

       For each creature

       begin

          put DR1 in memory;

          for Num_process (How many nucleotides translate In one unit time, decided by SR2)

          begin

            according to SR2 & RNA, translate RNA->Pascal Code, and run it.

          end;

          memory write into DR1

       end;

}

      DE viewer (inside RNA&DE Editor);

    until PAUSE;

    RNA&DE Editor;

  until EXIT;

end.

 

 

NOTE: The frame shows how whole system works. Inspire we only have one thread in it, we simulate multi-thread running. Actually, not only RNA translator and Environment Processor work independently. But also every creature translates their RNA-Pr and every thing in the world move at one time! So multi-thread is very important, But I just have one computer, which only has one CPU, what can I do? Is there something different between use multi-thread programs in my computer and simulate multi-thread?

… May be I should use network in Part III?

 

Advertisements
This entry was posted in E2 research. Bookmark the permalink.

3 Responses to Study Record

  1. King says:

    let me try to understand u,
    DE2(Creature\’s Enviroment Data) are Pascal codes?
    or the next step —- SE2(Enviroment Data) are Pascal codes?
    if so, what is DE2 then?

  2. King says:

    i think u should draw a more detailed figure.
    seperate DE, SE, DR into DE, DE2 etc.

  3. ChaosConst says:

    I show you some:
     
    DE2 is a lot of 011011101101…
    you know that, pascal code is a container to define what these number mean.
     
    DE2 is some number, according to pascal code like:
     
    tank = record
                position:array[1..2] of integer;
                HP      : real;
                …
              end;
     
    we can say that DE2 is both some pascal code and a lot of numbers.
     
    SE2 is pascal code . like:
       if tank[n].hp <0 then tank.die;
     
    DE2, DE2 is signifcant information, We put so much energy on it:
    IT MUST BE NUMBERS!!
     
    RNA is 01010100010001111010111010101~ or AUGUCUCAU~
    it can be translated to pascal code unit.
     
    After my models and first entity program come out, you can see them by your eyes.
    soon… I hope…
     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s