C++ main module for gpm Package  1.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
GPM_PortGraph Class Reference

This class describes a graph which is a list of vertices, ports & edges. More...

#include <GPM_PortGraph.h>

Inheritance diagram for GPM_PortGraph:
Inheritance graph
[legend]
Collaboration diagram for GPM_PortGraph:
Collaboration graph
[legend]

Public Member Functions

void setPath (const tString &path)
 set the path More...
 
tString getPath () const
 get the path More...
 
void setPrefix (const tString &v)
 set the prefix More...
 
tString getPrefix () const
 get the prefix More...
 
int getIteration () const
 get the prefix More...
 
void setIterationsMaxNumber (const int &v)
 set the max iterations number More...
 
int getIterationsMaxNumber () const
 get the max iterations number More...
 
virtual SP::GPM_GraphElement newInstance (const tString &className) const
 create a new instance of token More...
 
virtual SP::GPM_Port newPort () const
 create a port More...
 
tVertexIID addPort (const int &id)
 add port More...
 
tVertexIID addPort ()
 add port More...
 
tVertexIID addPort (SP::GPM_Port port)
 add port More...
 
tBoolean addPortEdgeFromIds (const int &from, const int &to, const int &fromPortId, const int &toPortId, tVertexIID &fromPortIID, tVertexIID &toPortIID)
 add 2 ports with ids fromPortId, toPortId from vertex with id from to vertex with id to return the internal ids of the 2 created ports More...
 
tBoolean addPortEdgeFromIds (const int &fromId, const int &toId, const int &fromPortId, const int &toPortId)
 add 2 ports with ids fromPortId, toPortId from vertex with id from to vertex with id to More...
 
void updateGraphElementsEnvironment (const map< tString, SP::GPM_Variable > &nodeEnvironment, const map< tString, SP::GPM_Variable > &portEnvironment, const map< tString, SP::GPM_Variable > &edgeEnvironment)
 update the environment of all graph elements (reverse method of build environments) More...
 
void buildEnvironments (map< tString, SP::GPM_Variable > &nodeEnvironment, map< tString, SP::GPM_Variable > &portEnvironment, map< tString, SP::GPM_Variable > &edgeEnvironment) const
 build the environments More...
 
void getConnectedNodesToPort (const tVertexIID &portIID, tVertexIID &sourceNode, tVertexIID &targetNode) const
 get the 2 nodes connected to port ,with portIID internal id More...
 
void initGroupNames (const vector< tString > &nodeIds, const vector< tString > &portIds)
 init group name More...
 
void initGroupNames ()
 init group name to type of the vertex More...
 
void clearPatternFunctions ()
 clear pattern functions More...
 
void addPatternFunction (SP::GPM_PatternFunction f)
 add pattern function More...
 
SV::GPM_PatternFunction & getPatternFunctions ()
 get the pattern functions More...
 
void generateQuadGraph (const int &nTriangles, const tBoolean &withMiddle, const int &n, const int &m, const tReal &w, const tReal &h, const tReal &xmin, const tReal &ymin)
 generate a quad graph of size nxm by nTriangles More...
 
virtual tBoolean isValid () const
 validate the graph More...
 
virtual tString isEdgeValid (const GPM_Vertex &source, const GPM_Vertex &target, tBoolean &isValid) const
 return true if the 2 vectex can be connected by edge More...
 
virtual tBoolean isMappingValid (const SV::GPM_Vertex &smallGraphVertices, const vector< tVertexIID > &mapping, CORE_Out &io) const
 return true if the mapping is valid More...
 
virtual tBoolean reduce (int &nReductions, CORE_Out &io)
 reduce the graph make on loop until one reduction is done return false if the reducing failed More...
 
void findMesh (const vector< tFlag > &meshTypes, vector< vector< tVertexIID > > &geometries) const
 get all the geometries vertex <–> vertex without ports inside. More...
 
void findMesh (const tFlag &meshType, vector< vector< tVertexIID > > &geometries) const
 get all the geometries vertex <–> vertex without ports inside. More...
 
void findSegments (vector< vector< tVertexIID > > &geometry) const
 set the segments More...
 
virtual tBoolean exportToCurveFile (const tString &fileName, const tString &title, const tString &XLabel, const tString &YLabel) const
 export to a curve file More...
 
tBoolean rewrite (int &nReductions, CORE_Out &io)
 rewrite the graph substitute the patterns by the graphs defined in PatternFunctions algorithm: More...
 
tBoolean run (CORE_Out &io)
 run the writer More...
 
tBoolean run (const tString &path, const tString &prefix, const int &nMaxIterations, CORE_Out &io)
 run the writer More...
 
virtual tBoolean saveGraph (const tString &path, const tString &prefix, const int &nDigits, const int &iterations, tString &fn) const
 save the graph during running More...
 
virtual tBoolean loadGraph (const tString &path, const tString &prefix, const int &nDigits, const int &iterations, CORE_Out &io, tString &fn)
 load the graph during running More...
 
const tGraphgetGraphImplement () const
 get the graph implementation More...
 
tGraphgetGraphImplement ()
 get the graph implementation More...
 
virtual SP::GPM_Node newNode () const
 create a node More...
 
virtual void copy (const GPM_Graph &graph)
 void copy More...
 
tVertexIID addVertex (SP::GPM_Vertex vertex)
 add vertex vertex with id More...
 
tVertexIID addNode ()
 add vertex More...
 
tVertexIID addNode (const int &id)
 add vertex with id More...
 
void removeVertex (const tVertexIID &iid)
 remove vertex with internal id: iid WARNING: the vertexIID of all the nodes may changed ! More...
 
int getVerticesNumber () const
 the the vertices numbers More...
 
SP::GPM_Vertex getVertex (const tVertexIID &iid) const
 get vertex with internal id More...
 
int getVertexId (const tVertexIID &iid) const
 get the id of vertex with internal id More...
 
tVertexIID getVertexIID (const int &id) const
 get the internal id of vertex with id (for convenience use) More...
 
void getVertices (vector< tVertexIID > &vertexIIDs) const
 get the internal id of all vertices More...
 
void getVertices (SV::GPM_Vertex &vertexIIDs) const
 get the internal id of all vertices More...
 
