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