Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DiffHistory Class Reference

#include <DiffHistory.h>

Inheritance diagram for DiffHistory::

ObjectOf List of all members.

Public Methods

 DiffHistory ()
 DiffHistory (const WordOrder &word_order)
 DiffHistory (State d, int g, int h, const WordOrder &word_order)
 DiffHistory (const DiffHistory &dh, State d, int g, int h, const Word &wd, const WordOrder &word_order)
int hash () const
Bool empty () const
State getDiff () const
int operator== (const DiffHistory &dh) const
int operator!= (const DiffHistory &dh) const
Bool sameLengthWords () const
void improveBy (const DiffHistory &dh)
Bool reduction (int g, int h, const WordOrder &word_order) const
Bool possibleReductionAhead () const
AheadInfoRepbuildAheadInfoRep () const
void printOn (ostream &str=cout) const

Protected Types

typedef ObjectOf<DiffHistoryRepR

Protected Methods

 DiffHistory (DiffHistoryRep *p)

Friends

ostream& operator<< (ostream &ostr, const DiffHistory &dh)

Member Typedef Documentation

typedef ObjectOf<DiffHistoryRep> DiffHistory::R [protected]
 

Definition at line 106 of file DiffHistory.h.


Constructor & Destructor Documentation

DiffHistory::DiffHistory ( ) [inline]
 

Definition at line 50 of file DiffHistory.h.

DiffHistory::DiffHistory ( const WordOrder & word_order ) [inline]
 

Definition at line 52 of file DiffHistory.h.

DiffHistory::DiffHistory ( State d,
int g,
int h,
const WordOrder & word_order ) [inline]
 

Definition at line 54 of file DiffHistory.h.

DiffHistory::DiffHistory ( const DiffHistory & dh,
State d,
int g,
int h,
const Word & wd,
const WordOrder & word_order ) [inline]
 

Definition at line 57 of file DiffHistory.h.

DiffHistory::DiffHistory ( DiffHistoryRep * p ) [inline, protected]
 

Definition at line 107 of file DiffHistory.h.


Member Function Documentation

int DiffHistory::hash ( ) const [inline]
 

Definition at line 61 of file DiffHistory.h.

Bool DiffHistory::empty ( ) const [inline]
 

Definition at line 63 of file DiffHistory.h.

State DiffHistory::getDiff ( ) const [inline]
 

Definition at line 64 of file DiffHistory.h.

int DiffHistory::operator== ( const DiffHistory & dh ) const [inline]
 

Definition at line 65 of file DiffHistory.h.

int DiffHistory::operator!= ( const DiffHistory & dh ) const [inline]
 

Definition at line 69 of file DiffHistory.h.

Bool DiffHistory::sameLengthWords ( ) const [inline]
 

Definition at line 71 of file DiffHistory.h.

void DiffHistory::improveBy ( const DiffHistory & dh ) [inline]
 

Definition at line 77 of file DiffHistory.h.

Bool DiffHistory::reduction ( int g,
int h,
const WordOrder & word_order ) const [inline]
 

Definition at line 83 of file DiffHistory.h.

Bool DiffHistory::possibleReductionAhead ( ) const [inline]
 

Definition at line 88 of file DiffHistory.h.

AheadInfoRep * DiffHistory::buildAheadInfoRep ( ) const [inline]
 

Definition at line 94 of file DiffHistory.h.

void DiffHistory::printOn ( ostream & str = cout ) const [inline]
 

Definition at line 97 of file DiffHistory.h.


Friends And Related Function Documentation

ostream & operator<< ( ostream & ostr,
const DiffHistory & dh ) [friend]
 

Definition at line 100 of file DiffHistory.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:51 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001