void getConnectedVertices (const tVertexIID &iid, vector< tVertexIID > &vertexIIDs) const
 get the internal id vertices connected to vertex with internal iid More...
 
int getDegree (const tVertexIID &id) const
 get the edges number connected to vertex with id More...
 
virtual SP::GPM_Edge newEdge () const
 get the edge internal id More...
 
virtual SP::GPM_Edge newEdge (const int &id) const
 create a node More...
 
virtual SP::GPM_Edge newEdge (SP::GPM_Vertex source, SP::GPM_Vertex target) const
 create a node More...
 
tBoolean addEdgeFromIds (const int &source, const int &target, tEdgeIID &iid)
 add ad edge from vertex ids (convenience method) More...
 
tBoolean addEdgeFromIds (const int &source, const int &target)
 add vertex from vertex ids (convenience method) More...
 
virtual tBoolean addEdge (const tVertexIID &from, const tVertexIID &to, SP::GPM_Edge edge, tEdgeIID &iid)
 add an edge with name label between vertices from & to More...
 
virtual SP::GPM_Edge addEdge (const tVertexIID &from, const tVertexIID &to)
 add an edge with name label between vertices from & to More...
 
virtual tBoolean addEdge (const tVertexIID &from, const tVertexIID &to, tEdgeIID &eiid)
 add an edge with name label between vertices from & to More...
 
tBoolean removeEdge (const tEdgeIID &edgeId)
 remove edge with id WARNING: the edgeIID of all the edges may changed ! More...
 
tBoolean removeEdges (const tVertexIID &vertexIID)
 remove all edges from vertex with internal id WARNING: the edgeIID of all the edges may changed ! More...
 
tBoolean removeEdges (const tVertexIID &form, const tVertexIID &to)
 remove all edges from vertices from & to WARNING: the edgeIID of all the edges may changed ! More...
 
int getEdgesNumber () const
 get the edges number More...
 
void getEdges (vector< tEdgeIID > &ids) const
 get the index of edges of the graph More...
 
void getEdges (SV::GPM_Edge &edges) const
 get the index of edges of the graph More...
 
void getEdges (const tVertexIID &v, vector< tEdgeIID > &edges) const
 get the edges from vertex v More...
 
tBoolean getEdge (const tVertexIID &e1, const tVertexIID &e2, tEdgeIID &iid) const
 get edge between vertices e1 & e2 More...
 
SP::GPM_Edge getEdge (const tEdgeIID &id)
 get edge with id for writing More...
 
SPC::GPM_Edge getEdge (const tEdgeIID &id) const
 get edge with id for reading More...
 
const GPM_EdgegetEdge (const tVertexIID &e1, const tVertexIID &e2) const
 get edge between vertices e1 & e2 More...
 
GPM_EdgegetEdge (const tVertexIID &e1, const tVertexIID &e2)
 get edge between vertices e1 & e2 More...
 
tBoolean getEdgeFromIds (const int &e1, const int &e2, tEdgeIID &iid) const
 get edge between vertices e1 & e2 (convenience method) More...
 
tBoolean getEdgeFromIds (const int &e1, const int &e2) const
 get edge between vertices e1 & e2 (convenience method) More...
 
void getEdgeVertices (const tEdgeIID &id, tVertexIID &source, tVertexIID &target) const
 get vertices of edges More...
 
int getEdgeId (const tEdgeIID &iid) const
 get id of edge with internal id iid More...
 
tBoolean getEdgeIID (const int &id, tEdgeIID &iid) const
 get the internal id of edge with id (for convenience use) More...
 
void clear ()
 clear the graph More...
 
void close ()
 close the graph More...
 
tBoolean merge (const tVertexIID &from, const tVertexIID &to, CORE_Out &io)
 merge two vertex More...
 
void addSubGraph (const GPM_Graph &graph, map< tVertexIID, tVertexIID > &connections)
 add sub graph More...
 
void executeTriggerActions (CORE_Out &io)
 execute trigger actions More...
 
tBoolean saveToFile (const tString &fileName) const
 save graph to txt file More...
 
tBoolean loadFromFile (const tString &fileName, CORE_Out &io)
 load graph from txt file More...
 
void printGroupId (CORE_Out &io) const
 print the group id More...
 
void updateGroupId ()
 update the group Id of all elements of graph More...
 
tBoolean isIsomorph (const GPM_Graph &g, vector< tVertexIID > &verticesMap, CORE_Out &io) const
 return true if graph is isomorph More...
 
tBoolean isIsomorph (SPC::GPM_Graph g, vector< tVertexIID > &verticesMap, CORE_Out &io) const
 return true if graph is isomorph More...
 
tBoolean isIsomorph (SPC::GPM_Graph g, CORE_Out &io) const
 return true if graph is isomorph More...
 
tBoolean isIsomorph (const GPM_Graph &g, CORE_Out &io) const
 return true if graph is isomorph More...
 
void getPatterns (const GPM_Graph &pattern, const tBoolean &isUpToAutomorphism, const tFlag &upToAutomorphismType, vector< vector< tVertexIID > > &homomorphisms, CORE_Out &io) const
 get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller More...
 
void getPatterns (SPC::GPM_Graph pattern, const tBoolean &isUpToAutomorphism, const tFlag &upToAutomorphismType, vector< vector< tVertexIID > > &homomorphisms, CORE_Out &io) const
 get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller More...
 
void getPatterns (const GPM_Graph &pattern, vector< vector< tVertexIID > > &homomorphisms, CORE_Out &io) const
 get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller More...
 
void getPatterns (SPC::GPM_Graph pattern, vector< vector< tVertexIID > > &homomorphisms, CORE_Out &io) const
 get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller More...
 
virtual tString toString () const
 set the graph to string More...
 
int generateVertexId ()
 generate a vertex id More...
 
int generateEdgeId ()
 generate a edge id More...
 
void getSharedPointer (SP::CORE_Object &p)
 get the shared pointer of this class into p More...
 
void getSharedPointer (SPC::CORE_Object &p) const
 get the shared pointer of this class into p More...
 
tString getClassName () const
 return the class name of the object More...
 
tString getIdentityString () const
 return the identity string of the object of the form className_at_address More...
 
tString getPointerAddress () const
 return the identity string of the object More...
 
template<class T >
tBoolean isInstanceOf () const
 return true if the object is an instance of T More...
 
