Search:

Type: Posts; User: peacealida

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,299

    Selection Method

    void crossover(int mum, int dad)
    {
    int mumfirst, mumlast, dadfirst, dadlast;
    struct prog *mump = &population[mum];
    struct prog *dadp = &population[dad];
    int worst1, worst2;

    do...
  2. Replies
    6
    Views
    1,629

    I am sorry I know i asked some question before,...

    I am sorry
    I know i asked some question before, but I have solve the random maze on my own.
    I was looking to simplify the code into 3-4 line shorter.

    I am very sorry
  3. Replies
    6
    Views
    1,629

    Thanks So what can i modify for the moves? I...

    Thanks
    So what can i modify for the moves?
    I really want to simplify the code, any1 can help me please
    thanks
  4. Replies
    6
    Views
    1,629

    How about can i simply the code, but carry out...

    How about can i simply the code, but carry out the same result?
    thanks
  5. Replies
    6
    Views
    1,629

    mouse movement

    Hi I have a piece of code here for a mouse to eat food on the maze and choose which direction.

    Any1 have suggestion how can I modify the code, so the progrom runs faster and I want to simplify the...
  6. Replies
    10
    Views
    2,926

    Sorry It is working i had a...

    Sorry It is working i had a messsssssssssssssssssssssssssssssssssssssssssssss
  7. Replies
    10
    Views
    2,926

    int intrnd () { double const a = 16807; ...

    int intrnd () {
    double const a = 16807; /* ie 7**5 */
    double const m = 2147483647; /* ie 2**31-1 */
    double temp = seed * a; seed = (int) (temp - m * floor ( temp / m )); return...
  8. Replies
    10
    Views
    2,926

    Hi Sorry had few attempt, buy code doesn't...

    Hi
    Sorry had few attempt, buy code doesn't seems to work after simplify

    Any1 can help
    thanks
  9. Replies
    10
    Views
    2,926

    Generate Random Number

    Hi everybody



    int intrnd ()
    {
    double const a = 16807; /* ie 7**5 */
    double const m = 2147483647; /* ie 2**31-1 */
    double temp = seed * a;
    seed = (int) (temp - m * floor...
  10. Replies
    65
    Views
    7,061

    the colour problem has been solve now But...

    the colour problem has been solve now


    But how can i get it start and end in a fixed point.
    Also any1 can explain what is mutation in genetic programming
    please
    thanks thanks
  11. Replies
    65
    Views
    7,061

    Hi thanks every1 Finally i got code working...

    Hi
    thanks every1
    Finally i got code working now.

    I am wonder, is it possible to leave a colour path on the maze, where the ant has been?
    and I Am looking to create fix point for the ann to...
  12. Thread: Mutation

    by peacealida
    Replies
    1
    Views
    1,228

    Mutation

    Hi any1 familiar with genetic programming?
    So able to explain wt is Mutation?
    thanks
  13. Replies
    65
    Views
    7,061

    I don't think I have that much time..... I only...

    I don't think I have that much time.....
    I only have 30 days left for this .
    and i need to find a way to display the animation on the browser in SVG format.

    I will move on to this tomorrow...
  14. Replies
    65
    Views
    7,061

    oooooooooo so all code are wrong ? or I need...

    oooooooooo

    so all code are wrong ?
    or I need to find a different way to do it?

    cheers
  15. Replies
    65
    Views
    7,061

    . . . ...

    .
    .
    .
    .
    ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0},
    {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0},
    ...
  16. Replies
    65
    Views
    7,061

    Still getting syntax error int main()...

    Still getting syntax error



    int main()
    using namespace std;
    {
    int maze[][], n;

    cout <<" Enter Maze wanted, 0,1,2:\n";
  17. Replies
    65
    Views
    7,061

    I have done the following changes in the int...

    I have done the following changes in the int main()



    int main()
    using namespace std;
    {

    int maze;
  18. Replies
    65
    Views
    7,061

    Sorry So i think i will put them inside the...

    Sorry
    So i think i will put them inside the main...

    I have seen the other tread you reply
    using printf and scanf

    are they more useful for me?? (I know it sounds weired)

    I will use that...
  19. Replies
    65
    Views
    7,061

    OIC This is what i though coz they dun read the...

    OIC
    This is what i though coz they dun read the input and get the output.
    so i need to create a function for the data to process!?

    So i need specific 0 is to choose the map [0]
    and 1 i...
  20. Replies
    17
    Views
    2,224

    Thanks anyway I know it is sth to do with XSLT....

    Thanks anyway
    I know it is sth to do with XSLT.
    So i will see any foums are active for this topic.
    Thanks for ur help
  21. Replies
    17
    Views
    2,224

    by thy I hope you dunmind..... ...

    by thy I hope you dunmind.....

    http://cboard.cprogramming.com/showthread.php?t=101228

    i have an array problem to finish the original program with.....
    but just can't access the right element....
  22. Replies
    17
    Views
    2,224

    i hv 30 days to hand in this work... I started...

    i hv 30 days to hand in this work...
    I started the C too late as well

    can you tell me wt topic and book i need and I will lock myself up in the house for 30 days
    plz help
  23. Replies
    17
    Views
    2,224

    but how do i start with ?? now the code is...

    but how do i start with ??
    now the code is complete, and the exe file is ready

    So what's the first thing i need to do to convert them plz??

    ---- really ---- running --- out ---- of ---...
  24. Replies
    17
    Views
    2,224

    so how do i start to convert them to XML and SVG?...

    so how do i start to convert them to XML and SVG?
    plz help
    this topic is very rare...
    thx
  25. Replies
    17
    Views
    2,224

    o god so how much time you think I need to...

    o god
    so how much time you think I need to convert my file to XML and SVG?
    Coz the file is huge
    thanks
Results 1 to 25 of 85
Page 1 of 4 1 2 3 4