helib::LabeledVertex Class Reference

A generic node in a graph with some labels. More...

#include <matching.h>

Public Member Functions

 LabeledVertex (long n, long l=0)
 
void addEdge (long nn, long l=0, long c=0)
 
void addNeighbor (long nn, long l=0, long c=0)
 

Public Attributes

long name
 
long label
 
LNeighborList neighbors
 

Detailed Description

A generic node in a graph with some labels.

Constructor & Destructor Documentation

◆ LabeledVertex()

helib::LabeledVertex::LabeledVertex ( long  n,
long  l = 0 
)
inlineexplicit

Member Function Documentation

◆ addEdge()

void helib::LabeledVertex::addEdge ( long  nn,
long  l = 0,
long  c = 0 
)
inline

◆ addNeighbor()

void helib::LabeledVertex::addNeighbor ( long  nn,
long  l = 0,
long  c = 0 
)
inline

Member Data Documentation

◆ label

long helib::LabeledVertex::label

◆ name

long helib::LabeledVertex::name

◆ neighbors

LNeighborList helib::LabeledVertex::neighbors