Move some things around. No functional changes
This commit is contained in:
@@ -97,7 +97,8 @@ ProbFormula::rename (LogVar oldName, LogVar newName)
|
||||
|
||||
|
||||
|
||||
bool operator== (const ProbFormula& f1, const ProbFormula& f2)
|
||||
bool
|
||||
operator== (const ProbFormula& f1, const ProbFormula& f2)
|
||||
{
|
||||
return f1.group_ == f2.group_ &&
|
||||
f1.logVars_ == f2.logVars_;
|
||||
@@ -105,7 +106,8 @@ bool operator== (const ProbFormula& f1, const ProbFormula& f2)
|
||||
|
||||
|
||||
|
||||
std::ostream& operator<< (std::ostream &os, const ProbFormula& f)
|
||||
std::ostream&
|
||||
operator<< (std::ostream& os, const ProbFormula& f)
|
||||
{
|
||||
os << f.functor_;
|
||||
if (f.isAtom() == false) {
|
||||
@@ -151,7 +153,8 @@ ObservedFormula::ObservedFormula (Symbol f, unsigned ev, const Tuple& tuple)
|
||||
|
||||
|
||||
|
||||
std::ostream& operator<< (std::ostream &os, const ObservedFormula& of)
|
||||
std::ostream&
|
||||
operator<< (std::ostream& os, const ObservedFormula& of)
|
||||
{
|
||||
os << of.functor_ << "/" << of.arity_;
|
||||
os << "|" << of.constr_.tupleSet();
|
||||
|
Reference in New Issue
Block a user