|
Biorithm
1.1
|
#include <GO.h>
Public Member Functions | |
| GOFunction () | |
| GOFunction (string cat, string id, string name="") | |
| virtual | ~GOFunction () |
| void | _init () |
| MyNT | computeSemanticValue () const |
| Compute the semantic value of a function. | |
| unsigned int | computeSiblings (unsigned int type=0) |
| Compute the siblings the the invocant. | |
| int | getIntegerId () |
| vector< int > | getAltIds () |
| vector< string > | getSubsets () |
| vector< string > | getSynonyms () |
| vector< string > | getXrefAnalogs () |
| string | getNamespace () |
| string | getDef () |
| string | getComment () |
| bool | isObsolete () |
| virtual unsigned int | getNumParents (int type=0) |
| virtual unsigned int | getNumChildren (int type=0) |
| virtual set< GOFunction * > | getAncestors (int type=0) |
|
virtual map< GOFunction *, unsigned int > | getAncestorsWithDistance (int type=0) |
| virtual set< GOFunction * > | getChildren (int type=0) |
| virtual set< GOFunction * > | getDescendants (int type=0) |
|
virtual map< GOFunction *, unsigned int > | getDescendantsWithDistance (int type=0) |
| virtual unsigned int | getDistanceToAncestor (GOFunction *ancestor, unsigned int type=0) |
| Return the distance from the invocant to an ancestor. | |
| virtual unsigned int | getDistanceToDescendant (GOFunction *descendant, unsigned int type=0) |
| Return the distance from the invocant to a descendant. | |
| virtual set< GOFunction * > | getParents (int type=0) |
| set< GOFunction * > | getSiblings (unsigned int type=0) |
| Return the siblings of the function. | |
| bool | isAncestor (GOFunction *candidate) |
| bool | isChild (GOFunction *candidate) |
| Returns true if candidate is a parent of the invocant. | |
| bool | isDescendant (GOFunction *candidate) |
| bool | isParent (GOFunction *candidate) |
| Returns true if candidate is a parent of the invocant. | |
| void | addDepth (unsigned int depth, int type=0) |
| set< unsigned int > | getDepths (int type=0) |
| Return all the depths of the function as a set of unsigned integers. | |
| unsigned int | getMinimumDepth (int type=0) |
| Return the minimum depth of the function. | |
| unsigned int | getMaximumDepth (int type=0) |
| Return the maximum depth of the function. | |
Protected Member Functions | |
| unsigned int | _computeSiblingsNaively (unsigned int type=0) |
Friends | |
| class | GeneOntology |
An object that represents a single go function which should only be created through a GeneOntology object
| GOFunction::GOFunction | ( | ) | [inline] |
Constructor
| virtual GOFunction::~GOFunction | ( | ) | [inline, virtual] |
Destructor
| MyNT GOFunction::computeSemanticValue | ( | ) | const |
Compute the semantic value of a function.
| unsigned int GOFunction::computeSiblings | ( | unsigned int | type = 0 | ) |
Compute the siblings the the invocant.
A sibling is a function that is a descendant of an ancestor of the invocant and an ancestor of a descendant of the invocant.
| vector<int> GOFunction::getAltIds | ( | ) | [inline] |
Accessor for alternative ids
| string GOFunction::getComment | ( | ) | [inline] |
Accessor for comment
| string GOFunction::getDef | ( | ) | [inline] |
Accessor for def
| unsigned int GOFunction::getDistanceToAncestor | ( | GOFunction * | ancestor, |
| unsigned int | type = 0 |
||
| ) | [virtual] |
Return the distance from the invocant to an ancestor.
| [in] | ancestor,a | pointer to an instance of GOFunction. |
isAncestor(ancestor, type) returns true.
| unsigned int GOFunction::getDistanceToDescendant | ( | GOFunction * | descendant, |
| unsigned int | type = 0 |
||
| ) | [virtual] |
Return the distance from the invocant to a descendant.
| [in] | descendant,a | pointer to an instance of GOFunction. |
isDescendant(descendant, type) returns true.
| int GOFunction::getIntegerId | ( | ) | [inline] |
Accessor for INTEGERID
| string GOFunction::getNamespace | ( | ) | [inline] |
Accessor for name
Accessor for namespace
| set< GOFunction * > GOFunction::getSiblings | ( | unsigned int | type = 0 | ) | [inline] |
Return the siblings of the function.
The method computes the siblings of the function if they have not yet been computed by a previous call to GOFunction::computeSiblings().
| vector<string> GOFunction::getSubsets | ( | ) | [inline] |
Accessor for subsets
| vector<string> GOFunction::getSynonyms | ( | ) | [inline] |
Accessor for synonyms
| vector<string> GOFunction::getXrefAnalogs | ( | ) | [inline] |
Accessor for xref analogs
| bool GOFunction::isAncestor | ( | GOFunction * | candidate | ) | [inline] |
Returns true if candidate is an ancestor of the invocant.
| bool GOFunction::isDescendant | ( | GOFunction * | candidate | ) | [inline] |
Returns true if candidate is a descendant of the invocant.
| bool GOFunction::isObsolete | ( | ) | [inline] |
Accessor for obsolete
1.7.6.1