src/bte.cpp
void bte::propagate() {

	// Top-down 'forward' message passing
	forward();

	if (m_task == Task::PR) {
		return; // stop here to compute the log partition function
	}

	// Bottom-up 'backward' message passing
	backward();

	// Update beliefs/marginals
	update();
}
///
/// \brief Propagate the messages along the edges of the bucket tree.
///
\brief Propagate the messages along the edges of the bucket tree.
\ brief Propagate the messages along the edges of the bucket tree .
void bte::propagate() {
	forward();
	if (m_task == Task::PR) {
		return; 
	}
	backward();
	update();
}
void bte :: propagate ( ) { forward ( ) ; if ( m_task == Task :: PR ) { return ; } backward ( ) ; update ( ) ; }
\brief Propagate the messages along the edges of the bucket tree.
\ brief Propagate the messages along the edges of the bucket tree .
// Top-down 'forward' message passing // stop here to compute the log partition function // Bottom-up 'backward' message passing // Update beliefs/marginals