File: ERGraph.html

package info (click to toggle)
tcm 2.20%2BTSQD-5
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 20,168 kB
  • ctags: 17,471
  • sloc: ansic: 78,531; sh: 3,675; makefile: 1,346; perl: 753; yacc: 558; lex: 260
file content (164 lines) | stat: -rwxr-xr-x 14,509 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<html><head><TITLE>ERGraph</TITLE></head>
<body>
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  ERGraph : public <!2><A HREF="Graph.html#DOC.194.1">Graph</A> </H2><BLOCKQUOTE>
 entity-relationship graph class
</BLOCKQUOTE>
<hr>
 <h2> Inheritance:</h2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
<param name=classes value="CGraph,MGraph.html,CERGraph,MERGraph.html,CUCGraph,MUCGraph.html,CSSDGraph,MSSDGraph.html,CCRGraph,MCRGraph.html">
<param name=before value="M,M,M|_,MR_,Mr_">
<param name=after value="Md_,M,M,M,M">
<param name=indent value="0,1,1,1,1">
<param name=arrowdir value="down">
</APPLET>
<hr>

<DL>
<TABLE>
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.154.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>ERGraph</B> ()<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.154.2"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsaLeaves</B> (<!1><A HREF="Subject.html">Subject</A> *s)<br>
<I> returns if an is\_a edge leaves this subject.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.154.3"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsaPathExists</B> (<!1><A HREF="Subject.html">Subject</A> *n1, <!1><A HREF="Subject.html">Subject</A> *n2)<br>
<I> returns if there is an is\_a path from n1 to n2.</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.154.4"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsaPathExists</B> (<!1><A HREF="Subject.html">Subject</A> *n1, <!1><A HREF="Subject.html">Subject</A> *n2, <!1><A HREF="List.html">List</A><<!1><A HREF="Edge.html">Edge</A> *> *path)<br>
<I></I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.154.5"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Subject.html">Subject</A>* </TD><TD><B>GetGeneralization</B> (<!1><A HREF="Subject.html">Subject</A> *s)<br>
<I> return the subject that is a generalization of this subject</I>
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.154.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>InitConnections</B> ()<br>
<I></I>
</TD></TR></TABLE></DL>
<hr><H3>Inherited from <A HREF="Graph.html">Graph:</A></h3>