virtual void print ()
 print the class More...
 
virtual ostream & print (ostream &out) const
 print the class More...
 
virtual void print (const tString &message)
 print the class More...
 
virtual void print (const tInteger &str)
 print More...
 
virtual void print (const tRelativeInteger &str)
 print More...
 
virtual void print (const tReal &str)
 print More...
 
virtual void print (const int &str)
 print More...
 

Static Public Member Functions

static SP::GPM_PortGraph New ()
 create a graph More...
 
static void turnBodyTextToLine (tString &bdy)
 
static void turnBodyLineToText (tString &bdy)
 
static tString getClassName (const tString &identityString)
 return the class name of the object using only the identity string More...
 
template<class T >
static tString getTypeName ()
 get type name More...
 
static tBoolean is64Architecture ()
 return true if the machine is a 64 bits machine More...
 
static tBoolean is32Architecture ()
 return true if the machine is a 32 bits machine More...
 
static tString pointer2String (const void *obj)
 return the string represantation of a pointer More...
 
static void setOutput (ostream &out)
 set output More...
 
static ostream & getOutput ()
 get output More...
 
static void printObjectsInMemory ()
 print object in memory More...
 
static ostream & print (ostream &out, const tString &message)
 print the class More...
 
static void outputPrint (const tString &message)
 

Static Public Attributes

static const tFlag SEGMENT =2
 
static const tFlag TRIANGLE =3
 
static const tFlag TETRAHEDRON =4
 
static const tFlag PYRAMID =5
 
static const tFlag WEDGE =6
 
static const tFlag HEXAHEDRON =8
 
static const tVertexIID NULL_VERTEX =boost::graph_traits<tGraph>::null_vertex()
 
static const tFlag UP_TO_AUTOMORPHISM_ALL =0
 
static const tFlag UP_TO_AUTOMORPHISM_NODE =1
 
static const tFlag UP_TO_AUTOMORPHISM_PORT =2
 
static tBoolean mIsMemoryTesting =false
 indicator to store all classes created and deleted only for debuging version More...
 

Protected Member Functions

 GPM_PortGraph (void)
 create an object More...
 
virtual ~GPM_PortGraph (void)
 destroy an object. More...
 
void setIteration (const int &v)
 set the iteration More...
 
virtual void patternsMappingSignalEmit (const SVC::GPM_PatternFunction patternFunction, const vector< vector< vector< tVertexIID > > > &fmappings) const
 signal emmiting when the matching of patterns is done More...
 
tBoolean addEdge_ (const tVertexIID &from, const tVertexIID &to, SP::GPM_Edge edge, tEdgeIID &iid)
 add edge without verifications if edge or vertices exists More...
 
void setThis (SP::CORE_Object p)
 set this weak shared pointer called toDoAfterThis setting method More...
 
virtual void setType (tString type)
 set the type of the object More...
 
virtual void toDoAfterThisSetting ()
 method called after setThis() method this method can oly be called once. More...
 

Detailed Description

This class describes a graph which is a list of vertices, ports & edges.

Author
Stéphane Despréaux
Version
1.0

Constructor & Destructor Documentation

GPM_PortGraph::GPM_PortGraph ( void  )
protected

create an object

References CORE_Object::setType().

Here is the call graph for this function:

GPM_PortGraph::~GPM_PortGraph ( void  )
protectedvirtual

destroy an object.

Member Function Documentation

tBoolean GPM_Graph::addEdge ( const tVertexIID from,
const tVertexIID to,
SP::GPM_Edge  edge,
tEdgeIID iid 
)
virtualinherited

add an edge with name label between vertices from & to

References GPM_Graph::addEdge_(), EdgeProperties::edge, GPM_Graph::generateEdgeId(), GPM_Graph::getVertex(), null, and tBoolean.

Referenced by GPM_Graph::addEdge(), GPM_Graph::addEdgeFromIds(), GPMG_DrawPanel::addEdgeToNode(), addPortEdgeFromIds(), GPM_Graph::addSubGraph(), GPM_Graph::copy(), generateQuadGraph(), and GPM_Graph::merge().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual SP::GPM_Edge GPM_Graph::addEdge ( const tVertexIID from,
const tVertexIID to 
)
inlinevirtualinherited

add an edge with name label between vertices from & to

References GPM_Graph::addEdge(), GPM_Graph::generateEdgeId(), and GPM_Graph::newEdge().

Here is the call graph for this function:

virtual tBoolean GPM_Graph::addEdge ( const tVertexIID from,
const tVertexIID to,
tEdgeIID eiid 
)
inlinevirtualinherited

add an edge with name label between vertices from & to

References GPM_Graph::addEdge(), GPM_Graph::generateEdgeId(), GPM_Graph::newEdge(), and tBoolean.

Here is the call graph for this function:

tBoolean GPM_Graph::addEdge_ ( const tVertexIID from,
const tVertexIID to,
SP::GPM_Edge  edge,
tEdgeIID iid 
)
protectedinherited

add edge without verifications if edge or vertices exists

References EdgeProperties::edge.

Referenced by GPM_Graph::addEdge().

Here is the caller graph for this function:

tBoolean GPM_Graph::addEdgeFromIds ( const int &  source,
const int &  target,
tEdgeIID iid 
)
inlineinherited

add ad edge from vertex ids (convenience method)

References GPM_Graph::addEdge(), GPM_Graph::addNode(), GPM_Graph::generateEdgeId(), GPM_Graph::getVertexIID(), and GPM_Graph::newEdge().

Referenced by GPMG_DrawPanel::addEdge(), and GPM_Graph::addEdgeFromIds().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_Graph::addEdgeFromIds ( const int &  source,
const int &  target 
)
inlineinherited

add vertex from vertex ids (convenience method)

References GPM_Graph::addEdgeFromIds().

Here is the call graph for this function:

tVertexIID GPM_Graph::addNode ( )
inlineinherited

add vertex

Parameters
OUTiid: return the internal id of vertex

References GPM_Graph::addVertex(), GPM_Graph::generateVertexId(), and GPM_Graph::newNode().

Referenced by GPM_Graph::addEdgeFromIds(), GPMG_DrawPanel::addNode(), addPortEdgeFromIds(), GPM_Graph::copy(), and generateQuadGraph().

