SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

This contains a compression class so that genotypes can be compressed before being sent over the network. You have to base your own class on it and use it in your own code. You use it like this:

  1. Do a example run of your code using PGAL. This is to fill the database with example genotypes that it can examine.
  2. Write an newline delimited ASCII file of all the bits of string that you think will appear a few times in the genotype. For example, I use XML and tags such as "<neural-net name=" might be good for me. Say the name of the file is 'tags.txt'.
  3. Build the files within this directory and type the command:

buildClass {evolutionaryRunNo} {name of class} < tags.txt

...where {evolutionaryRunNo} is the run no of the typical run done above and {name of class} is the name you want your class to be. 4) Use the header and source code file produced as the compressor

class in PGAL. e.g. at some point, put:

MyCompressorClass myCompressorClass; evolutionaryRun.setCompressor( &myCompressorClass );


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.