smntc
an in-memory multimodal graph database
Loading...
Searching...
No Matches
Binary.h
Go to the documentation of this file.
1#ifndef __BINARY_HEADER__
2#define __BINARY_HEADER__
3
4#include "Graph.h"
5
6struct Binary;
7
9 unsigned int root,
10 struct Graph *graph,
11 int *error
12);
13
15 struct Binary *this
16);
17
27unsigned int Binary_writeCode(
28 struct Binary *this,
29 unsigned int input,
30 int *error
31);
32
34unsigned int Binary_readCode(
35 struct Binary *this,
36 unsigned int code,
37 int *error
38);
39
40#endif
unsigned int Binary_writeCode(struct Binary *this, unsigned int input, int *error)
It writes binary value from an unsigned integer into a graph.
Definition Binary.c:96
struct Binary * Binary_destruct(struct Binary *this)
Definition Binary.c:87
unsigned int Binary_readCode(struct Binary *this, unsigned int code, int *error)
It reads binary value into an unsigned integer when given a vertex from a binary cluster.
Definition Binary.c:211
struct Binary * Binary_construct(unsigned int root, struct Graph *graph, int *error)
ssssw
Definition Binary.c:42
unsigned int root
Definition Binary.c:28
struct Graph * graph
Definition Binary.c:31
Definition Graph.c:20