Here is the call graph for this function:

Here is the caller graph for this function:

tVertexIID GPM_Graph::addNode ( const int &  id)
inlineinherited

add vertex with id

Parameters
INid: id of the vertex
OUTiid: return the internal id of vertex

References GPM_Graph::addVertex(), and GPM_Graph::newNode().

Here is the call graph for this function:

void GPM_PortGraph::addPatternFunction ( SP::GPM_PatternFunction  f)
inline

add pattern function

Referenced by GPMG_Project::run().

Here is the caller graph for this function:

tVertexIID GPM_PortGraph::addPort ( const int &  id)
inline

add port

References GPM_Graph::addVertex().

Referenced by GPMG_DrawPanel::addEdgeToNode(), and GPMG_DrawPanel::addPort().

Here is the call graph for this function:

Here is the caller graph for this function:

tVertexIID GPM_PortGraph::addPort ( )
inline

add port

References GPM_Graph::addVertex().

Here is the call graph for this function:

tVertexIID GPM_PortGraph::addPort ( SP::GPM_Port  port)
inline

add port

References GPM_Graph::addVertex().

Here is the call graph for this function:

tBoolean GPM_PortGraph::addPortEdgeFromIds ( const int &  from,
const int &  to,
const int &  fromPortId,
const int &  toPortId,
tVertexIID fromPortIID,
tVertexIID toPortIID 
)

add 2 ports with ids fromPortId, toPortId from vertex with id from to vertex with id to return the internal ids of the 2 created ports

References GPM_Graph::addEdge(), GPM_Graph::addNode(), GPM_Graph::addVertex(), GPM_Graph::getVertexIID(), newPort(), GPM_Graph::NULL_VERTEX, and tBoolean.

Here is the call graph for this function:

tBoolean GPM_PortGraph::addPortEdgeFromIds ( const int &  fromId,
const int &  toId,
const int &  fromPortId,
const int &  toPortId 
)
inline

add 2 ports with ids fromPortId, toPortId from vertex with id from to vertex with id to

void GPM_Graph::addSubGraph ( const GPM_Graph graph,
map< tVertexIID, tVertexIID > &  connections 
)
inherited

add sub graph

Parameters
graph:addinggraph
connectionsis the association between vertex of the sub graph to the corresponding vertex in graph This

References GPM_Graph::addEdge(), GPM_Graph::addVertex(), GPM_Vertex::copy(), GPM_GraphElement::copy(), GPM_Graph::generateEdgeId(), GPM_Graph::generateVertexId(), GPM_Graph::getEdge(), GPM_Graph::getEdges(), GPM_Graph::getVertex(), and GPM_Graph::getVertices().

Here is the call graph for this function:

tVertexIID GPM_Graph::addVertex ( SP::GPM_Vertex  vertex)
inherited

add vertex vertex with id

Parameters
INvertex: vertex to add
OUTiid: return the internal id of vertex

References GPM_Graph::generateVertexId(), VertexProperties::groupId, and VertexProperties::vertex.

Referenced by GPM_Graph::addNode(), addPort(), addPortEdgeFromIds(), GPM_Graph::addSubGraph(), GPM_Graph::copy(), and generateQuadGraph().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_PortGraph::buildEnvironments ( map< tString, SP::GPM_Variable > &  nodeEnvironment,
map< tString, SP::GPM_Variable > &  portEnvironment,
map< tString, SP::GPM_Variable > &  edgeEnvironment 
) const
void GPM_Graph::clear ( )
inherited

clear the graph

Referenced by GPM_Graph::copy(), generateQuadGraph(), and GPM_Graph::~GPM_Graph().

Here is the caller graph for this function:

void GPM_PortGraph::clearPatternFunctions ( )
inline

clear pattern functions

void GPM_Graph::close ( )
inherited

close the graph

void GPM_Graph::copy ( const GPM_Graph graph)
virtualinherited
void GPM_Graph::executeTriggerActions ( CORE_Out io)
inherited

execute trigger actions

References CORE_Out::DEBUG_MSG, CORE_Out::println(), GPM_Graph::removeEdge(), GPM_Graph::removeVertex(), and CORE_Integer::toString().

Here is the call graph for this function:

tBoolean GPM_PortGraph::exportToCurveFile ( const tString fileName,
const tString title,
const tString XLabel,
const tString YLabel 
) const
virtual

export to a curve file

Reimplemented from GPM_Graph.

References findSegments(), GPM_Vertex::getCoordinates(), GPM_Graph::getVertex(), and null.

Referenced by GPM_2DSnowGraph::saveGraph().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_PortGraph::findMesh ( const vector< tFlag > &  meshTypes,
vector< vector< tVertexIID > > &  geometries 
) const
inline

get all the geometries vertex <–> vertex without ports inside.

void GPM_PortGraph::findMesh ( const tFlag meshType,
vector< vector< tVertexIID > > &  geometries 
) const

get all the geometries vertex <–> vertex without ports inside.

References findSegments(), GPM_Graph::getPatterns(), HEXAHEDRON, New(), CORE_Out::New(), CORE_Out::NO_OUTPUT, PYRAMID, SEGMENT, TETRAHEDRON, tReal, TRIANGLE, GPM_Graph::UP_TO_AUTOMORPHISM_NODE, and WEDGE.

Here is the call graph for this function:

void GPM_PortGraph::findSegments ( vector< vector< tVertexIID > > &  geometry) const

set the segments

References GPM_Graph::getConnectedVertices(), GPM_Graph::getEdges(), GPM_Graph::getEdgeVertices(), GPM_Graph::getVertex(), tBoolean, CORE_String::toString(), and tString.

Referenced by exportToCurveFile(), and findMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

int GPM_Graph::generateEdgeId ( )
inherited

generate a edge id

Referenced by GPM_Graph::addEdge(), GPM_Graph::addEdgeFromIds(), and GPM_Graph::addSubGraph().

Here is the caller graph for this function:

void GPM_PortGraph::generateQuadGraph ( const int &  nTriangles,
const tBoolean withMiddle,
const int &  n,
const int &  m,
const tReal w,
const tReal h,
const tReal xmin,
const tReal ymin 
)

generate a quad graph of size nxm by nTriangles

