Trivial
This commit is contained in:
parent
bd70033c06
commit
afd26ed9b4
@ -151,8 +151,8 @@ Indexer::valid (void) const
|
||||
inline void
|
||||
Indexer::reset (void)
|
||||
{
|
||||
std::fill (indices_.begin(), indices_.end(), 0);
|
||||
index_ = 0;
|
||||
std::fill (indices_.begin(), indices_.end(), 0);
|
||||
}
|
||||
|
||||
|
||||
@ -345,8 +345,8 @@ MapIndexer::valid (void) const
|
||||
inline void
|
||||
MapIndexer::reset (void)
|
||||
{
|
||||
std::fill (indices_.begin(), indices_.end(), 0);
|
||||
index_ = 0;
|
||||
std::fill (indices_.begin(), indices_.end(), 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -37,8 +37,10 @@ class LiftedOperator {
|
||||
class ProductOperator : public LiftedOperator {
|
||||
public:
|
||||
ProductOperator (
|
||||
ParfactorList::iterator g1, ParfactorList::iterator g2,
|
||||
ParfactorList& pfList) : g1_(g1), g2_(g2), pfList_(pfList) { }
|
||||
ParfactorList::iterator g1,
|
||||
ParfactorList::iterator g2,
|
||||
ParfactorList& pfList)
|
||||
: g1_(g1), g2_(g2), pfList_(pfList) { }
|
||||
|
||||
double getLogCost (void);
|
||||
|
||||
|
@ -15,10 +15,7 @@ namespace Horus {
|
||||
|
||||
class Parfactor : public TFactor<ProbFormula> {
|
||||
public:
|
||||
Parfactor (
|
||||
const ProbFormulas&,
|
||||
const Params&,
|
||||
const Tuples&,
|
||||
Parfactor (const ProbFormulas&, const Params&, const Tuples&,
|
||||
unsigned distId);
|
||||
|
||||
Parfactor (const Parfactor*, const Tuple&);
|
||||
|
Reference in New Issue
Block a user