Biorithm  1.1
Public Member Functions | Protected Member Functions
GeneMANIA Class Reference

This class implements the GeneMANIA algorithm. More...

#include <reconciliation-algorithms.h>

Inheritance diagram for GeneMANIA:
AbstractSingleReconciliation

List of all members.

Public Member Functions

 GeneMANIA (MyGraph &graph, MyPointSet &weights, double q, double maxIters, double epsilon, string output)
 GeneMANIA (vector< MyGraph > &graphs, double q, double maxIters, double epsilon, string outputPrefix)
virtual ~GeneMANIA ()
 Destructor.
virtual string getName ()
 Return the name of the GeneMANIA algorithm.

Protected Member Functions

virtual void _updateNodeWeightA (MyNode node)
 Update the weight of a node in the current graph according to the GeneMANIA update function.
virtual pair< double, double > _computeEnergy ()
 Compute the node sum and edge sum from the GeneMANIA energy function.

Detailed Description

This class implements the GeneMANIA algorithm.


Constructor & Destructor Documentation

GeneMANIA::GeneMANIA ( MyGraph graph,
MyPointSet weights,
double  q,
double  maxIters,
double  epsilon,
string  output 
) [inline]

Constructor for running the algorithm on a single network with multiple initial weights samples.

Parameters:
[in]graphThe network on which to operate.
[in]weightsThe samples containing initial node weights.
[in]qThe parameter q used by the algorithm.
[in]maxItersThe maximum number of iterations to run the iterative reconciliation algorithms.
[in]epsilonA small value that defines part of the convergence criteria.
[in]outputAstring to prepend to all output files.
GeneMANIA::GeneMANIA ( vector< MyGraph > &  graphs,
double  q,
double  maxIters,
double  epsilon,
string  outputPrefix 
) [inline]

Constructor for running the algorithm on multiple networks with no initial weights.

Parameters:
[in]graphsThe networks on which to operate.
[in]qThe parameter q used by the algorithm.
[in]maxItersThe maximum number of iterations to run the iterative reconciliation algorithms.
[in]epsilonA small value that defines part of the convergence criteria.
[in]outputA string to prepend to all output files.

The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Friends