Parameters
nTrianglesin [0,2,4]
withMiddle
  • if nTriangles==4 & withMiddle, the middle point is center of the 4 triangles
  • if nTriangles==4 & !withMiddle, only two triangles are drawing & the middle point is a fictive point
nnumber of point on the horizontal lines
mnumber of point on the vertical lines
wsize of the horizontal line. If (w==0) the coordinates is the index of the point
hsize of the horizontal line. If (h==0) the coordinates is the index of the point

References GPM_Graph::addEdge(), GPM_Graph::addNode(), GPM_Graph::addVertex(), GPM_Graph::clear(), GPM_Graph::getVertex(), GPM_Port::New(), GPM_Graph::newEdge(), null, GPM_Vertex::setCoordinates(), GPM_GraphElement::setGraph(), and tReal.

Here is the call graph for this function:

int GPM_Graph::generateVertexId ( )
inherited

generate a vertex id

Referenced by GPM_Graph::addNode(), GPM_Graph::addSubGraph(), and GPM_Graph::addVertex().

Here is the caller graph for this function:

static tString CORE_Object::getClassName ( const tString identityString)
inlinestaticinherited

return the class name of the object using only the identity string

Referenced by CORE_Object::printObjectsInMemory().

Here is the caller graph for this function:

tString CORE_Object::getClassName ( ) const
inherited

return the class name of the object

Returns
the class name of the object

References tString.

Referenced by CORE_Object::getIdentityString().

Here is the caller graph for this function:

void GPM_PortGraph::getConnectedNodesToPort ( const tVertexIID portIID,
tVertexIID sourceNode,
tVertexIID targetNode 
) const

get the 2 nodes connected to port ,with portIID internal id

References GPM_Graph::getConnectedVertices(), GPM_Graph::getVertex(), null, and GPM_Graph::NULL_VERTEX.

Referenced by GPMG_DrawPanel::getCoordinates().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_Graph::getConnectedVertices ( const tVertexIID iid,
vector< tVertexIID > &  vertexIIDs 
) const
inherited

get the internal id vertices connected to vertex with internal iid

References GPM_Graph::NULL_VERTEX.

Referenced by findSegments(), getConnectedNodesToPort(), and GPMG_DrawPanel::getPopupMenu().

Here is the caller graph for this function:

int GPM_Graph::getDegree ( const tVertexIID id) const
inherited

get the edges number connected to vertex with id

References GPM_Graph::NULL_VERTEX.

tBoolean GPM_Graph::getEdge ( const tVertexIID e1,
const tVertexIID e2,
tEdgeIID iid 
) const
inherited
SP::GPM_Edge GPM_Graph::getEdge ( const tEdgeIID id)
inherited

get edge with id for writing

SPC::GPM_Edge GPM_Graph::getEdge ( const tEdgeIID id) const
inherited

get edge with id for reading

const GPM_Edge * GPM_Graph::getEdge ( const tVertexIID e1,
const tVertexIID e2 
) const
inherited

get edge between vertices e1 & e2

References GPM_Graph::getEdge(), and null.

Here is the call graph for this function:

GPM_Edge * GPM_Graph::getEdge ( const tVertexIID e1,
const tVertexIID e2 
)
inherited

get edge between vertices e1 & e2

References GPM_Graph::getEdge(), and null.

Here is the call graph for this function:

tBoolean GPM_Graph::getEdgeFromIds ( const int &  e1,
const int &  e2,
tEdgeIID iid 
) const
inlineinherited

get edge between vertices e1 & e2 (convenience method)

References GPM_Graph::getEdge(), and GPM_Graph::getVertexIID().

Here is the call graph for this function:

tBoolean GPM_Graph::getEdgeFromIds ( const int &  e1,
const int &  e2 
) const
inlineinherited

get edge between vertices e1 & e2 (convenience method)

References GPM_Graph::getEdge(), and GPM_Graph::getVertexIID().

Here is the call graph for this function:

int GPM_Graph::getEdgeId ( const tEdgeIID iid) const
inherited

get id of edge with internal id iid

References GPM_Graph::getEdge(), and null.

Here is the call graph for this function:

tBoolean GPM_Graph::getEdgeIID ( const int &  id,
tEdgeIID iid 
) const
inherited

get the internal id of edge with id (for convenience use)

Referenced by GPMG_DrawPanel::deleteEdge(), GPMG_RuleGraphDrawPanel::getPopupMenu(), and GPM_ModelFunction::readRulesFromFile().

Here is the caller graph for this function:

void GPM_Graph::getEdges ( vector< tEdgeIID > &  ids) const
inherited
void GPM_Graph::getEdges ( SV::GPM_Edge &  edges) const
inherited

get the index of edges of the graph

void GPM_Graph::getEdges ( const tVertexIID v,
vector< tEdgeIID > &  edges 
) const
inherited

get the edges from vertex v

References GPM_Graph::NULL_VERTEX.

int GPM_Graph::getEdgesNumber ( ) const
inherited

get the edges number

void GPM_Graph::getEdgeVertices ( const tEdgeIID id,
tVertexIID source,
tVertexIID target 
) const
inherited

get vertices of edges

Referenced by findSegments(), GPM_ModelFunction::readRulesFromFile(), and GPM_Graph::toString().

Here is the caller graph for this function:

const tGraph& GPM_Graph::getGraphImplement ( ) const
inlineinherited

get the graph implementation

Referenced by GPM_Graph::getPatterns(), isEdgeValid(), GPM_Graph::isIsomorph(), isValid(), and GPM_PrintCallback::operator()().

Here is the caller graph for this function:

tGraph& GPM_Graph::getGraphImplement ( )
inlineinherited

get the graph implementation

tString CORE_Object::getIdentityString ( ) const
inlineinherited

return the identity string of the object of the form className_at_address

Returns
the identity string of the object

References CORE_Object::getClassName(), CORE_Object::pointer2String(), and tString.

Referenced by CORE_Object::toString().

Here is the call graph for this function:

Here is the caller graph for this function:

int GPM_PortGraph::getIteration ( ) const
inline

get the prefix

int GPM_PortGraph::getIterationsMaxNumber ( ) const
inline

get the max iterations number

static ostream& CORE_Object::getOutput ( )
inlinestaticinherited

get output

tString GPM_PortGraph::getPath ( ) const
inline

