dejavu
Fast probabilistic symmetry detection.
Loading...
Searching...
No Matches
dejavu::sgraph Class Reference

Internal graph data structure. More...

#include <graph.h>

Public Member Functions

void initialize (int nv, int ne)
 
void initialize_coloring (ds::coloring *c, int *vertex_to_col)
 
void sanity_check ()
 
void copy_graph (sgraph *g)
 
void sort_edgelist () const
 
 ~sgraph ()
 

Public Attributes

bool initialized = false
 
int * v = nullptr
 
int * d = nullptr
 
int * e = nullptr
 
int v_size = 0
 
int e_size = 0
 
bool dense = false
 

Detailed Description

Internal graph data structure.

Graph data strcture as used internally by the dejavu solver. See \

Definition at line 19 of file graph.h.

Constructor & Destructor Documentation

◆ ~sgraph()

dejavu::sgraph::~sgraph ( )
inline

Definition at line 266 of file graph.h.

Member Function Documentation

◆ copy_graph()

void dejavu::sgraph::copy_graph ( sgraph g)
inline

Definition at line 243 of file graph.h.

◆ initialize()

void dejavu::sgraph::initialize ( int  nv,
int  ne 
)
inline

Definition at line 53 of file graph.h.

◆ initialize_coloring()

void dejavu::sgraph::initialize_coloring ( ds::coloring c,
int *  vertex_to_col 
)
inline

Definition at line 61 of file graph.h.

◆ sanity_check()

void dejavu::sgraph::sanity_check ( )
inline

Definition at line 196 of file graph.h.

◆ sort_edgelist()

void dejavu::sgraph::sort_edgelist ( ) const
inline

Definition at line 258 of file graph.h.

Member Data Documentation

◆ d

int* dejavu::sgraph::d = nullptr

Definition at line 45 of file graph.h.

◆ dense

bool dejavu::sgraph::dense = false

Definition at line 51 of file graph.h.

◆ e

int* dejavu::sgraph::e = nullptr

Definition at line 46 of file graph.h.

◆ e_size

int dejavu::sgraph::e_size = 0

Definition at line 49 of file graph.h.

◆ initialized

bool dejavu::sgraph::initialized = false

Definition at line 43 of file graph.h.

◆ v

int* dejavu::sgraph::v = nullptr

Definition at line 44 of file graph.h.

◆ v_size

int dejavu::sgraph::v_size = 0

Definition at line 48 of file graph.h.


The documentation for this class was generated from the following file: