]> ruin.nu Git - germs.git/commitdiff
some comments
authorMichael Andreen <harv@ruin.nu>
Mon, 13 Aug 2007 07:21:01 +0000 (07:21 +0000)
committerMichael Andreen <harv@ruin.nu>
Mon, 13 Aug 2007 07:21:01 +0000 (07:21 +0000)
src/model.h

index 52e4d747c4b6eb0677e18805cc30230244e6102f..8bc41d4bcf73da0bf9b4c1d366360ccce00b8f0e 100644 (file)
@@ -30,12 +30,25 @@ namespace Models {
        class ModelImpl;
 }
 
        class ModelImpl;
 }
 
+/**
+ * Abstraction of a model.
+ * 
+ * Handles scoring of specific actions on gene orders.
+ */
 class Model{
        public:
                typedef std::tr1::shared_ptr<Models::ModelImpl> ModelPointer;
 
 class Model{
        public:
                typedef std::tr1::shared_ptr<Models::ModelImpl> ModelPointer;
 
+               /**
+                * Constructs a new model.
+                *
+                * \param model The actual model implementation. This model takes 
+                *      ownership of the new allocated implementation and will delete it.
+                */
                Model(Models::ModelImpl* model);
 
                Model(Models::ModelImpl* model);
 
+               /**
+                */
                double score(const SortAction& sa, const GeneOrder& go) const;
 
                const char* name() const;
                double score(const SortAction& sa, const GeneOrder& go) const;
 
                const char* name() const;