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

WtLexDiffHistoryRep Class Reference

#include <DiffHistoryRep.h>

Inheritance diagram for WtLexDiffHistoryRep::

DiffHistoryRep RefCounter List of all members.

Public Methods

 WtLexDiffHistoryRep ()
 WtLexDiffHistoryRep (State D, int C0, int W0, int C1, int W1)
 WtLexDiffHistoryRep (const WtLexDiffHistoryRep &dh)
DiffHistoryRepclone () const
 ~WtLexDiffHistoryRep ()
int hash () const
Bool empty () const
int getDiff () const
int getC0 () const
int getW0 () const
int getC1 () const
int getW1 () const
int operator== (const DiffHistoryRep &dh) const
DiffHistoryRepoperator= (const DiffHistoryRep &dh)
Bool sameLengthWords () const
void improveBy (const DiffHistoryRep &dh)
Bool possibleReductionAhead () const
AheadInfoRepbuildAheadInfoRep () const
void printOn (ostream &ostr=cout) const

Private Attributes

State d
int c0
int c1
int w0
int w1

Friends

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

Constructor & Destructor Documentation

WtLexDiffHistoryRep::WtLexDiffHistoryRep ( ) [inline]
 

Definition at line 376 of file DiffHistoryRep.h.

Referenced by clone().

WtLexDiffHistoryRep::WtLexDiffHistoryRep ( State D,
int C0,
int W0,
int C1,
int W1 ) [inline]
 

Definition at line 377 of file DiffHistoryRep.h.

WtLexDiffHistoryRep::WtLexDiffHistoryRep ( const WtLexDiffHistoryRep & dh ) [inline]
 

Definition at line 380 of file DiffHistoryRep.h.

WtLexDiffHistoryRep::~WtLexDiffHistoryRep ( ) [inline]
 

Definition at line 384 of file DiffHistoryRep.h.


Member Function Documentation

DiffHistoryRep * WtLexDiffHistoryRep::clone ( ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 382 of file DiffHistoryRep.h.

int WtLexDiffHistoryRep::hash ( ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 386 of file DiffHistoryRep.h.

Bool WtLexDiffHistoryRep::empty ( ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 387 of file DiffHistoryRep.h.

int WtLexDiffHistoryRep::getDiff ( ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 389 of file DiffHistoryRep.h.

int WtLexDiffHistoryRep::getC0 ( ) const [inline]
 

Definition at line 390 of file DiffHistoryRep.h.

Referenced by WtLexRep::reduction(), and WtLexRep::update().

int WtLexDiffHistoryRep::getW0 ( ) const [inline]
 

Definition at line 391 of file DiffHistoryRep.h.

Referenced by WtLexRep::reduction(), and WtLexRep::update().

int WtLexDiffHistoryRep::getC1 ( ) const [inline]
 

Definition at line 392 of file DiffHistoryRep.h.

Referenced by WtLexRep::reduction(), and WtLexRep::update().

int WtLexDiffHistoryRep::getW1 ( ) const [inline]
 

Definition at line 393 of file DiffHistoryRep.h.

Referenced by WtLexRep::reduction(), and WtLexRep::update().

int WtLexDiffHistoryRep::operator== ( const DiffHistoryRep & dh ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 396 of file DiffHistoryRep.h.

DiffHistoryRep & WtLexDiffHistoryRep::operator= ( const DiffHistoryRep & dh ) [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 403 of file DiffHistoryRep.h.

Bool WtLexDiffHistoryRep::sameLengthWords ( ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 409 of file DiffHistoryRep.h.

void WtLexDiffHistoryRep::improveBy ( const DiffHistoryRep & dh ) [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 410 of file DiffHistoryRep.h.

Bool WtLexDiffHistoryRep::possibleReductionAhead ( ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 418 of file DiffHistoryRep.h.

AheadInfoRep * WtLexDiffHistoryRep::buildAheadInfoRep ( ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 421 of file DiffHistoryRep.h.

void WtLexDiffHistoryRep::printOn ( ostream & ostr = cout ) const [inline, virtual]
 

Reimplemented from DiffHistoryRep.

Definition at line 424 of file DiffHistoryRep.h.


Friends And Related Function Documentation

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

Definition at line 430 of file DiffHistoryRep.h.


Member Data Documentation

State WtLexDiffHistoryRep::d [private]
 

Definition at line 438 of file DiffHistoryRep.h.

int WtLexDiffHistoryRep::c0 [private]
 

Definition at line 439 of file DiffHistoryRep.h.

int WtLexDiffHistoryRep::c1 [private]
 

Definition at line 439 of file DiffHistoryRep.h.

int WtLexDiffHistoryRep::w0 [private]
 

Definition at line 440 of file DiffHistoryRep.h.

int WtLexDiffHistoryRep::w1 [private]
 

Definition at line 440 of file DiffHistoryRep.h.


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