Biorithm  1.1
Public Member Functions | Protected Attributes
MyOneVersusNoneFunctionalFlowGainAlgo Class Reference
Inheritance diagram for MyOneVersusNoneFunctionalFlowGainAlgo:
MyOneVersusNoneGainAlgo MyOneVersusAllGainAlgo MyAbstractGainAlgo< MyGainTriStateType > MyReallyAbstractGainAlgo

List of all members.

Public Member Functions

 MyOneVersusNoneFunctionalFlowGainAlgo (MyGainGraph &g, MyAnnotations &a, MyGainParams &p, Reporter &r, GeneOntology *go=NULL)
virtual void computePredictions (const BioFunction &function, const MyNodeIdList &nodesToAnnotate, MyNodeIdList &predictedNodes)
virtual MyGainTriState computeState (MyNode &node)
virtual string getName ()
virtual void run (const MyNodeIdList &nodesToAnnotate)

Protected Attributes

map< MyNodeId, MyNT > _currentNodeReservoirs
map< MyNodeId, MyNT > _previousNodeReservoirs
map< MyNodeId, MyNT > _totalInflow

Member Function Documentation

void MyOneVersusNoneFunctionalFlowGainAlgo::computePredictions ( const BioFunction function,
const MyNodeIdList &  nodesToAnnotate,
MyNodeIdList &  predictedNodes 
) [virtual]

Compute which genes in nodesToAnnotate MyOneVersusAllGainAlgo::run() predicts has the function. Since different algorithms may have different methods for predicting a function, this method must be implemented separately for each class.

Parameters:
nodesToAnnotate,aninstance of MyNodeIdList, the nodes that run() tried to annotate.
predictedNodes,aninstance of MyNodeIdList, the nodes that run() predicts as having the function.

Reimplemented from MyOneVersusAllGainAlgo.

This method should be a member of this class since the method needs access to the states of the nodes (stored in subclasses of the class).

Reimplemented from MyOneVersusAllGainAlgo.

virtual string MyOneVersusNoneFunctionalFlowGainAlgo::getName ( ) [inline, virtual]

Return the name of the algorithm.

Reimplemented from MyOneVersusNoneGainAlgo.

void MyOneVersusNoneFunctionalFlowGainAlgo::run ( const MyNodeIdList &  nodesToAnnotate) [virtual]

This method repeatedly iterates over all the nodes in nodesToAnnotate in the order in which they occur in nodesToAnnotate. It computes the state of each node in this list. The method iterates until the states converge.

Reimplemented from MyOneVersusAllGainAlgo.


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