Public Member Functions | Protected Member Functions | Protected Attributes

mmdb::math::GraphMatch Class Reference

#include <mmdb_math_graph.h>

Inheritance diagram for mmdb::math::GraphMatch:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GraphMatch ()
 GraphMatch (io::RPStream Object)
 ~GraphMatch ()
void SetFlag (word flag)
void RemoveFlag (word flag)
void SetMaxNofMatches (int maxNofMatches, bool stopOnMaxN)
void SetTimeLimit (int maxTimeToRun=0)
bool GetStopSignal ()
void Reset ()
void MatchGraphs (PGraph Gh1, PGraph Gh2, int minMatch, bool vertexType=true, VERTEX_EXT_TYPE vertexExt=EXTTYPE_Ignore)
void PrintMatches ()
int GetNofMatches ()
int GetMaxMatchSize ()
void GetMatch (int MatchNo, ivector &FV1, ivector &FV2, int &nv, realtype &p1, realtype &p2)
void read (io::RFile f)
void write (io::RFile f)
void mem_read (cpstr S, int &l)
void mem_write (pstr S, int &l)

Protected Member Functions

void InitGraphMatch ()
void FreeMemory ()
void FreeRecHeap ()
void GetMemory ()
void GetRecHeap ()
int Initialize (bool vertexType, int vertexExt)
void Backtrack (int i)
void Backtrack1 (int i, int k0)
void CollectMatch (int nm)

Protected Attributes

PGraph G1
PGraph G2
PPVertex V1
PPVertex V2
imatrix c1
imatrix c2
bool swap
int n
int m
imatrix3 P
imatrix iF1
ivector F1
ivector F2
ivector ix
int nMatches
int maxNMatches
PPGMatch Match
bool wasFullMatch
bool Stop
bool stopOnMaxNMathches
word flags
int maxMatch
int timeLimit

Constructor & Destructor Documentation

mmdb::math::GraphMatch::GraphMatch (  )
mmdb::math::GraphMatch::GraphMatch ( io::RPStream  Object )
mmdb::math::GraphMatch::~GraphMatch (  )

Member Function Documentation

void mmdb::math::GraphMatch::Backtrack ( int  i ) [protected]
void mmdb::math::GraphMatch::Backtrack1 ( int  i,
int  k0 
) [protected]
void mmdb::math::GraphMatch::CollectMatch ( int  nm ) [protected]
void mmdb::math::GraphMatch::FreeMemory (  ) [protected]
void mmdb::math::GraphMatch::FreeRecHeap (  ) [protected]
void mmdb::math::GraphMatch::GetMatch ( int  MatchNo,
ivector &  FV1,
ivector &  FV2,
int &  nv,
realtype &  p1,
realtype &  p2 
)
int mmdb::math::GraphMatch::GetMaxMatchSize (  ) [inline]
void mmdb::math::GraphMatch::GetMemory (  ) [protected]
int mmdb::math::GraphMatch::GetNofMatches (  ) [inline]
void mmdb::math::GraphMatch::GetRecHeap (  ) [protected]
bool mmdb::math::GraphMatch::GetStopSignal (  ) [inline]
void mmdb::math::GraphMatch::InitGraphMatch (  ) [protected]
int mmdb::math::GraphMatch::Initialize ( bool  vertexType,
int  vertexExt 
) [protected]
void mmdb::math::GraphMatch::MatchGraphs ( PGraph  Gh1,
PGraph  Gh2,
int  minMatch,
bool  vertexType = true,
VERTEX_EXT_TYPE  vertexExt = EXTTYPE_Ignore 
)
void mmdb::math::GraphMatch::mem_read ( cpstr  S,
int &  l 
)
void mmdb::math::GraphMatch::mem_write ( pstr  S,
int &  l 
)
void mmdb::math::GraphMatch::PrintMatches (  )
void mmdb::math::GraphMatch::read ( io::RFile  f )
void mmdb::math::GraphMatch::RemoveFlag ( word  flag )
void mmdb::math::GraphMatch::Reset (  )
void mmdb::math::GraphMatch::SetFlag ( word  flag )
void mmdb::math::GraphMatch::SetMaxNofMatches ( int  maxNofMatches,
bool  stopOnMaxN 
)
void mmdb::math::GraphMatch::SetTimeLimit ( int  maxTimeToRun = 0 )
void mmdb::math::GraphMatch::write ( io::RFile  f )

Member Data Documentation

PGraph mmdb::math::GraphMatch::G1 [protected]
PGraph mmdb::math::GraphMatch::G2 [protected]
int mmdb::math::GraphMatch::m [protected]
PPGMatch mmdb::math::GraphMatch::Match [protected]
int mmdb::math::GraphMatch::n [protected]
bool mmdb::math::GraphMatch::Stop [protected]
bool mmdb::math::GraphMatch::swap [protected]
PPVertex mmdb::math::GraphMatch::V1 [protected]
PPVertex mmdb::math::GraphMatch::V2 [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines