XC Open source finite element analysis program
|
#include <Vertex.h>
Public Member Functions | |
Vertex (int tag=0, int ref=0, double weight=0, int color=0) | |
Constructor. | |
virtual void | setWeight (double newWeight) |
Assigns a weight to the vertex. | |
virtual void | setColor (int newColor) |
Assigns a color to the vertex. | |
virtual void | setTmp (int newTmp) |
virtual int | getRef (void) const |
virtual double | getWeight (void) const |
Returns the weight of the vertex. | |
virtual int | getColor (void) const |
Returns the color of the vertex. | |
virtual int | getTmp (void) const |
virtual int | addEdge (int otherTag) |
Appends an edge to the vertex. | |
virtual int | getDegree (void) const |
Returns the vertex degree on the graph. | |
virtual const std::set< int > & | getAdjacency (void) const |
Return the adjacency list of the vertex in the graph. | |
virtual void | Print (std::ostream &os, int flag=0) |
Prints. | |
int | sendSelf (CommParameters &) |
Envía. | |
int | recvSelf (const CommParameters &) |
Recibe. | |
Public Member Functions inherited from XC::TaggedObject | |
TaggedObject (int tag, EntCmd *owr=nullptr) | |
Constructor. | |
virtual TaggedObject * | getCopy (void) const |
Virtual constructor. | |
void | assignTag (int newTag) |
Establece el valor del tag. | |
int | getTag (void) const |
Public Member Functions inherited from XC::MovableObject | |
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 &) |
Public Member Functions inherited from XC::DistributedBase | |
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. | |
Protected Member Functions | |
int | sendData (CommParameters &) |
Send object members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives object members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::TaggedObject | |
void | setTag (int newTag) |
Establece el valor del tag. | |
Vertex of a graph.