Graphpass
0.0.2
A helper library for network filtering, analysis and visualization
|
The base library for nutil. More...
#include "gexf.h"
#include "rnd.h"
#include "reports.h"
#include "io.h"
#include "viz.h"
#include "analyze.h"
#include "quickrun.h"
#include "filter.h"
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE 1 |
#define | PROGRAM_NAME "Graph Pass" |
#define | BUG_REPORT "ryan.deschamps@gmail.com" |
#define | GIT_REPOSITORY "https://www.github.com/archivesunleashed/graphpass" |
#define | COLOUR_SET_PASTEL "pastel.h" |
#define | COLOUR_SET_PRIMARY "primary.h" |
#define | COLOUR_SET_DAMPENED "dampened.h" |
#define | VIZ_SET_SPACIOUS "viz_spacious.h" |
#define | VIZ_SET_LARGE "viz_large.h" |
#define | VIZ_SET_SMALL "vis_small.h" |
#define | MAX_METHODS 9 |
#define | ALL_METHODS 'abcdehioprw' |
#define | SIZE_DEFAULT "Degree" |
#define | SIZE_DEFAULT_CHAR 'd' |
#define | COLOR_BASE "WalkTrapModularity" |
#define | PAGERANK_DAMPING 0.85 |
#define | LAYOUT_DEFAULT_CHAR = 'f' |
#define | NELEMS(x) (sizeof(x) / sizeof((x)[0])) |
#define | FILENAME(x) x ? x : "cpp.graphml" |
#define | DIRECTORY(x) x ? x : "assets/" |
#define | OUTPUT(x) x ? x : "OUT/" |
#define | METHODS (x) x ? x : "b" |
#define | PERCENT (x) x ? x : 0.0 |
Enumerations | |
enum | bool { false, true, false, true } |
Variables | |
igraph_t | g |
igraph_attribute_table_t | att |
char * | FILENAME |
char * | DIRECTORY |
char * | FILEPATH |
char * | METHODS |
char * | OUTPUT |
char * | OUTPATH |
igraph_integer_t | NODESIZE |
float | PERCENT |
bool | REPORT = false |
bool | GFORMAT = false |
bool | QUICKRUN = false |
bool | SAVE = true |
bool | CALC_WEIGHTS = false |
igraph_vector_t | WEIGHTED |
The base library for nutil.
#define PAGERANK_DAMPING 0.85 |
chance random walk will not restart
char* DIRECTORY |
Directory to access FILENAME and put REPORT
char* FILENAME |
The filename from -f flag.
char* FILEPATH |
The filepath (DIRECTORY + FILENAME)
bool GFORMAT = false |
Graph format - true is "GEXF" false is "GRAPHML"
char* METHODS |
METHODS to filter
igraph_integer_t NODESIZE |
Number of Nodes in original graph
char* OUTPATH |
Path to output folder (DIRECTORY + OUTPUT)
char* OUTPUT |
Folder to output new graphs
float PERCENT |
Filtering percentage 0.0 by default
bool QUICKRUN = false |
Lightweight visualization run
bool REPORT = false |
Include a report?
bool SAVE = true |
If false, does not save graphs at all (for reports)
igraph_vector_t WEIGHTED |
If greater than 0, conducts weighted analysis