|  | MineLink
    | 
A dummy class that specifies the methods of an algorithm that can solve a nested pit instance. More...
#include <nestedpit.h>


| Public Member Functions | |
| virtual | ~NestedPitSolver () | 
| The destructor. | |
| NestedPitSolver (NestedPitInstance &np) | |
| Creates a new nested Pit Solver based on an instance of the nested Pit Problem.  More... | |
| virtual bool | Run () | 
| Calculates the final pit. Returns true on success.  More... | |
| const NestedPitInstance & | GetInstance () const | 
| Retrieves the instance being solved. | |
| delphos::NestedPitInstance * | GetInstancePtr () const | 
| Return a pointer to the instance being solved. | |
| void | SetInstance (delphos::NestedPitInstance &npi) | 
| Set the instance to be solved. | |
| virtual const bool | IsSolved () const | 
| Checks if the solver was already run or not.  More... | |
| virtual delphos::NestedPits * | GetNestedPits () | 
| Returns the nested pits.  More... | |
| void | SetCallBack (delphos::CallBackPtr fp) | 
| Set the user run step callback. | |
| delphos::CallBackPtr | GetCallBack () | 
| Returns the user run step callback. | |
|  Public Member Functions inherited from delphos::BlockModelEntity | |
| BlockModelEntity (delphos::BlockModel &bm) | |
| Creates a new block instance associated to a given block model.  More... | |
| delphos::BlockModel & | GetBlockModel () | 
| Retrieves the block model to which the entity is associated.  More... | |
| const delphos::BlockModel & | GetBlockModel () const | 
| Retrieves the block model to which the entity is associated.  More... | |
A dummy class that specifies the methods of an algorithm that can solve a nested pit instance.
| delphos::NestedPitSolver::NestedPitSolver | ( | NestedPitInstance & | np | ) | 
Creates a new nested Pit Solver based on an instance of the nested Pit Problem.
| np | The nested pit instance. | 
| 
 | virtual | 
Returns the nested pits.
This implementation is a dummy version that always returns an empty struct.
Reimplemented in delphos::PseudoFlowNestedPitSolver.
| 
 | virtual | 
Checks if the solver was already run or not.
This implementation is a dummy version that always returns false.
Reimplemented in delphos::PseudoFlowNestedPitSolver.
| 
 | virtual | 
Calculates the final pit. Returns true on success.
This version of the method does not calculate anything, and returns false.
Reimplemented in delphos::PseudoFlowNestedPitSolver.