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 void print(std::ostream &os) const
Print out the solution.
AlpsSolution & operator=(const AlpsSolution &)
int depth_
The depth of the node where the solution was found.
virtual ~AlpsSolution()
Destructor.
void setIndex(const AlpsNodeIndex_t i)
Set index where solution was found.
AlpsNodeIndex_t getIndex()
Get index where solution was found.
AlpsSolution(const AlpsNodeIndex_t i, const int d)
Constructor to set index and depth.
int getDepth()
Get 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...
int index_
The index of the node where the solution was found.
void setDepth(const int d)
Set depth where solution was found.
AlpsSolution()
Default constructor.
void setType(KnowledgeType t)