Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AltCandStpProb Class Reference

#include <AltCandStpProb.h>

Inheritance diagram for AltCandStpProb:

CandBase CandRefCounted List of all members.

Public Member Functions

 AltCandStpProb ()

Static Public Member Functions

AltCandStpProbHandle MakeCandidate (AlgHandle &ah, CandContext &cx)

Protected Member Functions

 AltCandStpProb (AlgHandle &ah)
 AltCandStpProb (AlgHandle &ah, CandHandle &ch, CandContext &cx)
 AltCandStpProb (const AltCandStpProb &rhs)
virtual ~AltCandStpProb ()
virtual void CreateLocalHandle ()
virtual AltCandStpProbDup () const

Private Attributes

map< CandStripHandle *, double > fLikelihoods

Friends

class AltCandStpProbHandle

Constructor & Destructor Documentation

AltCandStpProb::AltCandStpProb  ) 
 

Definition at line 27 of file AltCandStpProb.cxx.

References MSG.

Referenced by Dup(), and MakeCandidate().

00028 {
00029   MSG("AltCand",Msg::kVerbose)
00030       << "Begin of AltCandStpProb::AltCandStpProb()"
00031                                << " ctor: UidInt = " << GetUidInt() << endl;
00032 
00033   LEA_CTOR;
00034 }

AltCandStpProb::AltCandStpProb AlgHandle ah  )  [protected]
 

Definition at line 36 of file AltCandStpProb.cxx.

References CandBase::GetUidInt(), and MSG.

00036                                             :
00037 CandBase(ah)
00038 {
00039   MSG("AltCand",Msg::kVerbose)
00040     << "Begin of AltCandStpProb::AltCandStpProb("
00041           << "AlgHandle & ah) ctor: " << "UidInt = " << GetUidInt() << endl;
00042 
00043   LEA_CTOR;
00044 }
//__________________________________________________________________________

AltCandStpProb::AltCandStpProb AlgHandle ah,
CandHandle ch,
CandContext cx
[protected]
 

Definition at line 46 of file AltCandStpProb.cxx.

References CreateLocalHandle(), CandBase::GetUidInt(), MSG, and AlgHandle::RunAlg().

00047                                                                            :
00048 CandBase(ah)
00049 {
00050   MSG("AltCand",Msg::kVerbose)
00051      << "Begin of AltCandStpProb::AltCandStpProb("
00052      << "AlgHandle & ah, CandHandle & ch, CandContext & cx) ctor: UidInt = "
00053      << GetUidInt() << endl;
00054 
00055   LEA_CTOR;
00056 
00057   CreateLocalHandle();
00058 
00059   AltCandStpProbHandle cshl(this);
00060   ch = cshl;
00061 
00062   ah.RunAlg(ch, cx);
00063 }
//__________________________________________________________________________

AltCandStpProb::AltCandStpProb const AltCandStpProb rhs  )  [protected]
 

Definition at line 65 of file AltCandStpProb.cxx.

References CandBase::GetUidInt(), and MSG.

00065                                                         :
00066 CandBase(rhs)
00067 {
00068   MSG("AltCand",Msg::kVerbose)
00069       << "Begin of AltCandStpProb::AltCandStpProb("
00070       << "const AltCandStpProb & rhs) ctor: UidInt = "
00071       << GetUidInt() << endl;
00072 
00073   LEA_CTOR;
00074 }
//__________________________________________________________________________

AltCandStpProb::~AltCandStpProb  )  [protected, virtual]
 

Definition at line 76 of file AltCandStpProb.cxx.

References CandBase::GetUidInt(), and MSG.

00077 {
00078   MSG("AltCand",Msg::kVerbose)
00079      << "Begin of AltCandStpProb::~AltCandStpProb()"
00080      << " dtor: UidInt = "
00081      << GetUidInt() << endl;
00082 
00083   LEA_DTOR;
00084 }


Member Function Documentation

void AltCandStpProb::CreateLocalHandle  )  [protected, virtual]
 

Implements CandBase.

Definition at line 86 of file AltCandStpProb.cxx.

References AltCandStpProbHandle, and CandBase::SetLocalHandle().

Referenced by AltCandStpProb(), and Dup().

00087 {
00088   SetLocalHandle(new AltCandStpProbHandle(this));
00089 }

AltCandStpProb * AltCandStpProb::Dup  )  const [protected, virtual]
 

Implements CandBase.

Definition at line 91 of file AltCandStpProb.cxx.

References CandBase::AddDaughterLink(), AltCandStpProb(), CreateLocalHandle(), and CandBase::GetDaughterIterator().

00092 {
00093   AltCandStpProb *cb = new AltCandStpProb(*this);
00094   cb->CreateLocalHandle();
00095   TIter daughter_iter = GetDaughterIterator();
00096   CandHandle * cdh;
00097   while ((cdh=(CandHandle *) daughter_iter())) cb->AddDaughterLink(*cdh);
00098   return cb;
00099 }

AltCandStpProbHandle AltCandStpProb::MakeCandidate AlgHandle ah,
CandContext cx
[static]
 

Definition at line 101 of file AltCandStpProb.cxx.

References AltCandStpProb().

Referenced by AltAlgStpPatternRecList::RunAlg().

00103 {
00104   AltCandStpProbHandle cshl;
00105   new AltCandStpProb(ah, cshl, cx); 
00106   return cshl;
00107 }


Friends And Related Function Documentation

friend class AltCandStpProbHandle [friend]
 

Definition at line 34 of file AltCandStpProb.h.

Referenced by CreateLocalHandle().


Member Data Documentation

map<CandStripHandle *, double> AltCandStpProb::fLikelihoods [private]
 

Definition at line 51 of file AltCandStpProb.h.

Referenced by AltCandStpProbHandle::GetLikelihoods(), and AltCandStpProbHandle::SetStripLikelihood().


The documentation for this class was generated from the following files:
Generated on Thu Nov 1 11:56:38 2007 for loon by  doxygen 1.3.9.1