A constraint that prevents certain blocks that can't be extracted before a period due to capacities constraints, to be used.
More...
|
| MinExtractPeriodConstraint (const string &name, const string &attribute, const vector< double > &capacities, delphos::Precedence *prec, delphos::BlockModel &bm) |
| Defines A constraint that prevents certain blocks that can't be extracted before a period due to capacities constraints, to be used. More...
|
|
| MinExtractPeriodConstraint (const string &name, const string &attribute, const vector< double > &capacities, delphos::Precedence *prec, delphos::BlockModel &bm, const vector< string > &destinations, const vector< string > &val_attr) |
| Defines A constraint that prevents certain blocks that can't be extracted before a period due to capacities constraints, to be used. More...
|
|
virtual | ~MinExtractPeriodConstraint () |
| The destructor.
|
|
bool | ComputeMinExtractPeriod () |
| Computes the extracted period minimums for each block.
|
|
void | SetMinExtractPeriod (const delphos::BlockIndexType id, const unsigned int period) |
| Set a minimum extracted period for a block. More...
|
|
unsigned int | GetMinExtractPeriod (const delphos::BlockIndexType id) const |
| Returns The extracted period minimum for a given block. More...
|
|
float | GetConeVal (const delphos::BlockIndexType id) const |
| Returns the full precedence cone value of a given block. More...
|
|
float | GetConeWeight (const delphos::BlockIndexType id) const |
| Returns the full precedence cone weight of a given block. More...
|
|
const unsigned int | NumPeriods () const |
| Returns the number of periods. Deprecated.
|
|
const unsigned int | GetNumPeriods () const |
| Returns the number of periods.
|
|
const double | GetCapacity (const unsigned int period) const |
| Returns the capacity of given period. More...
|
|
const Precedence & | GetPrecedence () const |
| Returns The precedence.
|
|
virtual bool | Check (const delphos::Schedule &sch) const |
| checks if the constraint is satisfied by the schedule. More...
|
|
| BlockConstraint (const string &name, delphos::BlockModel &bm) |
| Creates a new block selection constraint. More...
|
|
| BlockConstraint (const string &name, delphos::BlockSelection *bs) |
| Creates a new block selection constraint. More...
|
|
delphos::BlockSelection * | GetBlockSelection () const |
| Returns the selection of blocks being constrained.
|
|
virtual | ~BlockConstraint () |
| Destroys a block constraint.
|
|
| Constraint (const string &name) |
| Creates a constraint with given name. More...
|
|
virtual | ~Constraint () |
| Destructor. More...
|
|
virtual bool | Check (const delphos::FractionalSchedule &fsch) const |
| Checks if the given fractional schedule satisfies the constraint. More...
|
|
virtual string | ToXML (const unsigned int identation_level=0) const |
| A XML string describing the constraint. More...
|
|
const char * | TypeName () const |
| a char string used a identifier in the XML representation of the constraint.
|
|
A constraint that prevents certain blocks that can't be extracted before a period due to capacities constraints, to be used.