Recent content by mikestampone

  1. M

    Alternative to "Case" for C Programming

    Ok, so I won't use instance. I think I will replace my previously name "state" data type with instruction. Because currently the instructions are nested in the "state" type, but the state can be nested within the "instruction" type. So state will be replaced by "instruction", and I can use...
  2. M

    Alternative to "Case" for C Programming

    Thank you, but I am using "state" for another data type already. What do you think about "instance"?
  3. M

    Alternative to "Case" for C Programming

    I am looking for a word that means "a set of conditions". I was going to use "case", but that is a reserved word in C. Any thoughts?
  4. M

    Difference Between Array & Tuple for Large App

    Thanks Hurkyl. I will be using length. If I am coding with a vector data type I will default to size. It is interesting that you noted the ambiguity of size referring to a number of bytes. That is actually why I started this thread :) I was looking for something different than size, because...
  5. M

    Difference Between Array & Tuple for Large App

    Luckily, my program is not going to be using vectors, so ambiguity in this case will not be a problem. Although it will be good to consider this ambiguity in the creation of future programs which may involve vectors. Thank you for taking the time to answer my question so in-depth. I really...
  6. M

    Difference Between Array & Tuple for Large App

    Thanks again Rasalhague. I will use "length" throughout my program :)
  7. M

    Difference Between Array & Tuple for Large App

    Thank you Rasalhague :) That clears up a lot. What about the number of items in a tuple or set. Do I say count, size, cardinality, or something else. I am not sure on how to say "the number of elements" in a single word. Is it different for sets and tuples?
  8. M

    Difference Between Array & Tuple for Large App

    I am wondering if anyone can describe to me the correct use of a couple words. I am programming a very large application, and I like to name my variables so that they are very descriptive. Before I begin, I would like to know what is the difference between an array and a tuple? Are they the...
  9. M

    Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration

    So... Maybe I need to give an example of what I am looking for. If I wanted to optimize for time, I would read the entire known tape left to right, and then write the sequence right to left. Example Given the function 000->000 011->110 The optimization for time, is <s0,'0',s0,R>...
  10. M

    Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration

    Alright, maybe that is unnecessary. What if we wanted the Turing Machine with the smallest number of instructions, to implement whatever function? What if we also wanted to define the machine "head" at the start of the process, and the machine "head" at the end of the process? Could this be...
  11. M

    Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration

    >my question is, what exactly is your question? >Specifically can you define any function? Alright, my question is, if I gave you a "function" (partial function?) , then how could you systematically find the minimum cost Turing Machine to solve that function. For example, when you count in...
  12. M

    Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration

    Thanks for responding. A tape representing the natural numbers is interesting. I never thought of that. I am more concerned with dealing with symbols in general, and not the natural numbers or, certain real numbers, alone. I appreciate the response though. You provided a very detailed...
  13. M

    Programming Binary Addition with a Turing Machine

    Found this for ya. Hope it helps your understanding. http://www.maths.leeds.ac.uk/~awmorp/turingmachine/turing.html
  14. M

    Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration

    Hello smart people, I am wondering if there is a process to convert a function to a Turing Machine. In other words, if I provide a list of input strings , and a corresponding output string for each input string, is there a way to find the minimum number of instructions to realize any function...
Back
Top