15#ifndef MINOTAURACTIVENODESTORE_H
16#define MINOTAURACTIVENODESTORE_H
58 virtual void pop() = 0;
83 virtual void write(std::ostream &out)
const = 0;
Declare important 'types' used in Minotaur.
Save and retrieve active nodes.
Definition: ActiveNodeStore.h:31
virtual void write(std::ostream &out) const =0
Display the active nodes.
virtual UInt getDeepestLevel() const =0
Find the maximum depth of all active nodes.
virtual size_t getSize() const =0
Get the number of active nodes.
virtual void push(NodePtr n)=0
Add a node to the set of active nodes.
virtual NodePtr top() const =0
Access to the best candidate for evaluating next.
virtual double getBestLB() const =0
Find the minimum lower bound of all the active nodes.
ActiveNodeStore()
Default Constructor.
Definition: ActiveNodeStore.h:35
virtual void pop()=0
Remove the best node from the store.
virtual ~ActiveNodeStore()
Destroy.
Definition: ActiveNodeStore.h:38
virtual bool isEmpty() const =0
Check if there are any active nodes left.
Definition: ActiveNodeStore.h:20
unsigned int UInt
Unsigned integer.
Definition: Types.h:30