<DL>
<DL>
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void  <B>AddNode</B>(<!1><A HREF="Node.html">Node</A> *node)
<DT><IMG SRC=icon2.gif> void  <B>AddEdge</B>(<!1><A HREF="Edge.html">Edge</A> *edge)
<DT><IMG SRC=icon2.gif> void  <B>RemoveNode</B>(<!1><A HREF="Node.html">Node</A> *node)
<DT><IMG SRC=icon2.gif> void  <B>RemoveEdge</B>(<!1><A HREF="Edge.html">Edge</A> *edge)
<DT><IMG SRC=icon2.gif> bool  <B>HasNode</B>(<!1><A HREF="Node.html">Node</A> *node)
<DT><IMG SRC=icon2.gif> bool  <B>HasEdge</B>(<!1><A HREF="Edge.html">Edge</A> *edge)
<DT><IMG SRC=icon2.gif> void  <B>ClearNodes</B>()
<DT><IMG SRC=icon2.gif> void  <B>ClearEdges</B>()
<DT><IMG SRC=icon2.gif> bool  <B>CheckConnection</B>(int stype1, int stype2, int edgetype)
<DT><IMG SRC=icon2.gif> bool  <B>IsConnected</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2)
<DT><IMG SRC=icon2.gif> bool  <B>IsConnected</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> bool  <B>IsConnected</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, int t)
<DT><IMG SRC=icon2.gif> bool  <B>IsConnected</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>CompleteSubjects</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
<DT><IMG SRC=icon2.gif> int  <B>CompleteSubject</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> int  <B>CompleteSubject</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2)
<DT><IMG SRC=icon2.gif> int  <B>CompleteEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
<DT><IMG SRC=icon2.gif> int  <B>GetConnected</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> int  <B>GetNodes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
<DT><IMG SRC=icon2.gif> int  <B>GetNodes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetNodes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>GetNodes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesFrom</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesFrom</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesFrom</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesFrom</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesTo</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesTo</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesTo</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>GetEdgesTo</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *from, <!1><A HREF="Subject.html">Subject</A> *to)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *from, <!1><A HREF="Subject.html">Subject</A> *to, int t)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *from, <!1><A HREF="Subject.html">Subject</A> *to, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l, <!1><A HREF="Subject.html">Subject</A> *from, <!1><A HREF="Subject.html">Subject</A> *to, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountNodes</B>()
<DT><IMG SRC=icon2.gif> int  <B>CountNodes</B>(int t)
<DT><IMG SRC=icon2.gif> int  <B>CountNodes</B>(const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>CountNodes</B>(const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>()
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>(int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>(const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>(const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesFrom</B>(<!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesFrom</B>(<!1><A HREF="Subject.html">Subject</A> *s, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesFrom</B>(<!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesFrom</B>(<!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesTo</B>(<!1><A HREF="Subject.html">Subject</A> *s)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesTo</B>(<!1><A HREF="Subject.html">Subject</A> *s, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesTo</B>(<!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>CountEdgesTo</B>(<!1><A HREF="Subject.html">Subject</A> *s, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2)
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, int t)
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, const <!1><A HREF="string.html">string</A> *n)
<DT><IMG SRC=icon2.gif> int  <B>CountEdges</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, const <!1><A HREF="string.html">string</A> *n, int t)
<DT><IMG SRC=icon2.gif> bool  <B>PathExists</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2)
<DT><IMG SRC=icon2.gif> bool  <B>PathExists</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, int t)
<DT><IMG SRC=icon2.gif> bool  <B>UndirectedPathExists</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2)
<DT><IMG SRC=icon2.gif> void  <B>WriteSubjects</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
<DT><IMG SRC=icon2.gif> void  <B>SetCounter</B>(int n)
<DT><IMG SRC=icon2.gif> int  <B>GetCounter</B>()
<DT><IMG SRC=icon2.gif> void  <B>SetIndexPrefix</B>(const char *s)
<DT><IMG SRC=icon2.gif> void  <B>SetIndexPrefix</B>(const <!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> const  <!1><A HREF="string.html">string</A>*  <B>GetIndexPrefix</B>() const 
<DT><IMG SRC=icon2.gif> void  <B>GetIndex</B>(<!1><A HREF="string.html">string</A> *s)
<DT><IMG SRC=icon2.gif> virtual  void  <B>GetNextIndex</B>(<!1><A HREF="string.html">string</A> *index)
<DT><IMG SRC=icon2.gif> virtual  int  <B>CountIndexes</B>(const <!1><A HREF="string.html">string</A> *index)
</DL><DL>
<DT><h3>Protected Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum <B></B>
</DL><DL>
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> int*  <B>nodeTypes</B>
<DT><IMG SRC=icon2.gif> int*  <B>edgeTypes</B>
<DT><IMG SRC=icon2.gif> int  <B>connections</B>[MAX_TYPES][MAX_TYPES][MAX_TYPES]
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Node.html">Node</A> *> *  <B>nodes</B>
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Edge.html">Edge</A> *> *  <B>edges</B>
</DL><DL>
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> bool  <B>PathExists</B>(<!1><A HREF="Subject.html">Subject</A> *s1, <!1><A HREF="Subject.html">Subject</A> *s2, int edgetype, bool Directed)
<DT><IMG SRC=icon2.gif> int  <B>CountIndex</B>(const <!1><A HREF="string.html">string</A> *index, <!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
</DL></DL>
<A NAME="DOC.DOCU">
<hr>
 <h2> Documentation </h2>
<BLOCKQUOTE>
 entity-relationship graph class

</BLOCKQUOTE>
<DL>

<A NAME="ERGraph">
<A NAME ="DOC.154.1">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  ERGraph()</B></TT>
<DL></DL><P>
<A NAME="IsaLeaves">
<A NAME ="DOC.154.2">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsaLeaves(<!1><A HREF="Subject.html">Subject</A> *s)</B></TT>
<DD> returns if an is\_a edge leaves this subject.
<DL></DL><P>
<A NAME="IsaPathExists">
<A NAME ="DOC.154.3">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsaPathExists(<!1><A HREF="Subject.html">Subject</A> *n1, <!1><A HREF="Subject.html">Subject</A> *n2)</B></TT>
<DD> returns if there is an is\_a path from n1 to n2.
<DL></DL><P>
<A NAME="IsaPathExists">
<A NAME ="DOC.154.4">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsaPathExists(<!1><A HREF="Subject.html">Subject</A> *n1, <!1><A HREF="Subject.html">Subject</A> *n2, <!1><A HREF="List.html">List</A><<!1><A HREF="Edge.html">Edge</A> *> *path)</B></TT>
<DL></DL><P>
<A NAME="GetGeneralization">
<A NAME ="DOC.154.5">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Subject.html">Subject</A>*  GetGeneralization(<!1><A HREF="Subject.html">Subject</A> *s)</B></TT>
<DD> return the subject that is a generalization of this subject
<DL></DL><P>
<A NAME="InitConnections">
<A NAME ="DOC.154.6">
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  InitConnections()</B></TT>
<DL></DL><P></DL>
<hr>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="UCGraph.html"> UCGraph </A><br>
<A HREF="SSDGraph.html"> SSDGraph </A><br>
<A HREF="CRGraph.html"> CRGraph </A><br>
</DL>
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
<P Align=Center><I>this page has been generated automatically by doc++</I>
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte  Z&ouml;ckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
</BODY>