get the path

SV::GPM_PatternFunction& GPM_PortGraph::getPatternFunctions ( )
inline

get the pattern functions

void GPM_Graph::getPatterns ( const GPM_Graph pattern,
const tBoolean isUpToAutomorphism,
const tFlag upToAutomorphismType,
vector< vector< tVertexIID > > &  homomorphisms,
CORE_Out io 
) const
inherited

get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller

References GPM_Graph::getGraphImplement(), and VertexProperties::groupId.

Referenced by findMesh(), and GPM_Graph::getPatterns().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_Graph::getPatterns ( SPC::GPM_Graph  pattern,
const tBoolean isUpToAutomorphism,
const tFlag upToAutomorphismType,
vector< vector< tVertexIID > > &  homomorphisms,
CORE_Out io 
) const
inlineinherited

get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller

References GPM_Graph::getPatterns(), and null.

Here is the call graph for this function:

void GPM_Graph::getPatterns ( const GPM_Graph pattern,
vector< vector< tVertexIID > > &  homomorphisms,
CORE_Out io 
) const
inlineinherited

get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller

References GPM_Graph::getPatterns().

Here is the call graph for this function:

void GPM_Graph::getPatterns ( SPC::GPM_Graph  pattern,
vector< vector< tVertexIID > > &  homomorphisms,
CORE_Out io 
) const
inlineinherited

get all the patterns in graph this thanks to homomorphism mappings pattern must be smaller

References GPM_Graph::getPatterns().

Here is the call graph for this function:

tString CORE_Object::getPointerAddress ( ) const
inlineinherited

return the identity string of the object

Returns
the identity string of the object

References CORE_Object::pointer2String().

Here is the call graph for this function:

tString GPM_PortGraph::getPrefix ( ) const
inline

get the prefix

void CORE_Object::getSharedPointer ( SP::CORE_Object &  p)
inlineinherited
void CORE_Object::getSharedPointer ( SPC::CORE_Object &  p) const
inlineinherited

get the shared pointer of this class into p

template<class T >
static tString CORE_Object::getTypeName ( )
inlinestaticinherited

get type name

References tString.

SP::GPM_Vertex GPM_Graph::getVertex ( const tVertexIID iid) const
inherited
int GPM_Graph::getVertexId ( const tVertexIID iid) const
inherited

get the id of vertex with internal id

References GPM_Graph::NULL_VERTEX.

Referenced by GPM_ModelFunction::readRulesFromFile().

Here is the caller graph for this function:

tVertexIID GPM_Graph::getVertexIID ( const int &  id) const
inherited
void GPM_Graph::getVertices ( vector< tVertexIID > &  vertexIIDs) const
inherited
void GPM_Graph::getVertices ( SV::GPM_Vertex &  vertexIIDs) const
inherited

get the internal id of all vertices

int GPM_Graph::getVerticesNumber ( ) const
inherited

the the vertices numbers

Referenced by GPM_Graph::isIsomorph(), and GPM_PrintCallback::operator()().

Here is the caller graph for this function:

void GPM_PortGraph::initGroupNames ( const vector< tString > &  nodeIds,
const vector< tString > &  portIds 
)

init group name

References GPM_Vertex::getGroupCoordinatesName(), GPM_GraphElement::getVariable(), GPM_Graph::getVertices(), null, GPM_GraphElement::setGroupName(), tString, and GPM_Graph::updateGroupId().

Referenced by GPM_PatternFunction::initGroupNames().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_PortGraph::initGroupNames ( )
inline

init group name to type of the vertex

static tBoolean CORE_Object::is32Architecture ( )
inlinestaticinherited

return true if the machine is a 32 bits machine

References CORE_Object::is64Architecture().

Here is the call graph for this function:

tBoolean CORE_Object::is64Architecture ( )
staticinherited

return true if the machine is a 64 bits machine

Referenced by CORE_Object::is32Architecture().

Here is the caller graph for this function:

tString GPM_PortGraph::isEdgeValid ( const GPM_Vertex source,
const GPM_Vertex target,
tBoolean isValid 
) const
virtual

return true if the 2 vectex can be connected by edge

References GPM_Graph::getGraphImplement(), GPM_GraphElement::getId(), GPM_Graph::getVertexIID(), null, tBoolean, and CORE_Integer::toString().

Referenced by GPMG_DrawPanel::addEdge().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T >
tBoolean CORE_Object::isInstanceOf ( ) const
inlineinherited

return true if the object is an instance of T

References null.

Referenced by MATH_BinaryOperator::insertInTree(), MATH_UnaryOperator::insertInTree(), and MATH_EndBlock::insertInTree().

Here is the caller graph for this function:

tBoolean GPM_Graph::isIsomorph ( const GPM_Graph g,
vector< tVertexIID > &  verticesMap,
CORE_Out io 
) const
inherited

return true if graph is isomorph

Parameters
g: graph to test the isomorphism whith g
verticesMap: return the mapping from this to g
iooutput device

References GPM_Graph::getGraphImplement(), GPM_Graph::getVerticesNumber(), vertexInvarientFunction::New(), and tBoolean.

Referenced by GPM_Graph::isIsomorph().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_Graph::isIsomorph ( SPC::GPM_Graph  g,
vector< tVertexIID > &  verticesMap,
CORE_Out io 
) const
inlineinherited

return true if graph is isomorph

Parameters
g: graph to test the isomorphism whith g
verticesMap: return the mapping from this to g
iooutput device

References GPM_Graph::isIsomorph(), and null.

Here is the call graph for this function:

tBoolean GPM_Graph::isIsomorph ( SPC::GPM_Graph  g,
CORE_Out io 
) const
inlineinherited

return true if graph is isomorph

Parameters
g: graph to test the isomorphism whith g
iooutput device

References GPM_Graph::isIsomorph().

Here is the call graph for this function:

tBoolean GPM_Graph::isIsomorph ( const GPM_Graph g,
CORE_Out io 
) const
inlineinherited

return true if graph is isomorph

Parameters
g: graph to test the isomorphism whith g
iooutput device

References GPM_Graph::isIsomorph().

Here is the call graph for this function:

tBoolean GPM_PortGraph::isMappingValid ( const SV::GPM_Vertex &  smallGraphVertices,
const vector< tVertexIID > &  mapping,
CORE_Out io 
) const
virtual

