This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:nsano:portfolio:trinaryresearch [2013/05/02 19:05] – nsano | user:nsano:portfolio:trinaryresearch [2014/09/23 17:49] (current) – [Ternary logical not gate] Nsano | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Trinary | + | =====Ternary |
- | This is a Concept i been messing with in my free time for about 3 semesters and is the idea of what i think trinary | + | This is a Concept i been messing with in my free time for about 3 semesters and is the idea of what i think ternary |
====== Research ====== | ====== Research ====== | ||
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
* [[http:// | * [[http:// | ||
- | ====== | + | ====== |
- | Trinary | + | Ternary |
- | possible | + | possible |
A | A | ||
B | B | ||
Line 23: | Line 23: | ||
Part 0x0 | Part 0x0 | ||
- | The idea i am working on is not one output for every input, | + | The idea I am working on is not one output for every input, |
but two outputs for every input | but two outputs for every input | ||
Line 70: | Line 70: | ||
Possible single Tryte | Possible single Tryte | ||
---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ||
- | AAA|BBB|CCC | + | AAA|BBB|CCC\\ |
- | AAB|BBA|CCA | + | AAB|BBA|CCA\\ |
- | AAC|BBC|CCB | + | AAC|BBC|CCB\\ |
- | ABA|BAB|CAC | + | ABA|BAB|CAC\\ |
- | ACA|BCB|CAB | + | ACA|BCB|CAB\\ |
- | ABB|BAA|CBA | + | ABB|BAA|CBA\\ |
- | ABC|BAC|CBC | + | ABC|BAC|CBC\\ |
- | ACA|BCC|CAA | + | ACA|BCC|CAA\\ |
- | ACB|BCA|CBB | + | ACB|BCA|CBB\\ |
ACC| | | ACC| | | ||
Some may be missing | Some may be missing | ||
+ | |||
+ | part 1x0 | ||
+ | |||
+ | A new concept nearly 2 years later how would a system denote a binary versus a trinary program execution and how it would run | ||
+ | |||
+ | the simplest idea is the file extension once its been written such as exe for a windows executable | ||
+ | the ternary system would see exe and say binary where say it would see tex such as tinary executable and would say execute as a ternary program | ||
+ | |||
+ | : | ||
+ | |||
+ | example 1x0 | ||
+ | |||
+ | steam.exe versus steam.tex | ||
+ | |||
+ | steam.exe will have a Ternary notation in how to process which would be a A followed by the next two bits represented by B or C for simplicity if a double A is found it will denote end of command or input and a will be follow by a extension either A B or C telling what it will pull next | ||
+ | |||
+ | steam.tex will run as stated above with one input and one or 2 outputs depending on the sequence of the input | ||
+ | |||
+ | part 1x1 | ||
+ | |||
+ | binary ternary comparison\\ | ||
+ | |||
+ | given an exe will denote a binary executable\\ | ||
+ | |||
+ | A will begin each set of 2 bits and will run 5 tryte at a time to get a full byte this will continue to run untill it denotes a double AA at the beginning of a tryte and the 3rd trinary integer will denote pull next, stop, or repeat as in A pull next, B stop, or C repeat previous input process.\\ | ||
+ | |||
+ | 1x1 example\\ | ||
+ | |||
+ | for this example let B = 1 and C = 0\\ | ||
+ | |||
+ | ABC in binary running in ternary would display 10\\ | ||
+ | ACB in binary running in ternary would display 01\\ | ||
+ | ABB in binary running in ternary would display 11\\ | ||
+ | ACC in binary running in ternary would display 00\\ | ||
+ | |||
+ | so take the previous 4 Trytes and display binary in sqeuence with a AA followed by a B in 5th tryte\\ (thrid Ternary integer is a B denoting stop) so if we pull a\\ | ||
+ | ABCACBABBACCAAB : 10011100 \\ | ||
+ | in binary and to spread it out to make it more readable we would see\\ | ||
+ | ABC ACB ABB ACC AAB : 10 01 11 00\\ | ||
+ | if we break it down farther we would get\\ | ||
+ | ABC : 10\\ | ||
+ | ACB : 01\\ | ||
+ | ABB : 11\\ | ||
+ | ACC : 00\\ | ||
+ | AAB : AA denotes end of byte B declares stop\\ | ||
+ | |||
+ | continuing this process we follow the ABCACBABBACC with not a AAB but a AAA and we would pull the next since the 3rd ternary integer is A meaning pull next 5 trytes and process | ||
+ | so we pull an additional ABCACBABBACCAAB so we see a \\ | ||
+ | ABCACBABBACAAAABCACBABBACCAAB : 1001110010011100 \\ | ||
+ | is the full input in ternary and output in binary\\ | ||
+ | ABC ACB ABB ACC AAA ABC ACB ABB ACC AAB : 10 01 11 00 10 01 11 00\\ | ||
+ | to break it down farther we get \\ | ||
+ | ABC : 10 ACB : 01 ABB : 11 : ACC : 00 AAA : byte is finished pull next five tryte ABC : 10\\ ACB : 01 ABB : 11 ACC : 00 AAB : byte is finished and stop\\ | ||
+ | and finaly we end with a tryte to binary ending in C so\\ | ||
+ | ABCACBABBACCAAC : 1001110010011100\\ | ||
+ | break down by tryte \\ | ||
+ | ABC ACB ABB ACC AAC : 1001110010011100\\ | ||
+ | break down farther\\ | ||
+ | ABC : 10 ACB :01 ABB : 11 ACC : 00 AAC : 10011100\\ | ||
Other thoughts: | Other thoughts: |