Vertical precedence class with utility methods for constant slope precedences.
More...
|
| SlopePrecedence (delphos::BlockModel &bm) |
| Creates a new, empty, slope precedence.
|
|
virtual void | CreateArcs (const double &angle_degrees, const double &max_z_diff) |
| Creates all the arcs for predecessors of given angle and maximum z difference. More...
|
|
virtual void | CreateAdditionalArcs (const double &angle_degrees, const double &max_z_diff) |
| Creates all the arcs for predecessors of given angle and maximum z difference. More...
|
|
virtual void | CreateArcs (const double &angle_degrees, const double &max_z_diff, const delphos::BlockSelection &bs) |
| Creates all the arcs for predecessors of given angle and maximum z difference for a subset of blocks in the model. More...
|
|
virtual void | CreateAdditionalArcs (const double &angle_degrees, const double &max_z_diff, const delphos::BlockSelection &bs) |
| Creates all the arcs for predecessors of given angle and maximum z difference for a subset of blocks in the model. More...
|
|
virtual void | CreateArcs (const double &angle_degrees, const unsigned int &levels, const double &dx, const double &dy, const double &dz) |
| Creates all arcs for predecessors of given an angle, block dimensions and an amount of levels that are going to be used for the precedence-cone approximation. More...
|
|
virtual void | CreateAdditionalArcs (const double &angle_degrees, const unsigned int &levels, const double &dx, const double &dy, const double &dz) |
| Creates all arcs for predecessors of given an angle, block dimensions and an amount of levels that are going to be used for the precedence-cone approximation. More...
|
|
virtual void | CreateAdditionalArcs (const double &angle_degrees, const unsigned int &levels, const double &dx, const double &dy, const double &dz, const delphos::BlockSelection &bs) |
| Creates all arcs for predecessors of given an angle, block dimensions, an amount of levels that are going to be used for the precedence-cone approximation and a subset of blocks of the block model. More...
|
|
virtual void | CreateArcs (const double &angle_degrees, const unsigned int &levels, const double &dx, const double &dy, const double &dz, const delphos::BlockSelection &bs) |
| Creates all arcs for predecessors of given an angle, block dimensions, an amount of levels that are going to be used for the precedence-cone approximation and a subset of blocks of the block model. More...
|
|
virtual void | CreateArcs (const delphos::SlopeDefinition &slope_def) |
| Creates all arcs for predecessors of a given slope definition. More...
|
|
virtual void | CreateAdditionalArcs (const delphos::SlopeDefinition &slope_def) |
| Creates all arcs for predecessors of a given slope definition. More...
|
|
| Precedence (BlockModel &bm) |
| Creates a new precedence with no arcs. More...
|
|
| Precedence (delphos::Precedence &other) |
| Copy constructor.
|
|
virtual | ~Precedence () |
| Destructor.
|
|
Arc | operator[] (const delphos::BlockIndexType &index) const |
| Retrieves the Arc instance with given index. More...
|
|
Arc | GetArc (const delphos::BlockIndexType &index) const |
| Retrieves the Arc instance with given index. More...
|
|
void | AddArc (const delphos::Arc &new_arc) |
| Adds a new arc to the precedence. More...
|
|
void | AddArc (const delphos::BlockIndexType &first, const delphos::BlockIndexType &second) |
| Adds a new arc to the precedence. More...
|
|
void | Clear () |
| Deletes all arcs. More...
|
|
const delphos::BlockIndexType | Size () const |
| Returns the size (number of arcs) in the precedence. More...
|
|
const delphos::BlockIndexType | GetSize () const |
| Returns the size (number of arcs) in the precedence. More...
|
|
| 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...
|
|
Vertical precedence class with utility methods for constant slope precedences.
void delphos::SlopePrecedence::CreateAdditionalArcs |
( |
const double & |
angle_degrees, |
|
|
const unsigned int & |
levels, |
|
|
const double & |
dx, |
|
|
const double & |
dy, |
|
|
const double & |
dz |
|
) |
| |
|
virtual |
Creates all arcs for predecessors of given an angle, block dimensions and an amount of levels that are going to be used for the precedence-cone approximation.
- Parameters
-
angle_degrees | The slope angle, measured in degrees with regards to the vertical axis. |
levels | Number of benches to consider as limit for precedences. |
dx | positive real number indicating the block dimensions in the X axis. |
dy | positive real number indicating the block dimensions in the Y axis. |
dz | positive real number indicating the block dimensions in the Z axis. |
This version only works if the block model is regular, that is all blocks have the same dimensions \((\Delta x, \Delta y, \Delta z)\). It is LINEAR in the number of blocks, hence, a lot faster than the more general version. In case of previously arc structure not empty,this method is slower than CreateArcs because it adds only arcs that are not present in the structure. The number of bench level corresponds to levels+1 for the precedence in Whittle.
void delphos::SlopePrecedence::CreateAdditionalArcs |
( |
const double & |
angle_degrees, |
|
|
const unsigned int & |
levels, |
|
|
const double & |
dx, |
|
|
const double & |
dy, |
|
|
const double & |
dz, |
|
|
const delphos::BlockSelection & |
bs |
|
) |
| |
|
virtual |
Creates all arcs for predecessors of given an angle, block dimensions, an amount of levels that are going to be used for the precedence-cone approximation and a subset of blocks of the block model.
- Parameters
-
angle_degrees | The slope angle, measured in degrees with regards to the vertical axis. |
levels | Number of benches to consider as limit for precedences. |
dx | Positive real number indicating the block dimensions in the X axis. |
dy | Positive real number indicating the block dimensions in the Y axis. |
dz | Positive real number indicating the block dimensions in the Z axis. |
bs | A BlockSelection object from the original BlockModel object. |
This version only works if the block model is regular, that is all blocks have the same dimensions \((\Delta x, \Delta y, \Delta z)\). It is LINEAR in the number of blocks, hence, a lot faster than the more general version. Also, the arcs are created for every block in the BlockSelection, regardless if the predecessor is in the selection or not. In case of previously arc structure not empty,this method is slower than CreateArcs because it adds only arcs that are not present in the structure. The number of bench level corresponds to levels+1 for the precedence in Whittle.
void delphos::SlopePrecedence::CreateArcs |
( |
const double & |
angle_degrees, |
|
|
const unsigned int & |
levels, |
|
|
const double & |
dx, |
|
|
const double & |
dy, |
|
|
const double & |
dz |
|
) |
| |
|
virtual |
Creates all arcs for predecessors of given an angle, block dimensions and an amount of levels that are going to be used for the precedence-cone approximation.
- Parameters
-
angle_degrees | The slope angle, measured in degrees with regards to the vertical axis. |
levels | Number of benches to consider as limit for precedences. |
dx | positive real number indicating the block dimensions in the X axis. |
dy | positive real number indicating the block dimensions in the Y axis. |
dz | positive real number indicating the block dimensions in the Z axis. |
This version only works if the block model is regular, that is all blocks have the same dimensions \((\Delta x, \Delta y, \Delta z)\). It is LINEAR in the number of blocks, hence, a lot faster than the more general version. Before computing arcs, it remove previously arcs present in the structure. The number of bench level corresponds to levels+1 for the precedence in Whittle.
void delphos::SlopePrecedence::CreateArcs |
( |
const double & |
angle_degrees, |
|
|
const unsigned int & |
levels, |
|
|
const double & |
dx, |
|
|
const double & |
dy, |
|
|
const double & |
dz, |
|
|
const delphos::BlockSelection & |
bs |
|
) |
| |
|
virtual |
Creates all arcs for predecessors of given an angle, block dimensions, an amount of levels that are going to be used for the precedence-cone approximation and a subset of blocks of the block model.
- Parameters
-
angle_degrees | The slope angle, measured in degrees with regards to the vertical axis. |
levels | Number of benches to consider as limit for precedences. |
dx | Positive real number indicating the block dimensions in the X axis. |
dy | Positive real number indicating the block dimensions in the Y axis. |
dz | Positive real number indicating the block dimensions in the Z axis. |
bs | A BlockSelection object from the original BlockModel object. |
This version only works if the block model is regular, that is all blocks have the same dimensions \((\Delta x, \Delta y, \Delta z)\). It is LINEAR in the number of blocks, hence, a lot faster than the more general version. Also, the arcs are created for every block in the BlockSelection, regardless if the predecessor is in the selection or not. Before computing arcs, it remove previously arcs present in the structure. The number of bench level corresponds to levels+1 for the precedence in Whittle.