#include <amygdala/genome.h>
Public Methods | |
Genome () | |
~Genome () | |
void | get (string uri) |
void | submit (int score) |
void | setHandler (GenomeHandler *gh) |
void | parse () |
void | Format (string format) |
Protected Methods | |
void | getHttp (string URL) |
void | getFile (string path) |
Protected Attributes | |
GenomeHandler * | gHandler |
unsigned int | geneId |
string | genome |
vector< pair< int, int > > | chromosomes |
string | URL |
|
parses the format string as given by the server. Must be called if a gene is loaded from a file.
|
|
get a gene from specified uri.
|
|
load a gene from a file |
|
load a genome file from a http server. This server must conform to the Amygdala genome server conventions. |
|
parse the genome string. Pass all genes to the supplied GenomeHandler object |
|
set the handler. This handler must be derived from GenomeHandler
|
|
Submit a score to the server |
|
pair <genes, gene_size> |