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...
Type: Posts; User: peacealida
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...
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
Thanks
So what can i modify for the moves?
I really want to simplify the code, any1 can help me please
thanks
How about can i simply the code, but carry out the same result?
thanks
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...
Sorry It is working i had a messsssssssssssssssssssssssssssssssssssssssssssss
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...
Hi
Sorry had few attempt, buy code doesn't seems to work after simplify
Any1 can help
thanks
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...
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
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...
Hi any1 familiar with genetic programming?
So able to explain wt is Mutation?
thanks
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...
oooooooooo
so all code are wrong ?
or I need to find a different way to do it?
cheers
.
.
.
.
,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},
...
Still getting syntax error
int main()
using namespace std;
{
int maze[][], n;
cout <<" Enter Maze wanted, 0,1,2:\n";
I have done the following changes in the int main()
int main()
using namespace std;
{
int maze;
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...
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...
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
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....
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
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 ---...
so how do i start to convert them to XML and SVG?
plz help
this topic is very rare...
thx
o god
so how much time you think I need to convert my file to XML and SVG?
Coz the file is huge
thanks