return true if the mapping is valid

Reimplemented from GPM_Graph.

References GPM_Graph::isMappingValid(), isValid(), null, and tBoolean.

Here is the call graph for this function:

tBoolean GPM_PortGraph::isValid ( ) const
virtual

validate the graph

References GPM_Graph::getGraphImplement(), null, and tBoolean.

Referenced by isMappingValid().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_Graph::loadFromFile ( const tString fileName,
CORE_Out io 
)
inherited

load graph from txt file

References tBoolean, and tString.

Referenced by loadGraph().

Here is the caller graph for this function:

tBoolean GPM_PortGraph::loadGraph ( const tString path,
const tString prefix,
const int &  nDigits,
const int &  iterations,
CORE_Out io,
tString fn 
)
virtual

load the graph during running

Parameters
the name of the load file in path

References GPM_Graph::loadFromFile(), tBoolean, and CORE_Integer::toString().

Referenced by GPMG_Project::run().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_Graph::merge ( const tVertexIID from,
const tVertexIID to,
CORE_Out io 
)
inherited

merge two vertex

Parameters
fromthe vertex to merge: it will be removed
tothe new vertex

References GPM_Graph::addEdge(), CORE_Out::ERROR_MSG, GPM_Graph::getEdge(), GPM_Graph::getVertex(), CORE_Out::println(), GPM_Graph::removeVertex(), tBoolean, and CORE_Integer::toString().

Here is the call graph for this function:

static SP::GPM_PortGraph GPM_PortGraph::New ( )
inlinestatic
virtual SP::GPM_Edge GPM_Graph::newEdge ( ) const
inlinevirtualinherited

get the edge internal id

Returns
false if the edge with id does not exists

update the edge internal ids after removing

create an edge

Reimplemented in GPM_ModelGraph.

References GPM_Edge::New().

Referenced by GPMG_RuleGraphDrawPanel::addEdge(), GPM_Graph::addEdge(), GPM_Graph::addEdgeFromIds(), GPM_PatternFunction::addPTEdgeToAdd(), generateQuadGraph(), and GPM_Graph::newInstance().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual SP::GPM_Edge GPM_Graph::newEdge ( const int &  id) const
inlinevirtualinherited

create a node

Reimplemented in GPM_ModelGraph.

References GPM_Edge::New().

Here is the call graph for this function:

virtual SP::GPM_Edge GPM_Graph::newEdge ( SP::GPM_Vertex  source,
SP::GPM_Vertex  target 
) const
inlinevirtualinherited

create a node

Reimplemented in GPM_ModelGraph.

References GPM_Edge::New().

Here is the call graph for this function:

SP::GPM_GraphElement GPM_PortGraph::newInstance ( const tString className) const
virtual

create a new instance of token

Reimplemented from GPM_Graph.

References GPM_Graph::newInstance(), newPort(), CORE_String::toLower(), and tString.

Here is the call graph for this function:

virtual SP::GPM_Node GPM_Graph::newNode ( ) const
inlinevirtualinherited

create a node

Reimplemented in GPM_ModelGraph.

References GPM_Node::New().

Referenced by GPM_Graph::addNode(), and GPM_Graph::newInstance().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual SP::GPM_Port GPM_PortGraph::newPort ( ) const
inlinevirtual

create a port

Reimplemented in GPM_ModelGraph.

References GPM_Port::New().

Referenced by addPortEdgeFromIds(), and newInstance().

Here is the call graph for this function:

Here is the caller graph for this function:

void CORE_Object::outputPrint ( const tString message)
staticinherited

print on output

References null, and CORE_Object::print().

Referenced by CORE_Exception::CORE_Exception().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void GPM_PortGraph::patternsMappingSignalEmit ( const SVC::GPM_PatternFunction  patternFunction,
const vector< vector< vector< tVertexIID > > > &  fmappings 
) const
inlineprotectedvirtual

signal emmiting when the matching of patterns is done

Reimplemented in GPM_ConwayGraph, and GPM_ModelGraph.

tString CORE_Object::pointer2String ( const void *  obj)
staticinherited

return the string represantation of a pointer

References tString.

Referenced by CORE_Object::CORE_Object(), CORE_Object::getIdentityString(), CORE_Object::getPointerAddress(), and CORE_Object::~CORE_Object().

Here is the caller graph for this function:

virtual void CORE_Object::print ( )
inlinevirtualinherited

print the class

References CORE_Object::toString().

Referenced by CORE_Object::outputPrint(), CORE_Out::print(), CORE_Object::print(), CORE_Out::printInt(), CORE_Out::println(), CORE_Out::printReal(), CORE_Out::printString(), and CORE_Out::setAction().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual ostream& CORE_Object::print ( ostream &  out) const
inlinevirtualinherited

print the class

References CORE_Object::print(), and CORE_Object::toString().

Here is the call graph for this function:

void CORE_Object::print ( const tString message)
virtualinherited

print the class

Reimplemented in CORE_Out.

References null, and CORE_Object::print().

Here is the call graph for this function:

void CORE_Object::print ( const tInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tRelativeInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tReal str)
virtualinherited

print

References null.

void CORE_Object::print ( const int &  str)
virtualinherited

print

References null.

static ostream& CORE_Object::print ( ostream &  out,
const tString message 
)
inlinestaticinherited

print the class

void GPM_Graph::printGroupId ( CORE_Out io) const
inherited

print the group id

References CORE_Out::DEBUG_MSG, VertexProperties::groupId, and CORE_Out::println().

Here is the call graph for this function:

void CORE_Object::printObjectsInMemory ( )
staticinherited

print object in memory

References CORE_Object::getClassName(), CORE_Object::getSharedPointer(), and CORE_Object::mIsMemoryTesting.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_PortGraph::reduce ( int &  nReductions,
CORE_Out io 
)
virtual

reduce the graph make on loop until one reduction is done return false if the reducing failed

Parameters
nReductionthe number of reductions

References tBoolean.

tBoolean GPM_Graph::removeEdge ( const tEdgeIID edgeId)
inherited

remove edge with id WARNING: the edgeIID of all the edges may changed !

Referenced by GPMG_DrawPanel::deleteEdge(), and GPM_Graph::executeTriggerActions().

