MeVisLab Toolbox Reference
ml::IsomorphismMap Class Reference

IsomorphismMap class handles the information of the isomorphism between two Graph structures in form of a PointMap-list. More...

#include <AssocGraph.h>

Public Member Functions

constructor
 IsomorphismMap (void)
 
 IsomorphismMap (size_t N1, size_t N2)
 
 IsomorphismMap (size_t N1, size_t N2, const PointMap &)
 
 IsomorphismMap (const IsomorphismMap &)
 
object handling
IsomorphismMapoperator= (const IsomorphismMap &)
 assignment operator
 
bool operator== (const IsomorphismMap &) const
 comparison to induce order for unambiguous lists
 
bool operator< (const IsomorphismMap &) const
 comparison to induce order for unambiguous lists
 
manipulation of PointMap-list
bool addPointMap (const PointMap &pm)
 add PointMap and check compatibility
 
bool addPointMapAscending (const PointMap &pm, int n)
 add PointMap only, if of greater order then last PointMap in list
 
void removePointMap (const PointMap &pm)
 remove PointMap from list
 
void clear ()
 clear list
 
void resize (size_t N1, size_t N2)
 set new size
 

Public Attributes

std::valarray< bool_w1
 flag field to identify nodes of Graph 1 used in the isomorphism
 
std::valarray< bool_w2
 flag field to identify nodes of Graph 2 used in the isomorphism
 
std::list< PointMap_LMap
 list of PointMap defining the isomorphism
 

Detailed Description

IsomorphismMap class handles the information of the isomorphism between two Graph structures in form of a PointMap-list.

class IsomorphismMap

Definition at line 94 of file AssocGraph.h.

Constructor & Destructor Documentation

◆ IsomorphismMap() [1/4]

ml::IsomorphismMap::IsomorphismMap ( void )

◆ IsomorphismMap() [2/4]

ml::IsomorphismMap::IsomorphismMap ( size_t N1,
size_t N2 )

◆ IsomorphismMap() [3/4]

ml::IsomorphismMap::IsomorphismMap ( size_t N1,
size_t N2,
const PointMap &  )

◆ IsomorphismMap() [4/4]

ml::IsomorphismMap::IsomorphismMap ( const IsomorphismMap & )

Member Function Documentation

◆ addPointMap()

bool ml::IsomorphismMap::addPointMap ( const PointMap & pm)

add PointMap and check compatibility

◆ addPointMapAscending()

bool ml::IsomorphismMap::addPointMapAscending ( const PointMap & pm,
int n )

add PointMap only, if of greater order then last PointMap in list

◆ clear()

void ml::IsomorphismMap::clear ( )

clear list

◆ operator<()

bool ml::IsomorphismMap::operator< ( const IsomorphismMap & ) const

comparison to induce order for unambiguous lists

◆ operator=()

IsomorphismMap & ml::IsomorphismMap::operator= ( const IsomorphismMap & )

assignment operator

◆ operator==()

bool ml::IsomorphismMap::operator== ( const IsomorphismMap & ) const

comparison to induce order for unambiguous lists

◆ removePointMap()

void ml::IsomorphismMap::removePointMap ( const PointMap & pm)

remove PointMap from list

◆ resize()

void ml::IsomorphismMap::resize ( size_t N1,
size_t N2 )

set new size

Member Data Documentation

◆ _LMap

std::list<PointMap> ml::IsomorphismMap::_LMap

list of PointMap defining the isomorphism

Definition at line 102 of file AssocGraph.h.

◆ _w1

std::valarray<bool> ml::IsomorphismMap::_w1

flag field to identify nodes of Graph 1 used in the isomorphism

Definition at line 100 of file AssocGraph.h.

◆ _w2

std::valarray<bool> ml::IsomorphismMap::_w2

flag field to identify nodes of Graph 2 used in the isomorphism

Definition at line 101 of file AssocGraph.h.


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