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;
@ AlpsKnowledgeTypeSolution
The abstract base class of any user-defined class that Alps has to know about in order to encode/deco...
void setType(KnowledgeType t)
void setIndex(const AlpsNodeIndex_t i)
Set index where solution was found.
virtual void print(std::ostream &os) const
Print out the solution.
virtual ~AlpsSolution()
Destructor.
AlpsSolution(const AlpsNodeIndex_t i, const int d)
Constructor to set index and depth.
void setDepth(const int d)
Set depth where solution was found.
int getDepth()
Get depth where solution was found.
AlpsSolution()
Default constructor.
AlpsNodeIndex_t getIndex()
Get index where solution was found.