Defines Interface for Implementations of Prediction Mechanism in Fast Branch and Bound & Branch and Bound with Partial Prediction. More...
#include <branch_and_bound_predictor.hpp>
Public Member Functions | |
virtual void | initialize (const DIMTYPE features)=0 |
virtual bool | learn (const DIMTYPE feature, const RETURNTYPE value)=0 |
virtual bool | predict (const DIMTYPE feature, RETURNTYPE &value) const =0 |
virtual std::ostream & | print (std::ostream &os) const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Branch_And_Bound_Predictor< RETURNTYPE, DIMTYPE > &babp) |
Defines Interface for Implementations of Prediction Mechanism in Fast Branch and Bound & Branch and Bound with Partial Prediction.