MineLink
 All Data Structures Functions Variables Pages
delphos::PseudoFlowFinalPitSolver Class Reference

An implementation of a final pit solver based on the Pseudoflow algorithm. More...

#include <pseudoflowfp.h>

Inheritance diagram for delphos::PseudoFlowFinalPitSolver:
Inheritance graph
Collaboration diagram for delphos::PseudoFlowFinalPitSolver:
Collaboration graph

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::BlockSelectionFinalPit ()
 Retrieves the final pit. More...
 
virtual delphos::BlockSelectionGetFinalPit ()
 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 FinalPitInstanceGetInstance () 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::BlockModelGetBlockModel ()
 Retrieves the block model to which the entity is associated. More...
 
const delphos::BlockModelGetBlockModel () const
 Retrieves the block model to which the entity is associated. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

delphos::PseudoFlowFinalPitSolver::PseudoFlowFinalPitSolver ( const FinalPitInstance fp)

Creates a new solver based on a given instance.

Parameters
fpAn 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.

Parameters
fpAn instance of the final pit problem to be solved.
angThe angle in Degree of the slope precedence.
nblevelThe number of bench of the slope precedence.

Member Function Documentation

BlockSelection * delphos::PseudoFlowFinalPitSolver::FinalPit ( )
virtual

Retrieves the final pit.

This method retrieves the final computed by Run()

Reimplemented from delphos::FinalPitSolver.

BlockSelection * delphos::PseudoFlowFinalPitSolver::GetFinalPit ( )
virtual

Retrieves the final pit.

This method retrieves the final computed by Run()

Reimplemented from delphos::FinalPitSolver.

double delphos::PseudoFlowFinalPitSolver::GetPitValue ( )
virtual

Retrieves the final pit value.

This method retrieves the final pit value computed by Run()

Reimplemented from delphos::FinalPitSolver.

const bool delphos::PseudoFlowFinalPitSolver::IsSolved ( ) const
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.

double delphos::PseudoFlowFinalPitSolver::PitValue ( )
virtual

Retrieves the final pit value.

This method retrieves the final pit value computed by Run()

Reimplemented from delphos::FinalPitSolver.

bool delphos::PseudoFlowFinalPitSolver::Run ( )
virtual

Calculates the final pit.

This version uses pseudoflow algorithm to compute the final pit.

Reimplemented from delphos::FinalPitSolver.


The documentation for this class was generated from the following files: