/// <summary> /// Creates new genome with only input and output nodes. /// </summary> /// <param name="nIn"></param> /// <param name="nOut"></param> public Genome(int nIn, int nOut, GenePool pool) { this.pool = pool; Initialization(nIn, nOut); Setup(); }
//public Genome() //{ //} /// <summary> /// Creates new genome and randomize it. Good for begginig population. /// </summary> /// <param name="nIn"></param> /// <param name="nOut"></param> public Genome(int nIn, int nOut, float connCoverage, Random rand, GenePool pool) { this.pool = pool; Initialization(nIn, nOut); Setup(); RandomizeGenome(connCoverage, rand); }