Diff of /src/modules/glm/samplers/LinearFactory.h [01a998] .. [081fbe]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/glm/samplers/LinearFactory.h
+++ b/src/modules/glm/samplers/LinearFactory.h
@@ -5,19 +5,31 @@
 
 namespace glm {
 
-/**
- * @short Factory object for conjugate linear model sampler
- */
+    /**
+     * @short Factory object for conjugate linear model sampling method
+     */
     class LinearFactory : public GLMFactory
     {
 	bool _gibbs;
     public:
 	LinearFactory();
+	/**
+	 * Checks that the outcome is from the normal family with identity
+	 * link (i.e. lnode is NULL)
+	 */
 	bool checkOutcome(StochasticNode const *snode,
 			  LinkNode const *lnode) const;
+	/**
+	 * Returns a newly allocated object of class Linear
+	 */
 	GLMMethod *newMethod(GraphView const *view, 
 			     std::vector<GraphView const *> const &sub_views,
 			     unsigned int chain) const;
+	/**
+	 * Checks that the candidate node is not bounded. This is
+	 * required for block-updating from the joint multivariate
+	 * normal posterior.
+	 */
 	bool canSample(StochasticNode const *snode) const;
     };
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks