28 #ifndef SKOORINTERPRETER_H 29 #define SKOORINTERPRETER_H 31 #ifndef DOXYGEN_SHOULD_SKIP_THIS 37 #endif // DOXYGEN_SHOULD_SKIP_THIS 83 bool interpretFile(
const std::string& filename);
84 bool interpretLine(
const std::string& line);
93 const std::vector< QueryResult >& results()
const;
104 std::vector< std::string > getPaths()
const;
105 void addPath(std::string path);
110 bool isInSyntaxMode()
const;
111 void setSyntaxMode(
bool f);
115 bool isVerboseMode()
const;
116 void setVerboseMode(
bool f);
126 Size warnings()
const;
130 void showElegantErrors(std::ostream& o = std::cerr)
const;
132 void showElegantErrorsAndWarnings(std::ostream& o = std::cerr)
const;
134 void showErrorCounts(std::ostream& o = std::cerr)
const;
152 std::string findSystemName(std::string& s);
153 std::string findInstanceName(std::string& s,
156 findAttributeName(
const std::string& s,
161 void addError(std::string msg);
162 void addWarning(std::string msg);
164 std::string __readFile(
const std::string& file);
191 #endif // GUM_SKOORINTERPRETER_H
Headers of O3prmInterpreter.
Errors container (at least) for parser.
gum::BayesNet< double > * m_bn
An PRMInstance is a Bayesian Network fragment defined by a Class and used in a PRMSystem.
This class is used to represent parsing errors for the different parser implemented in aGrUM...
This class is used contain and manipulate gum::ParseError.
gum is the global namespace for all aGrUM entities
The class for generic Hash Tables.
gum::prm::o3prm::O3prmReader< double > * m_reader
Headers for the O3prmReader class.
std::vector< SingleResult > values
gum::ErrorsContainer m_errors
gum::prm::PRMInference< double > * m_inf
std::vector< std::string > m_paths
Represents a O3PRMR context.
Size Idx
Type for indexes.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
HashTable< const PRMSystem< double > *, PRMInference< double > *> m_inf_map
std::vector< QueryResult > m_results
O3prmrContext< double > * m_context