23 #ifndef AlpsSolution_h_
24 #define AlpsSolution_h_
82 virtual void print(std::ostream& os)
const{
83 os <<
"WARNING: No solution print function is defined." << std::endl;
int getDepth()
Get depth where solution was found.
AlpsSolution()
Default constructor.
void setDepth(const int d)
Set depth where solution was found.
The abstract base class of any user-defined class that Alps has to know about in order to encode/deco...
AlpsNodeIndex_t getIndex()
Get index where solution was found.
virtual void print(std::ostream &os) const
Print out the solution.
AlpsSolution(const AlpsNodeIndex_t i, const int d)
Constructor to set index and depth.
void setIndex(const AlpsNodeIndex_t i)
Set index where solution was found.
void setType(KnowledgeType t)
virtual ~AlpsSolution()
Destructor.