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


| Public Member Functions | |
| virtual | ~FinalPitSolver () | 
| The destructor. | |
| FinalPitSolver (const FinalPitInstance &fp) | |
| Creates a new Final Pit Solver based on an instance of the Final Pit Problem.  More... | |
| FinalPitSolver (const BlockModel &bm) | |
| Creates a new Final Pit Solver based on the given block model.  More... | |
| virtual bool | Run () | 
| Calculates the final pit. Returns true on success.  More... | |
| virtual BlockSelection * | FinalPit () | 
| Reports the result of the computation as a block selection.  More... | |
| virtual BlockSelection * | GetFinalPit () | 
| Reports the result of the computation as a block selection.  More... | |
| const FinalPitInstance & | GetInstance () const | 
| retrieves the instance being solved. | |
| void | SetInstance (delphos::FinalPitInstance *fp) | 
| Sets a final pit instance.  More... | |
| virtual const bool | IsSolved () const | 
| Checks if the solver was already run or not.  More... | |
| virtual double | PitValue () | 
| Computes the value of the final pit.  More... | |
| virtual double | GetPitValue () | 
| Computes the value of the final pit.  More... | |
|  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 final pit instance.
| delphos::FinalPitSolver::FinalPitSolver | ( | const FinalPitInstance & | fp | ) | 
Creates a new Final Pit Solver based on an instance of the Final Pit Problem.
| fp | The final pit instance. | 
| delphos::FinalPitSolver::FinalPitSolver | ( | const BlockModel & | bm | ) | 
Creates a new Final Pit Solver based on the given block model.
| bm | The block model. | 
| 
 | virtual | 
Reports the result of the computation as a block selection.
This version of the method simply returns NULL. Deprecated.
Reimplemented in delphos::PseudoFlowFinalPitSolver.
| 
 | virtual | 
Reports the result of the computation as a block selection.
This version of the method simply returns NULL.
Reimplemented in delphos::PseudoFlowFinalPitSolver.
| 
 | virtual | 
Computes the value of the final pit.
This method computes the addition of the blocks selected by the final pit.
Reimplemented in delphos::PseudoFlowFinalPitSolver.
| 
 | virtual | 
Checks if the solver was already run or not.
This implementation is a dummy version that always returns false.
Reimplemented in delphos::PseudoFlowFinalPitSolver.
| 
 | virtual | 
Computes the value of the final pit.
This method computes the addition of the blocks selected by the final pit. Deprecated.
Reimplemented in delphos::PseudoFlowFinalPitSolver.
| 
 | virtual | 
Calculates the final pit. Returns true on success.
This version of the method does not calculate anything, and returns false.
Reimplemented in delphos::PseudoFlowFinalPitSolver.
| void delphos::FinalPitSolver::SetInstance | ( | delphos::FinalPitInstance * | fp | ) | 
Sets a final pit instance.
| fp | The final pit instance to be set. |