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
void setType(KnowledgeType t)
AlpsKnowledge(const AlpsKnowledge &)
int depth_
The depth of the node where the solution was found.
void setIndex(const AlpsNodeIndex_t i)
Set index where solution was found.
virtual void print(std::ostream &os) const
Print out the solution.
int index_
The index of the node where the solution was found.
virtual ~AlpsSolution()
Destructor.
AlpsSolution(const AlpsSolution &)
Diable copy constructor and assignment.
AlpsSolution & operator=(const AlpsSolution &)
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.