forgot to commit this...
This commit is contained in:
parent
6d4216bc2a
commit
9656ce1a55
1 changed files with 22 additions and 0 deletions
22
lladd/graph.h
Normal file
22
lladd/graph.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
#include <lladd/transactional.h>
|
||||
#include <lladd/fifo.h>
|
||||
|
||||
#ifndef __LLADD_GRAPH_H
|
||||
#define __LLADD_GRAPH_H
|
||||
|
||||
typedef struct {
|
||||
int outPage; ///<= number of links that leave this page.
|
||||
short inPage; ///<= number of links that stay within this page
|
||||
/// (represented as an array of shorts after the
|
||||
/// array of links leaving the page.)
|
||||
short flags; ///<= information about this node. (algorithm specific...)
|
||||
} nodeHeader_t;
|
||||
|
||||
|
||||
void naiveTraverse(int xid, recordid rid);
|
||||
void multiTraverse(int xid, int page, lladdFifo_t * local, lladdFifo_t * global);
|
||||
void pushRequest(lladdConsumer_t * cons);
|
||||
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue