DDD  1.9.0.20240826145154
Public Member Functions | Private Member Functions | Private Attributes | List of all members
StrongMLHom Class Referenceabstract

#include <MLHom.h>

Inheritance diagram for StrongMLHom:
Inheritance graph
Collaboration diagram for StrongMLHom:
Collaboration graph

Public Member Functions

bool operator== (const _MLHom &h) const
 
virtual bool operator== (const StrongMLHom &) const =0
 
HomNodeMap eval (const GDDD &) const
 
virtual HomHomMap phi (int var, int val) const =0
 User defined behavior is input through this function. More...
 
virtual HomNodeMap phiOne () const =0
 
virtual bool shouldCache () const
 test if caching should be done : default means should cache More...
 
virtual size_t hash () const =0
 unique table trivia More...
 
virtual _MLHomclone () const =0
 

Private Member Functions

virtual void mark () const
 For garbage collection. Used in first phase of garbage collection. More...
 

Private Attributes

int refCounter
 For garbage collection. More...
 
bool marking
 For garbage collection. More...
 

Member Function Documentation

◆ clone()

virtual _MLHom* _MLHom::clone ( ) const
pure virtualinherited

◆ eval()

HomNodeMap StrongMLHom::eval ( const GDDD d) const
virtual

◆ hash()

virtual size_t _MLHom::hash ( ) const
pure virtualinherited

◆ mark()

virtual void _MLHom::mark ( ) const
inlineprivatevirtualinherited

For garbage collection. Used in first phase of garbage collection.

◆ operator==() [1/2]

bool StrongMLHom::operator== ( const _MLHom h) const
virtual

Implements _MLHom.

◆ operator==() [2/2]

virtual bool StrongMLHom::operator== ( const StrongMLHom ) const
pure virtual

◆ phi()

virtual HomHomMap StrongMLHom::phi ( int  var,
int  val 
) const
pure virtual

User defined behavior is input through this function.

Referenced by eval().

◆ phiOne()

virtual HomNodeMap StrongMLHom::phiOne ( ) const
pure virtual

Referenced by eval().

◆ shouldCache()

virtual bool _MLHom::shouldCache ( ) const
inlinevirtualinherited

test if caching should be done : default means should cache

Reimplemented in nsMLHom::Identity.

Member Data Documentation

◆ marking

bool _MLHom::marking
mutableprivateinherited

For garbage collection.

Used in the two phase garbage collection process. A Shom that is not marked after the first pass over the unicity table, will be sweeped in the second phase. Outside of garbage collection routine, marking should always bear the value false.

Referenced by MLHom::garbage().

◆ refCounter

int _MLHom::refCounter
mutableprivateinherited

For garbage collection.

Counts the number of times a _MLHom is referenced from the context of an MLHom.


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

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Aug 26 2024 14:54:00 for DDD by doxygen 1.9.1