Here is the caller graph for this function:

tBoolean GPM_Graph::removeEdges ( const tVertexIID vertexIID)
inherited

remove all edges from vertex with internal id WARNING: the edgeIID of all the edges may changed !

tBoolean GPM_Graph::removeEdges ( const tVertexIID form,
const tVertexIID to 
)
inherited

remove all edges from vertices from & to WARNING: the edgeIID of all the edges may changed !

References GPM_Graph::NULL_VERTEX.

void GPM_Graph::removeVertex ( const tVertexIID iid)
inherited

remove vertex with internal id: iid WARNING: the vertexIID of all the nodes may changed !

References GPM_Graph::NULL_VERTEX.

Referenced by GPMG_DrawPanel::deleteVertex(), GPM_Graph::executeTriggerActions(), and GPM_Graph::merge().

Here is the caller graph for this function:

tBoolean GPM_PortGraph::rewrite ( int &  nReductions,
CORE_Out io 
)
inline

rewrite the graph substitute the patterns by the graphs defined in PatternFunctions algorithm:

  • search the pattern in graph This thanks to a mapping. (notice that a mapping must only be between 2 vertices in the same group)

for each pattern, substitute it by Transformed graph into the large graph this & apply the pattern function for coordinates settings

  • reduce the graph this in order to remain a port graph

Referenced by GPMG_Project::run().

Here is the caller graph for this function:

tBoolean GPM_PortGraph::run ( CORE_Out io)

run the writer

References CORE_Out::ERROR_MSG, CORE_Out::println(), saveGraph(), tBoolean, and tString.

Here is the call graph for this function:

tBoolean GPM_PortGraph::run ( const tString path,
const tString prefix,
const int &  nMaxIterations,
CORE_Out io 
)
inline

run the writer

References run().

Here is the call graph for this function:

tBoolean GPM_PortGraph::saveGraph ( const tString path,
const tString prefix,
const int &  nDigits,
const int &  iterations,
tString fn 
) const
virtual

save the graph during running

Parameters
the name of the saved file in path

Reimplemented in GPM_2DSnowGraph.

References GPM_Graph::saveToFile(), tBoolean, and CORE_Integer::toString().

Referenced by run(), GPMG_Project::run(), and GPM_2DSnowGraph::saveGraph().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPM_Graph::saveToFile ( const tString fileName) const
inherited

save graph to txt file

Referenced by GPMG_Project::saveData(), and saveGraph().

Here is the caller graph for this function:

void GPM_PortGraph::setIteration ( const int &  v)
inlineprotected

set the iteration

void GPM_PortGraph::setIterationsMaxNumber ( const int &  v)
inline

set the max iterations number

static void CORE_Object::setOutput ( ostream &  out)
inlinestaticinherited

set output

void GPM_PortGraph::setPath ( const tString path)
inline

set the path

void GPM_PortGraph::setPrefix ( const tString v)
inline

set the prefix

void CORE_Object::setThis ( SP::CORE_Object  p)
inlineprotectedinherited

set this weak shared pointer called toDoAfterThis setting method

References CORE_Object::toDoAfterThisSetting().

Here is the call graph for this function:

virtual void CORE_Object::setType ( tString  type)
inlineprotectedvirtualinherited
virtual void CORE_Object::toDoAfterThisSetting ( )
inlineprotectedvirtualinherited
tString GPM_Graph::toString ( ) const
virtualinherited

set the graph to string

Reimplemented from CORE_Object.

References GPM_Graph::getEdgeVertices(), GPM_Graph::getVertexIID(), CORE_Integer::toString(), and tString.

Here is the call graph for this function:

static void GPM_Object::turnBodyLineToText ( tString bdy)
inlinestaticinherited

brief turn the body from the line to text

References CORE_String::replaceAll().

Referenced by GPMG_Project::loadFromUIClass(), and GPM_ModelFunction::readRulesFromFile().

Here is the call graph for this function:

Here is the caller graph for this function:

static void GPM_Object::turnBodyTextToLine ( tString bdy)
inlinestaticinherited

brief turn the body from the text to line

References CORE_String::replaceAll().

Referenced by GPM_ModelFunction::saveRulesToFile(), and GPMG_Project::saveToUIClass().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_PortGraph::updateGraphElementsEnvironment ( const map< tString, SP::GPM_Variable > &  nodeEnvironment,
const map< tString, SP::GPM_Variable > &  portEnvironment,
const map< tString, SP::GPM_Variable > &  edgeEnvironment 
)

update the environment of all graph elements (reverse method of build environments)

References GPM_Graph::getEdges(), GPM_Graph::getVertices(), null, and GPM_GraphElement::updateEnvironment().

Referenced by GPMG_Project::updateGraphsEnvironments().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPM_Graph::updateGroupId ( )
inherited

update the group Id of all elements of graph

References VertexProperties::groupId, and VertexProperties::vertex.

Referenced by initGroupNames().

Here is the caller graph for this function:

Member Data Documentation

const tFlag GPM_PortGraph::HEXAHEDRON =8
static

Referenced by findMesh().

tBoolean CORE_Object::mIsMemoryTesting =false
staticinherited

indicator to store all classes created and deleted only for debuging version

Referenced by CORE_Object::CORE_Object(), main(), CORE_Object::printObjectsInMemory(), and CORE_Object::~CORE_Object().

const tVertexIID GPM_Graph::NULL_VERTEX =boost::graph_traits<tGraph>::null_vertex()
staticinherited
const tFlag GPM_PortGraph::PYRAMID =5
static

Referenced by findMesh().

const tFlag GPM_PortGraph::SEGMENT =2
static

Referenced by findMesh().

const tFlag GPM_PortGraph::TETRAHEDRON =4
static

Referenced by findMesh().

const tFlag GPM_PortGraph::TRIANGLE =3
static

Referenced by findMesh().

const tFlag GPM_Graph::UP_TO_AUTOMORPHISM_ALL =0
staticinherited
const tFlag GPM_Graph::UP_TO_AUTOMORPHISM_NODE =1
staticinherited
const tFlag GPM_Graph::UP_TO_AUTOMORPHISM_PORT =2
staticinherited
const tFlag GPM_PortGraph::WEDGE =6
static

Referenced by findMesh().


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