SteelMillOptions Class Reference
SteelMillOptions for examples with size option and an additional optional file name parameter. More...
Public Member Functions | |
| SteelMillOptions (const char *n) | |
| Initialize options for example with name n. | |
| virtual void | help (void) |
| Print help text. | |
| bool | parse (int &argc, char *argv[]) |
| Parse options from arguments argv (number is argc). | |
| unsigned int | size (void) const |
| Return size. | |
| int * | capacities (void) const |
| Return capacities. | |
| int | ncapacities (void) const |
| Return number of capacities. | |
| int | maxcapacity (void) const |
| Return maximum of capacities. | |
| int * | loss (void) const |
| Return loss values. | |
| order_t | orders (void) const |
| Return orders. | |
| int | ncolors (void) const |
| Return number of colors. | |
| int | norders (void) const |
| Return number of orders. | |
Detailed Description
SteelMillOptions for examples with size option and an additional optional file name parameter.Used in the SteelMill example.
Definition at line 77 of file steel-mill.cpp.
Constructor & Destructor Documentation
| SteelMillOptions::SteelMillOptions | ( | const char * | n | ) | [inline] |
Member Function Documentation
| void SteelMillOptions::help | ( | void | ) | [virtual] |
Print help text.
Reimplemented from Gecode::BaseOptions.
Definition at line 432 of file steel-mill.cpp.
| bool SteelMillOptions::parse | ( | int & | argc, | |
| char * | argv[] | |||
| ) |
Parse options from arguments argv (number is argc).
Reimplemented from Gecode::BaseOptions.
Definition at line 445 of file steel-mill.cpp.
| unsigned int SteelMillOptions::size | ( | void | ) | const [inline] |
| int* SteelMillOptions::capacities | ( | void | ) | const [inline] |
| int SteelMillOptions::ncapacities | ( | void | ) | const [inline] |
| int SteelMillOptions::maxcapacity | ( | void | ) | const [inline] |
| int* SteelMillOptions::loss | ( | void | ) | const [inline] |
| order_t SteelMillOptions::orders | ( | void | ) | const [inline] |
| int SteelMillOptions::ncolors | ( | void | ) | const [inline] |
| int SteelMillOptions::norders | ( | void | ) | const [inline] |
The documentation for this class was generated from the following file:
- examples/steel-mill.cpp (Revision: 9118)
