1 #ifndef GPM_ModelEdge_H
2 #define GPM_ModelEdge_H
52 inline static SP::GPM_ModelEdge
New(SP::GPM_Vertex source,
53 SP::GPM_Vertex target) {
60 static inline SP::GPM_ModelEdge
New(
const int&
id) {
61 SP::GPM_Vertex edge,target;
68 static inline SP::GPM_ModelEdge
New() {
69 SP::GPM_Vertex edge,target;
virtual void copy(const GPM_GraphElement &node)
copy
Definition: GPM_GraphElement.cpp:34
virtual ~GPM_ModelEdge(void)
destroy
Definition: GPM_ModelEdge.cpp:7
This class describes a model GraphElement interface.
Definition: GPM_ModelGraphElement.h:21
virtual void updateEnvironment(const map< tString, SP::GPM_Variable > &env)
update the environment
Definition: GPM_ModelGraphElement.cpp:29
#define null
Definition: types.h:13
GPM_ModelEdge(SP::GPM_Vertex source, SP::GPM_Vertex target)
create
Definition: GPM_ModelEdge.cpp:4
This class describes a model Edge.
Definition: GPM_ModelEdge.h:18
This class describes a edge.
Definition: GPM_Edge.h:15
DEFINE_SPTR(GPM_ModelEdge)
static SP::GPM_ModelEdge New(const int &id)
create an edge
Definition: GPM_ModelEdge.h:60
virtual void updateEnvironment(const map< tString, SP::GPM_Variable > &env)
update environment
Definition: GPM_GraphElement.cpp:114
static SP::GPM_ModelEdge New()
create an edge
Definition: GPM_ModelEdge.h:68
virtual void updateEnvironment(const map< tString, SP::GPM_Variable > &env)
update the environment
Definition: GPM_ModelEdge.h:88
virtual SP::GPM_GraphElement NewInstance() const
create a new instance
Definition: GPM_ModelEdge.h:74
This class describes an element of a graph.
Definition: GPM_GraphElement.h:17
virtual void copy(const GPM_ModelGraphElement &vertex)
copy
Definition: GPM_ModelGraphElement.cpp:13
virtual void copy(const GPM_GraphElement &node)
copy
Definition: GPM_ModelEdge.h:81
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
static SP::GPM_ModelEdge New(SP::GPM_Vertex source, SP::GPM_Vertex target)
create a test class
Definition: GPM_ModelEdge.h:52