LIKWID
tree_types.h
1 /*
2  * =======================================================================================
3  *
4  * Filename: tree_types.h
5  *
6  * Description: Types file for tree module.
7  *
8  * Version: <VERSION>
9  * Released: <DATE>
10  *
11  * Author: Jan Treibig (jt), jan.treibig@gmail.com
12  * Project: likwid
13  *
14  * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg
15  *
16  * This program is free software: you can redistribute it and/or modify it under
17  * the terms of the GNU General Public License as published by the Free Software
18  * Foundation, either version 3 of the License, or (at your option) any later
19  * version.
20  *
21  * This program is distributed in the hope that it will be useful, but WITHOUT ANY
22  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
23  * PARTICULAR PURPOSE. See the GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License along with
26  * this program. If not, see <http://www.gnu.org/licenses/>.
27  *
28  * =======================================================================================
29  */
30 #ifndef TREE_TYPES_H
31 #define TREE_TYPES_H
32 
42 struct treeNode {
43  int id;
44  struct treeNode* llink;
45  struct treeNode* rlink;
46 };
47 
49 typedef struct treeNode TreeNode;
52 #endif /*TREE_TYPES_H*/
int id
ID of the node.
Definition: tree_types.h:43
struct treeNode * rlink
List of neighbors of the current node.
Definition: tree_types.h:45
Structure of a tree node.
Definition: tree_types.h:42
struct treeNode * llink
List of children of the current node.
Definition: tree_types.h:44