ViennaLS
Loading...
Searching...
No Matches
lsInternal::Graph Class Reference

#include <lsGraph.hpp>

Public Member Functions

std::size_t insertNextVertex ()
 add new vertex
 
void insertNextEdge (std::size_t vertex1, std::size_t vertex2)
 add connection of vertex1 to vertex2
 
std::vector< IndexType > getConnectedComponents ()
 
void print ()
 

Member Function Documentation

◆ getConnectedComponents()

std::vector< IndexType > lsInternal::Graph::getConnectedComponents ( )
inline

◆ insertNextEdge()

void lsInternal::Graph::insertNextEdge ( std::size_t vertex1,
std::size_t vertex2 )
inline

add connection of vertex1 to vertex2

◆ insertNextVertex()

std::size_t lsInternal::Graph::insertNextVertex ( )
inline

add new vertex

◆ print()

void lsInternal::Graph::print ( )
inline

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