|
|
| Graph (void) |
| | Constructor.
|
| |
|
| Graph (int numVertices) |
| | Constructor.
|
| |
|
| Graph (const Graph &other) |
| | Copy constructor.
|
| |
|
Graph & | operator= (const Graph &other) |
| | Assignment operator.
|
| |
|
virtual bool | addVertex (const Vertex &vertexPtr, bool checkAdjacency=true) |
| | Appends a vertex to the graph. If the adjacency list of the vertex is not empty, we check before that all the vertices of the list are already on the graph.
|
| |
| virtual int | addEdge (int vertexTag, int otherVertexTag) |
| | Adds an edge to the graph. Previously we check that its vertices are already defined in the graph, otherwise it returns -1 (error condition) More...
|
| |
|
virtual Vertex * | getVertexPtr (int vertexTag) |
| | Returns a pointer to the vertex identified by the tag being passed as parameter.
|
| |
|
virtual const Vertex * | getVertexPtr (int vertexTag) const |
| | Returns a pointer to the vertex identified by the tag being passed as parameter.
|
| |
|
virtual VertexIter & | getVertices (void) |
| | Returns an iterator to the vertices of the graph.
|
| |
|
virtual int | getNumVertex (void) const |
| | Returns the number of vertices del grafo.
|
| |
|
virtual int | getNumEdge (void) const |
| | Returns the número de aristas del grafo.
|
| |
|
virtual int | getFreeTag (void) |
| | Returns the siguiente identificador (tag) libre.
|
| |
|
virtual bool | removeVertex (int tag, bool removeEdgeFlag=true) |
| | Removes from the graph the vertex identified by the tag being passed as parameter.
|
| |
|
const Vertex * | BuscaRef (int ref) const |
| |
|
void | getBand (int &, int &) const |
| | Returns the extremos del ancho de banda.
|
| |
|
int | getVertexDiffMaxima (void) const |
| | Returns the maximum (positive) of the difference between vertices indexes.
|
| |
|
int | getVertexDiffExtrema (void) const |
| | Returns the extreme (positive or negative) of the difference between vertices indexes.
|
| |
|
virtual int | merge (Graph &other) |
| | Mezcla los dos grafos.
|
| |
|
virtual void | Print (std::ostream &os, int flag=0) |
| | Imprime.
|
| |
|
int | sendSelf (CommParameters &) |
| | Sends object through the channel being passed as parameter.
|
| |
|
int | recvSelf (const CommParameters &) |
| | Receives object through the channel being passed as parameter.
|
| |
|
| MovableObject (int classTag, int dbTag) |
| | Constructor.
|
| |
|
| MovableObject (int classTag) |
| | Constructor.
|
| |
|
| MovableObject (const MovableObject &otro) |
| | Copy constructor.
|
| |
|
MovableObject & | operator= (const MovableObject &otro) |
| | Operacdor asignación.
|
| |
|
int | getClassTag (void) const |
| | Returns the tag de la clase.
|
| |
|
int | getDbTag (void) const |
| | Returns the tag para la database.
|
| |
|
int | getDbTag (CommParameters &) |
| | Returns the tag para la database.
|
| |
|
void | setDbTag (int dbTag) |
| | Asigna el tag para la database.
|
| |
|
void | setDbTag (CommParameters &) |
| | Asigna, sólo si es preciso, el tag para la database.
|
| |
|
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
| |
|
virtual int | updateParameter (int parameterID, Information &info) |
| |
|
virtual int | activateParameter (int parameterID) |
| |
|
virtual int | setVariable (const std::string &variable, Information &) |
| | Returns the identificador de la variable cuyo nombre being passed as parameter.
|
| |
|
virtual int | getVariable (const std::string &variable, Information &) |
| |
|
| DistributedBase (void) |
| | Constructor.
|
| |
|
virtual DbTagData & | getDbTagData (void) const |
| | Returns a vector to store class dbTags.
|
| |
|
const int & | getDbTagDataPos (const int &i) const |
| | Returns the data at the i-th position.
|
| |
|
void | setDbTagDataPos (const int &i, const int &v) |
| | Sets the data at the i-th position.
|
| |
|
void | inicComm (const int &dataSize) const |
| | Initializes communication.
|
| |
The Graph class provides the abstraction of a graph, a collection of vertices and edges. The Graph class is a container class which stores and provides access to Vertex objects. The Vertices contain information about the edges in this design.