xc
Protected Member Functions | Protected Attributes | List of all members

Base class for model graph. More...

#include <ModelGraph.h>

Inheritance diagram for XC::ModelGraph:
Inheritance graph
[legend]
Collaboration diagram for XC::ModelGraph:
Collaboration graph
[legend]

Protected Member Functions

 ModelGraph (int numVertices, const AnalysisModel &theModel)
 Constructor.
 
- Protected Member Functions inherited from XC::Graph
void inic (const size_t &)
 
void copy (const Graph &other)
 
int sendData (Communicator &)
 Send object members through the communicator argument.
 
int recvData (const Communicator &)
 Receives object members through the communicator argument.
 

Protected Attributes

const AnalysisModelmyModel
 
- Protected Attributes inherited from XC::Graph
ArrayOfTaggedObjects myVertices
 
VertexIter theVertexIter
 
int numEdge
 
int nextFreeTag
 

Additional Inherited Members

- Public Member Functions inherited from XC::Graph
 Graph (int numVertices=32)
 Constructor. More...
 
 Graph (const Graph &other)
 Copy constructor.
 
Graphoperator= (const Graph &other)
 Assignment operator.
 
virtual bool addVertex (const Vertex &vertexPtr, bool checkAdjacency=true)
 Appends a vertex to the graph. More...
 
virtual int addEdge (int vertexTag, int otherVertexTag)
 Adds an edge to the graph. More...
 
virtual VertexgetVertexPtr (int vertexTag)
 Returns a pointer to the vertex identified by the tag being passed as parameter.
 
virtual const VertexgetVertexPtr (int vertexTag) const
 Returns a pointer to the vertex identified by the tag being passed as parameter. More...
 
virtual VertexItergetVertices (void)
 Returns an iterator to the vertices of the graph. More...
 
virtual int getNumVertex (void) const
 Return the number of vertices in the graph.
 
virtual int getNumEdge (void) const
 Return the number of edges in the graph.
 
virtual int getFreeTag (void)
 Returns the siguiente identifier (tag) libre.
 
virtual bool removeVertex (int tag, bool removeEdgeFlag=true)
 Removes from the graph the vertex identified by the tag being passed as parameter. More...
 
const VertexBuscaRef (int ref) const
 
void getBand (int &, int &) const
 Returns the ends of the bandwidth.
 
int getVertexDiffMaxima (void) const
 Returns the maximum (positive) of the difference between vertices indexes. More...
 
int getVertexDiffExtrema (void) const
 Returns the extreme (positive or negative) of the difference between vertices indexes. More...
 
virtual int merge (Graph &other)
 Mezcla los dos grafos.
 
virtual void Print (std::ostream &os, int flag=0) const
 Prints the graph.
 
int sendSelf (Communicator &)
 Sends object through the communicator argument.
 
int recvSelf (const Communicator &)
 Receives object through the communicator argument.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (Communicator &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (Communicator &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual ~DistributedBase (void)
 Destructor.
 
virtual DbTagDatagetDbTagData (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.
 

Detailed Description

Base class for model graph.


The documentation for this class was generated from the following files: