BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
#include <BioGraph.h>
Public Member Functions | |
BioGraph () | |
BioGraph (vector< string > nids, int **adj) | |
BioGraph & | operator= (BioGraph &g) |
void | setGraph (vector< string > nids, int **adj) |
void | setNodeIds (vector< string > nids) |
void | setNodeId (int index, string s) |
void | setAdjacencyMatrix (int **adj) |
int ** | getAdjacencyMatrix () |
vector< string > | getNodeIds () |
string | getNodeId (int i) |
long | getNodeIdIndex (string s) |
int | getNumberOfEdges () |
long | getNumberOfNodes () |
bool | isNeighbor (string n1, string n2) |
bool | isNeighbor (long n1in, long n2in) |
int | getNumberOfNodeEdges (string nid) |
void | showAdjacencyMatrix (ostream &=cout) |
vector< string > | getNeighborNodeIds (string n) |
float | getClusteringCoefficient (string nid) |
float | getAverageClusteringCoefficient () |
void | addEdge (string n1, string n2) |
void | deleteEdge (string n1, string n2) |
void | addNode (string n1) |
void | deleteNode (string n1) |
int | getNumberOfSharedNeighbors (string n1, string n2) |
vector< string > | getSharedNeighborIds (string n1, string n2) |
float | getTopologicalCoefficient (string ni) |
vector< int > | getNodeDistances (string n1) |
int | getNodeDistance (string n1, string n2) |
BioGraph::BioGraph | ( | vector< string > | nids, |
int ** | adj | ||
) |
void BioGraph::addEdge | ( | string | n1, |
string | n2 | ||
) |
void BioGraph::addNode | ( | string | n1 | ) |
void BioGraph::deleteEdge | ( | string | n1, |
string | n2 | ||
) |
void BioGraph::deleteNode | ( | string | n1 | ) |
int** BioGraph::getAdjacencyMatrix | ( | ) |
float BioGraph::getClusteringCoefficient | ( | string | nid | ) |
vector<string> BioGraph::getNeighborNodeIds | ( | string | n | ) |
int BioGraph::getNodeDistance | ( | string | n1, |
string | n2 | ||
) |
vector<int> BioGraph::getNodeDistances | ( | string | n1 | ) |
string BioGraph::getNodeId | ( | int | i | ) |
long BioGraph::getNodeIdIndex | ( | string | s | ) |
vector<string> BioGraph::getNodeIds | ( | ) |
int BioGraph::getNumberOfEdges | ( | ) |
int BioGraph::getNumberOfNodeEdges | ( | string | nid | ) |
long BioGraph::getNumberOfNodes | ( | ) |
int BioGraph::getNumberOfSharedNeighbors | ( | string | n1, |
string | n2 | ||
) |
vector<string> BioGraph::getSharedNeighborIds | ( | string | n1, |
string | n2 | ||
) |
float BioGraph::getTopologicalCoefficient | ( | string | ni | ) |
bool BioGraph::isNeighbor | ( | string | n1, |
string | n2 | ||
) |
bool BioGraph::isNeighbor | ( | long | n1in, |
long | n2in | ||
) |
void BioGraph::setAdjacencyMatrix | ( | int ** | adj | ) |
void BioGraph::setGraph | ( | vector< string > | nids, |
int ** | adj | ||
) |
void BioGraph::setNodeId | ( | int | index, |
string | s | ||
) |
void BioGraph::setNodeIds | ( | vector< string > | nids | ) |
void BioGraph::showAdjacencyMatrix | ( | ostream & | = cout | ) |