1
<html><head><TITLE>TRGraph</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class TRGraph : public <!2><A HREF="Graph.html#DOC.194.1">Graph</A> </H2><BLOCKQUOTE>
4
generic textual tree graph class.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
9
<param name=classes value="CGraph,MGraph.html,CTRGraph,MTRGraph.html,CFDGraph,MFDGraph.html">
10
<param name=before value="M,M,M^_">
11
<param name=after value="Md_,M,M">
12
<param name=indent value="0,1,1">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.391.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>TRGraph</B> ()<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.391.2"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>InitConnections</B> ()<br>
23
</TD></TR></TABLE></DL>
24
<hr><H3>Inherited from <A HREF="Graph.html">Graph:</A></h3>
28
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>AddNode</B>(<!1><A HREF="Node.html">Node</A> *node)
29
<DT><IMG SRC=icon2.gif> void <B>AddEdge</B>(<!1><A HREF="Edge.html">Edge</A> *edge)
30
<DT><IMG SRC=icon2.gif> void <B>RemoveNode</B>(<!1><A HREF="Node.html">Node</A> *node)
31
<DT><IMG SRC=icon2.gif> void <B>RemoveEdge</B>(<!1><A HREF="Edge.html">Edge</A> *edge)
32
<DT><IMG SRC=icon2.gif> bool <B>HasNode</B>(<!1><A HREF="Node.html">Node</A> *node)
33
<DT><IMG SRC=icon2.gif> bool <B>HasEdge</B>(<!1><A HREF="Edge.html">Edge</A> *edge)
34
<DT><IMG SRC=icon2.gif> void <B>ClearNodes</B>()
35
<DT><IMG SRC=icon2.gif> void <B>ClearEdges</B>()
36
<DT><IMG SRC=icon2.gif> bool <B>CheckConnection</B>(int stype1, int stype2, int edgetype)
37
<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)
38
<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)
39
<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)
40
<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)
41
<DT><IMG SRC=icon2.gif> int <B>CompleteSubjects</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
42
<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)
43
<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)
44
<DT><IMG SRC=icon2.gif> int <B>CompleteEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
45
<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)
46
<DT><IMG SRC=icon2.gif> int <B>GetNodes</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
47
<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)
48
<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)
49
<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)
50
<DT><IMG SRC=icon2.gif> int <B>GetEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *l)
51
<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)
52
<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)
53
<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)
54
<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)
55
<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)
56
<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)
57
<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)
58
<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)
59
<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)
60
<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)
61
<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)
62
<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)
63
<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)
64
<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)
65
<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)
66
<DT><IMG SRC=icon2.gif> int <B>CountNodes</B>()
67
<DT><IMG SRC=icon2.gif> int <B>CountNodes</B>(int t)
68
<DT><IMG SRC=icon2.gif> int <B>CountNodes</B>(const <!1><A HREF="string.html">string</A> *n)
69
<DT><IMG SRC=icon2.gif> int <B>CountNodes</B>(const <!1><A HREF="string.html">string</A> *n, int t)
70
<DT><IMG SRC=icon2.gif> int <B>CountEdges</B>()
71
<DT><IMG SRC=icon2.gif> int <B>CountEdges</B>(int t)
72
<DT><IMG SRC=icon2.gif> int <B>CountEdges</B>(const <!1><A HREF="string.html">string</A> *n)
73
<DT><IMG SRC=icon2.gif> int <B>CountEdges</B>(const <!1><A HREF="string.html">string</A> *n, int t)
74
<DT><IMG SRC=icon2.gif> int <B>CountEdgesFrom</B>(<!1><A HREF="Subject.html">Subject</A> *s)
75
<DT><IMG SRC=icon2.gif> int <B>CountEdgesFrom</B>(<!1><A HREF="Subject.html">Subject</A> *s, int t)
76
<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)
77
<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)
78
<DT><IMG SRC=icon2.gif> int <B>CountEdgesTo</B>(<!1><A HREF="Subject.html">Subject</A> *s)
79
<DT><IMG SRC=icon2.gif> int <B>CountEdgesTo</B>(<!1><A HREF="Subject.html">Subject</A> *s, int t)
80
<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)
81
<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)
82
<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)
83
<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)
84
<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)
85
<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)
86
<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)
87
<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)
88
<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)
89
<DT><IMG SRC=icon2.gif> void <B>WriteSubjects</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *f)
90
<DT><IMG SRC=icon2.gif> void <B>SetCounter</B>(int n)
91
<DT><IMG SRC=icon2.gif> int <B>GetCounter</B>()
92
<DT><IMG SRC=icon2.gif> void <B>SetIndexPrefix</B>(const char *s)
93
<DT><IMG SRC=icon2.gif> void <B>SetIndexPrefix</B>(const <!1><A HREF="string.html">string</A> *s)
94
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetIndexPrefix</B>() const
95
<DT><IMG SRC=icon2.gif> void <B>GetIndex</B>(<!1><A HREF="string.html">string</A> *s)
96
<DT><IMG SRC=icon2.gif> virtual void <B>GetNextIndex</B>(<!1><A HREF="string.html">string</A> *index)
97
<DT><IMG SRC=icon2.gif> virtual int <B>CountIndexes</B>(const <!1><A HREF="string.html">string</A> *index)
99
<DT><h3>Protected Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B></B>
101
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> int* <B>nodeTypes</B>
102
<DT><IMG SRC=icon2.gif> int* <B>edgeTypes</B>
103
<DT><IMG SRC=icon2.gif> int <B>connections</B>[MAX_TYPES][MAX_TYPES][MAX_TYPES]
104
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Node.html">Node</A> *> * <B>nodes</B>
105
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Edge.html">Edge</A> *> * <B>edges</B>
107
<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)
108
<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)
112
<h2> Documentation </h2>
114
generic textual tree graph class.
120
<A NAME ="DOC.391.1">
121
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> TRGraph()</B></TT>
123
<A NAME="InitConnections">
124
<A NAME ="DOC.391.2">
125
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void InitConnections()</B></TT>
128
<DL><DT><B>Direct child classes:
129
</B><DD><A HREF="FDGraph.html"> FDGraph </A><br>
131
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
132
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
133
<P Align=Center><I>this page has been generated automatically by doc++</I>
134
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>