X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=src%2Fmodelidentifier.h;h=ee163e315d278d427ce646f8a52b29ec98052271;hb=f8575ea6c0982bba5ccf42771b2994d19500c0a3;hp=1ed4809ff72319836c798cbdfd14c1c231183c86;hpb=868e1b08fbbd49e489dc1349cb3657521c5c1dd9;p=germs.git diff --git a/src/modelidentifier.h b/src/modelidentifier.h index 1ed4809..ee163e3 100644 --- a/src/modelidentifier.h +++ b/src/modelidentifier.h @@ -23,11 +23,13 @@ #include "geneorder.h" -#include +#include #include #include struct fann; +class Model; + /** * Identifies the model this gene order belongs to @@ -35,7 +37,6 @@ struct fann; */ class ModelIdentifier{ public: - enum Model{Whirl,X,FatX,Zipper,Cloud}; /** * Creates a new identifier given an artificial neural network @@ -52,7 +53,7 @@ class ModelIdentifier{ * * \returns a map with the model as key and the score between -1 and 1 */ - std::map identify(const GeneOrder& go); + std::priority_queue > identify(const GeneOrder& go); ~ModelIdentifier(); private: