dlvhex
2.5.0
|
Creates an evaluation graph based on a specification in a file. More...
#include <include/dlvhex2/EvalHeuristicFromFile.h>
Public Types | |
typedef EvalHeuristicBase < EvalGraphBuilder > | Base |
Public Member Functions | |
EvalHeuristicFromFile (const std::string &fname) | |
Constructor. | |
virtual | ~EvalHeuristicFromFile () |
Destructor. | |
virtual void | build (EvalGraphBuilder &builder) |
Constructs the evaluation graph. | |
Protected Attributes | |
std::string | fname |
Filename the evaluation graph was read from. |
Creates an evaluation graph based on a specification in a file.
Definition at line 43 of file EvalHeuristicFromFile.h.
Definition at line 48 of file EvalHeuristicFromFile.h.
EvalHeuristicFromFile::EvalHeuristicFromFile | ( | const std::string & | fname | ) |
Constructor.
fname | File to read the evaluation graph from. |
Definition at line 104 of file EvalHeuristicFromFile.cpp.
EvalHeuristicFromFile::~EvalHeuristicFromFile | ( | ) | [virtual] |
Destructor.
Definition at line 111 of file EvalHeuristicFromFile.cpp.
void EvalHeuristicFromFile::build | ( | EvalGraphBuilder & | builder | ) | [virtual] |
Constructs the evaluation graph.
builder | EvalGraphBuilder to be used for constructing the evaluation graph. |
Implements EvalHeuristicBase< EvalGraphBuilder >.
Definition at line 122 of file EvalHeuristicFromFile.cpp.
References EvalGraphBuilder::createEvalUnit(), evalheur::executeBuildCommands(), fname, EvalGraphBuilder::getComponentGraph(), EvalGraphBuilder::getComponentGraphRest(), LOG, parseCommandFile(), evalheur::topologicalSortComponents(), and WARNING().
std::string EvalHeuristicFromFile::fname [protected] |
Filename the evaluation graph was read from.
Definition at line 62 of file EvalHeuristicFromFile.h.
Referenced by build().