|  | MineLink
    | 
An implementation of a final pit solver based on the Pseudoflow algorithm. More...
#include <pseudoflowfp.h>


| Public Member Functions | |
| PseudoFlowFinalPitSolver (const FinalPitInstance &fp) | |
| Creates a new solver based on a given instance.  More... | |
| PseudoFlowFinalPitSolver (const FinalPitInstance &fp, const double &ang, const unsigned int &nblevel) | |
| Creates a new solver based on a given instance.  More... | |
| virtual | ~PseudoFlowFinalPitSolver () | 
| Destructor. | |
| virtual bool | Run () | 
| Calculates the final pit.  More... | |
| virtual delphos::BlockSelection * | FinalPit () | 
| Retrieves the final pit.  More... | |
| virtual delphos::BlockSelection * | GetFinalPit () | 
| Retrieves the final pit.  More... | |
| virtual double | PitValue () | 
| Retrieves the final pit value.  More... | |
| virtual double | GetPitValue () | 
| Retrieves the final pit value.  More... | |
| virtual const bool | IsSolved () const | 
| Returns true if the problem has been solved, false if not.  More... | |
|  Public Member Functions inherited from delphos::FinalPitSolver | |
| 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... | |
| const FinalPitInstance & | GetInstance () const | 
| retrieves the instance being solved. | |
| void | SetInstance (delphos::FinalPitInstance *fp) | 
| Sets a final pit instance.  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... | |
An implementation of a final pit solver based on the Pseudoflow algorithm.
This is a final pit solver that transforms the final pit instance into a graph in which a minimum cut represents the final pit.
| delphos::PseudoFlowFinalPitSolver::PseudoFlowFinalPitSolver | ( | const FinalPitInstance & | fp | ) | 
Creates a new solver based on a given instance.
| fp | An instance of the final pit problem to be solved. | 
| delphos::PseudoFlowFinalPitSolver::PseudoFlowFinalPitSolver | ( | const FinalPitInstance & | fp, | 
| const double & | ang, | ||
| const unsigned int & | nblevel | ||
| ) | 
Creates a new solver based on a given instance.
| fp | An instance of the final pit problem to be solved. | 
| ang | The angle in Degree of the slope precedence. | 
| nblevel | The number of bench of the slope precedence. | 
| 
 | virtual | 
Retrieves the final pit.
This method retrieves the final computed by Run()
Reimplemented from delphos::FinalPitSolver.
| 
 | virtual | 
Retrieves the final pit.
This method retrieves the final computed by Run()
Reimplemented from delphos::FinalPitSolver.
| 
 | virtual | 
Retrieves the final pit value.
This method retrieves the final pit value computed by Run()
Reimplemented from delphos::FinalPitSolver.
| 
 | virtual | 
Returns true if the problem has been solved, false if not.
This method checks whether the instance has been already solved or not.
Reimplemented from delphos::FinalPitSolver.
| 
 | virtual | 
Retrieves the final pit value.
This method retrieves the final pit value computed by Run()
Reimplemented from delphos::FinalPitSolver.
| 
 | virtual | 
Calculates the final pit.
This version uses pseudoflow algorithm to compute the final pit.
Reimplemented from delphos::FinalPitSolver.