#include <AlpsKnowledgeBrokerSerial.h>
Inheritance diagram for AlpsKnowledgeBrokerSerial:


Public Member Functions | |
| AlpsKnowledgeBrokerSerial () | |
| Default constructor. | |
| AlpsKnowledgeBrokerSerial (AlpsModel &model) | |
| Userful constructor. | |
| AlpsKnowledgeBrokerSerial (int argc, char *argv[], AlpsModel &model) | |
| Userful constructor. | |
| virtual | ~AlpsKnowledgeBrokerSerial () |
| Destructor. | |
| virtual void | initializeSearch (int argc, char *argv[], AlpsModel &model) |
| Reading in Alps and user parameter sets, and read in model data. | |
| virtual void | rootSearch (AlpsTreeNode *root) |
| Search for best solution. | |
Report the search results. | |
| virtual void | searchLog () |
| Search log. | |
| virtual double | getIncumbentValue () const |
| The process queries the quality of the incumbent that it stores. | |
| virtual double | getBestQuality () const |
| The process queries the quality of the best solution that it finds. | |
| virtual void | printBestSolution (char *outputFile=0) const |
| The process outputs the best solution and the quality that it finds to a file or std::out. | |
Private Member Functions | |
| AlpsKnowledgeBrokerSerial (const AlpsKnowledgeBrokerSerial &) | |
| AlpsKnowledgeBrokerSerial & | operator= (const AlpsKnowledgeBrokerSerial &) |
Definition at line 35 of file AlpsKnowledgeBrokerSerial.h.
| AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial | ( | const AlpsKnowledgeBrokerSerial & | ) | [private] |
| AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial | ( | ) | [inline] |
| AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial | ( | AlpsModel & | model | ) | [inline] |
Userful constructor.
Note need read in parameters and data seperately.
Definition at line 49 of file AlpsKnowledgeBrokerSerial.h.
References initializeSearch().
| AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial | ( | int | argc, | |
| char * | argv[], | |||
| AlpsModel & | model | |||
| ) | [inline] |
Userful constructor.
Read in parameters from arguments. Also read in data.
Definition at line 58 of file AlpsKnowledgeBrokerSerial.h.
References initializeSearch().
| virtual AlpsKnowledgeBrokerSerial::~AlpsKnowledgeBrokerSerial | ( | ) | [inline, virtual] |
| AlpsKnowledgeBrokerSerial& AlpsKnowledgeBrokerSerial::operator= | ( | const AlpsKnowledgeBrokerSerial & | ) | [private] |
| virtual void AlpsKnowledgeBrokerSerial::searchLog | ( | ) | [virtual] |
| virtual double AlpsKnowledgeBrokerSerial::getIncumbentValue | ( | ) | const [inline, virtual] |
The process queries the quality of the incumbent that it stores.
Implements AlpsKnowledgeBroker.
Definition at line 81 of file AlpsKnowledgeBrokerSerial.h.
References getBestQuality().
| virtual double AlpsKnowledgeBrokerSerial::getBestQuality | ( | ) | const [inline, virtual] |
The process queries the quality of the best solution that it finds.
Implements AlpsKnowledgeBroker.
Definition at line 87 of file AlpsKnowledgeBrokerSerial.h.
References ALPS_INC_MAX, AlpsKnowledgeTypeSolution, AlpsKnowledgeBroker::getBestKnowledge(), and AlpsKnowledgeBroker::hasKnowledge().
Referenced by getIncumbentValue(), and printBestSolution().
| virtual void AlpsKnowledgeBrokerSerial::printBestSolution | ( | char * | outputFile = 0 |
) | const [inline, virtual] |
The process outputs the best solution and the quality that it finds to a file or std::out.
Implements AlpsKnowledgeBroker.
Definition at line 98 of file AlpsKnowledgeBrokerSerial.h.
References AlpsExitStatusOptimal, AlpsKnowledgeTypeSolution, AlpsKnowledgeBroker::getBestKnowledge(), getBestQuality(), AlpsKnowledgeBroker::getNumKnowledges(), AlpsKnowledgeBroker::getSolStatus(), and AlpsKnowledgeBroker::msgLevel_.
| virtual void AlpsKnowledgeBrokerSerial::initializeSearch | ( | int | argc, | |
| char * | argv[], | |||
| AlpsModel & | model | |||
| ) | [virtual] |
Reading in Alps and user parameter sets, and read in model data.
Implements AlpsKnowledgeBroker.
Referenced by AlpsKnowledgeBrokerSerial().
| virtual void AlpsKnowledgeBrokerSerial::rootSearch | ( | AlpsTreeNode * | root | ) | [virtual] |
1.4.7