aGrUM  0.16.3
a C++ library for (probabilistic) graphical models
exceptions.h File Reference

Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr. More...

#include <iomanip>
#include <iostream>
#include <string>
#include <agrum/core/types.h>
+ Include dependency graph for exceptions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gum::Exception
 Base class for all aGrUM's exceptions. More...
 

Namespaces

 gum
 Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
 

Macros

#define GUM_ERROR_IN_EXPR(type, msg)   throw(type(msg))
 
#define GUM_ERROR(type, msg)
 
#define GUM_SHOWERROR(e)
 
#define GUM_MAKE_ERROR(TYPE, SUPERCLASS, MSG)
 
#define GUM_SYNTAX_ERROR(msg, line, column)
 

Detailed Description

Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library. If not, see http://www.gnu.org/licenses/. aGrUM's exceptions

Author
Pierre-Henri WUILLEMIN and Christophe GONZALES

Definition in file exceptions.h.

Macro Definition Documentation

◆ GUM_ERROR

#define GUM_ERROR (   type,
  msg 
)
Value:
{ \
std::ostringstream __error__str; \
__error__str << __FILE__ << ":" << __LINE__ << ": " << msg; \
throw(type(__error__str.str())); \
}

Definition at line 55 of file exceptions.h.

Referenced by gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__addParameters(), gum::prm::PRMFactory< GUM_SCALAR >::__addParent(), gum::credal::lp::LpExpr::__addSide(), gum::MarkovBlanket::__buildMarkovBlanket(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAggParameters(), gum::BNdistance< GUM_SCALAR >::__checkCompatibility(), gum::learning::genericBNLearner::__checkFileName(), gum::prm::gspan::DFSTree< GUM_SCALAR >::__checkGrowth(), gum::prm::PRMClass< double >::__checkInterface(), gum::prm::PRMFactory< GUM_SCALAR >::__checkInterfaceImplementation(), gum::FMDPFactory< GUM_SCALAR >::__checkModalityInBag(), gum::BayesNetFactory< GUM_SCALAR >::__checkModalityInBag(), gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__checkParameters(), gum::prm::PRMClass< double >::__checkRefInterface(), gum::prm::PRMFactory< GUM_SCALAR >::__checkStack(), gum::prm::PRMFactory< GUM_SCALAR >::__checkStackContainter(), gum::BayesNetFactory< GUM_SCALAR >::__checkVariableModality(), gum::BayesNetFactory< GUM_SCALAR >::__checkVariableName(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::__chooseCloseNodes(), gum::DefaultJunctionTreeStrategy::__computeJunctionTree(), gum::MultiDimBucket< GUM_SCALAR >::__computeValue(), gum::prm::PRMSlotChain< double >::__copyLastElt(), gum::learning::genericBNLearner::__createApriori(), gum::learning::genericBNLearner::__createCorrectedMutualInformation(), gum::BayesNetInference< GUM_SCALAR >::__createHardEvidence(), gum::learning::genericBNLearner::__createParamEstimator(), gum::learning::genericBNLearner::__createScore(), gum::prm::SVE< GUM_SCALAR >::__eliminateNodesWithEvidence(), gum::prm::PRMFormAttribute< GUM_SCALAR >::__fillCpf(), gum::Formula::__finalize(), gum::prm::StructuredBayesBall< GUM_SCALAR >::__fromChild(), gum::FormulaPart::__function_argc(), gum::FormulaPart::__function_eval(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateCluster(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::__generateSystem(), gum::prm::InstanceBayesNet< GUM_SCALAR >::__get(), gum::prm::ClassBayesNet< GUM_SCALAR >::__get(), gum::learning::genericBNLearner::__getAprioriType(), gum::prm::PRMSystem< double >::__groundAgg(), gum::prm::PRMSystem< double >::__groundPotential(), gum::credal::CredalNet< GUM_SCALAR >::__H2Vlrs(), gum::FMDPFactory< GUM_SCALAR >::__illegalStateError(), gum::BayesNetFactory< GUM_SCALAR >::__illegalStateError(), gum::credal::LRSWrapper< GUM_SCALAR >::__initLrs(), gum::prm::SVED< GUM_SCALAR >::__initReqSets(), gum::BijectionImplementation< Idx, const std::string *, std::allocator< const std::string * >, std::is_scalar< Idx >::value &&std::is_scalar< const std::string * >::value >::__insert(), gum::List< const gum::Potential< GUM_SCALAR > * >::__insert(), gum::HashTable< Val, Size, IndexAllocator >::__insert(), gum::credal::CredalNet< GUM_SCALAR >::__intervalToCredal(), gum::BayesNetInference< GUM_SCALAR >::__isHardEvidence(), gum::learning::genericBNLearner::__learnDAG(), gum::DefaultPartialOrderedEliminationSequenceStrategy::__nodeToEliminate(), gum::FormulaPart::__operator_argc(), gum::FormulaPart::__operator_eval(), gum::prm::PRMClass< double >::__overloadReference(), gum::Formula::__push_comma(), gum::Formula::__push_function(), gum::Formula::__push_identifier(), gum::Formula::__push_rightParenthesis(), gum::Formula::__push_variable(), gum::prm::o3prmr::O3prmrInterpreter::__readFile(), gum::prm::o3prm::O3prmReader< double >::__readStream(), gum::Formula::__reduceOperatorOrFunction(), gum::prm::PRMFactory< GUM_SCALAR >::__retrieveClass(), gum::prm::PRMFactory< GUM_SCALAR >::__retrieveCommonType(), gum::prm::PRMFactory< GUM_SCALAR >::__retrieveInputs(), gum::prm::PRMFactory< GUM_SCALAR >::__retrieveInterface(), gum::prm::PRMFactory< GUM_SCALAR >::__retrieveType(), gum::learning::genericBNLearner::__setAprioriWeight(), gum::DiGraph::__topologicalOrder(), gum::prm::StructuredInference< GUM_SCALAR >::__translatePotSet(), gum::GibbsOperator< GUM_SCALAR >::__updateSamplingNodes(), gum::learning::BNDatabaseGenerator< GUM_SCALAR >::__varOrderFromCSV(), gum::BNdistance< GUM_SCALAR >::_computeKL(), gum::MultiDimReadOnly< GUM_SCALAR >::_get(), gum::MultiDimSparse< GUM_SCALAR >::_get(), gum::MultiDimBijArray< GUM_SCALAR >::_get(), gum::MultiDimDecorator< GUM_SCALAR >::_get(), gum::MultiDimBucket< GUM_SCALAR >::_get(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::_get(), gum::prm::PRMClassElementContainer< double >::_getIOFlag(), gum::MultiDimWithOffset< GUM_SCALAR >::_getOffs(), gum::credal::CNLoopyPropagation< GUM_SCALAR >::_initialize(), gum::prm::SVED< GUM_SCALAR >::_joint(), gum::prm::SVE< GUM_SCALAR >::_joint(), gum::prm::GroundedInference< GUM_SCALAR >::_joint(), gum::prm::StructuredInference< GUM_SCALAR >::_joint(), gum::prm::GroundedInference< GUM_SCALAR >::_marginal(), gum::SamplingInference< GUM_SCALAR >::_onEvidenceAdded(), gum::SamplingInference< GUM_SCALAR >::_onEvidenceChanged(), gum::credal::InferenceEngine< GUM_SCALAR >::_repetitiveInit(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::_replace(), gum::prm::PRMFuncAttribute< GUM_SCALAR >::_setCpf(), gum::prm::PRMFormAttribute< GUM_SCALAR >::_type(), gum::prm::PRMScalarAttribute< GUM_SCALAR >::_type(), gum::Instantiation::actAsSlave(), gum::FMDP< double >::actionId(), gum::FMDP< double >::actionName(), gum::MultiDimWithOffset< GUM_SCALAR >::add(), gum::MultiDimDecorator< GUM_SCALAR >::add(), gum::MultiDimBijArray< GUM_SCALAR >::add(), gum::MultiDimImplementation< std::string >::add(), gum::prm::PRMInterface< double >::add(), gum::prm::PRMSystem< double >::add(), gum::prm::PRMClass< double >::add(), gum::BayesNet< double >::add(), gum::Instantiation::add(), gum::prm::PRMInstance< GUM_SCALAR >::add(), gum::FMDP< double >::addAction(), gum::prm::PRMFactory< GUM_SCALAR >::addAggregator(), gum::MarginalTargetedInference< GUM_SCALAR >::addAllTargets(), gum::BayesNet< double >::addAND(), gum::prm::PRMInterface< double >::addArc(), gum::prm::gspan::Pattern::addArc(), gum::DAG::addArc(), gum::DiGraph::addArc(), gum::prm::PRMClass< double >::addArc(), gum::DAGCycleDetector::addArc(), gum::InfluenceDiagram< GUM_SCALAR >::addArc(), gum::BayesNet< double >::addArc(), gum::prm::PRMSystem< double >::addArray(), gum::prm::PRMFactory< GUM_SCALAR >::addAttribute(), gum::prm::PRMParameter< double >::addChild(), gum::credal::lp::LpInterface< GUM_SCALAR >::addCols(), gum::FMDP< double >::addCostForAction(), gum::UndiGraph::addEdge(), gum::prm::PRMInference< double >::addEvidence(), gum::BayesNetInference< GUM_SCALAR >::addEvidence(), gum::BayesNet< double >::addEXISTS(), gum::BayesNet< double >::addFORALL(), gum::prm::PRMFactory< GUM_SCALAR >::addImport(), gum::prm::PRMFactory< GUM_SCALAR >::addInstance(), gum::JointTargetedInference< GUM_SCALAR >::addJointTarget(), gum::prm::PRMFactory< GUM_SCALAR >::addLabel(), gum::NodeGraphPart::addNodeWithId(), gum::prm::PRMFactory< GUM_SCALAR >::addNoisyOrCompound(), gum::BayesNet< double >::addOR(), gum::prm::PRMFormAttribute< GUM_SCALAR >::addParent(), gum::prm::PRMParameter< double >::addParent(), gum::prm::PRMScalarAttribute< GUM_SCALAR >::addParent(), gum::prm::o3prmr::O3prmrInterpreter::addPath(), gum::prm::PRMFactory< GUM_SCALAR >::addRangeType(), gum::prm::PRMFactory< GUM_SCALAR >::addReferenceSlot(), gum::FMDP< double >::addRewardForAction(), gum::credal::lp::LpInterface< GUM_SCALAR >::addRow(), gum::MarginalTargetedInference< GUM_SCALAR >::addTarget(), gum::prm::PRMFactory< GUM_SCALAR >::addTick(), gum::FMDP< double >::addTransitionForAction(), gum::InfluenceDiagram< GUM_SCALAR >::addUtilityNode(), gum::FMDP< double >::addVariable(), gum::credal::CredalNet< GUM_SCALAR >::addVariable(), gum::BayesNet< double >::addWeightedArc(), gum::Instantiation::addWithMaster(), gum::ApproximationSchemeListener::ApproximationSchemeListener(), gum::FormulaPart::argc(), gum::HashTableList< Val, Size, IndexAllocator >::at(), gum::SequenceImplementation< gum::prm::PRMClassElement< double > *, std::allocator< gum::prm::PRMClassElement< double > *>, std::is_scalar< gum::prm::PRMClassElement< double > *>::value >::atPos(), gum::SplayTree< Element >::back(), gum::List< const gum::Potential< GUM_SCALAR > * >::back(), gum::BayesNetFactory< GUM_SCALAR >::BayesNetFactory(), gum::prm::PRMSystem< double >::begin(), gum::prm::PRMInstance< GUM_SCALAR >::begin(), gum::BayesNetInference< GUM_SCALAR >::BN(), gum::learning::BNLearnerListener::BNLearnerListener(), gum::credal::CredalNet< GUM_SCALAR >::bnToCredal(), gum::MultiDimBucket< GUM_SCALAR >::bucket(), gum::prm::o3prm::O3TypeFactory< GUM_SCALAR >::build(), gum::build_node(), gum::prm::PRMAggregate< double >::buildImpl(), gum::prm::PRMClassElement< double >::cast(), gum::MultiDimICIModel< GUM_SCALAR >::causalWeight(), gum::BayesNet< double >::changePotential(), gum::BayesNet< double >::changeVariableLabel(), gum::BayesNetFragment< GUM_SCALAR >::checkConsistency(), gum::BayesNetInference< GUM_SCALAR >::chgEvidence(), gum::Instantiation::chgVal(), gum::prm::gspan::DFSTree< GUM_SCALAR >::children(), gum::Instantiation::clear(), gum::credal::CNLoopyPropagation< GUM_SCALAR >::CNLoopyPropagation(), gum::prm::PRMClass< double >::completeInheritance(), gum::credal::LRSWrapper< GUM_SCALAR >::computeVolume(), gum::prm::PRMFactory< GUM_SCALAR >::continueAggregator(), gum::ApproximationScheme::continueApproximationScheme(), gum::prm::PRMFactory< GUM_SCALAR >::continueAttribute(), gum::prm::PRMFactory< GUM_SCALAR >::continueClass(), gum::prm::PRMFactory< GUM_SCALAR >::continueInterface(), gum::BinaryJoinTreeConverterDefault::convert(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::copy(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::copyAndMultiplyByScalar(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::copyAndReassign(), gum::MultiDimICIModel< GUM_SCALAR >::copyFrom(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::copyFrom(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::copyFrom(), gum::MultiDimContainer< GUM_SCALAR >::copyFrom(), gum::prm::copyPotential(), gum::FMDP< double >::cost(), gum::prm::PRMParameter< double >::cpf(), gum::prm::PRMReferenceSlot< double >::cpf(), gum::prm::PRMAggregate< double >::cpf(), gum::BayesNetFragment< GUM_SCALAR >::cpt(), gum::learning::genericBNLearner::currentTime(), gum::prm::PRMFactory< GUM_SCALAR >::currentType(), gum::learning::BNDatabaseGenerator< GUM_SCALAR >::database(), gum::learning::genericBNLearner::Database::Database(), gum::LinearApproximationPolicy< GUM_SCALAR >::decode(), gum::DiGraphListener::DiGraphListener(), gum::ArcGraphPart::directedPath(), gum::ArcGraphPart::directedUnorientedPath(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::disturbBN(), gum::Potential< GUM_SCALAR >::draw(), gum::credal::InferenceEngine< GUM_SCALAR >::dynamicExpMax(), gum::credal::InferenceEngine< GUM_SCALAR >::dynamicExpMin(), gum::prm::gspan::Pattern::edgeCode(), gum::IncrementalTriangulation::eliminationTree(), gum::OrderedEliminationSequenceStrategy::eliminationUpdate(), gum::credal::LRSWrapper< GUM_SCALAR >::elimRedundVrep(), gum::LinearApproximationPolicy< GUM_SCALAR >::encode(), gum::prm::PRMSystem< double >::end(), gum::prm::PRMFactory< GUM_SCALAR >::endDiscreteType(), gum::prm::PRMFactory< GUM_SCALAR >::endDiscretizedType(), gum::prm::PRMFactory< GUM_SCALAR >::endSystem(), gum::FMDPFactory< GUM_SCALAR >::endVariableDeclaration(), gum::BayesNetFactory< GUM_SCALAR >::endVariableDeclaration(), gum::learning::genericBNLearner::epsilon(), gum::MultiDimBijArray< GUM_SCALAR >::erase(), gum::MultiDimImplementation< std::string >::erase(), gum::Instantiation::erase(), gum::HashTableList< Val, Size, IndexAllocator >::erase(), gum::JointTargetedInference< GUM_SCALAR >::eraseJointTarget(), gum::MultiDimFunctionGraphManager< bool, ExactTerminalNodePolicy >::eraseNode(), gum::MarginalTargetedInference< GUM_SCALAR >::eraseTarget(), gum::Instantiation::eraseWithMaster(), gum::FormulaPart::eval(), gum::prm::PRMInference< double >::evidence(), gum::MarginalTargetedInference< GUM_SCALAR >::evidenceImpact(), gum::JointTargetedInference< GUM_SCALAR >::evidenceJointImpact(), gum::MultiDimContainer< GUM_SCALAR >::extractFrom(), gum::MultiDimReadOnly< GUM_SCALAR >::fill(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::fill(), gum::MultiDimBijArray< GUM_SCALAR >::fill(), gum::credal::CredalNet< GUM_SCALAR >::fillConstraint(), gum::credal::CredalNet< GUM_SCALAR >::fillConstraints(), gum::credal::LRSWrapper< GUM_SCALAR >::fillH(), gum::IncrementalTriangulation::fillIns(), gum::credal::LRSWrapper< GUM_SCALAR >::fillMatrix(), gum::credal::LRSWrapper< GUM_SCALAR >::fillV(), gum::Potential< GUM_SCALAR >::fillWith(), gum::FMDPFactory< GUM_SCALAR >::fmdp(), gum::SplayTree< Element >::front(), gum::List< const gum::Potential< GUM_SCALAR > * >::front(), gum::func2str(), gum::GammaLog2::gammaLog2(), gum::prm::ClusteredLayerGenerator< GUM_SCALAR >::generate(), gum::prm::LayerGenerator< GUM_SCALAR >::generate(), gum::prm::PRMSystem< double >::get(), gum::MultiDimLogit< GUM_SCALAR >::get(), gum::MultiDimNoisyORNet< GUM_SCALAR >::get(), gum::MultiDimNoisyORCompound< GUM_SCALAR >::get(), gum::prm::PRMInterface< double >::get(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::get(), gum::MultiDimNoisyAND< GUM_SCALAR >::get(), gum::prm::PRMInstance< GUM_SCALAR >::get(), gum::prm::PRMClass< double >::get(), gum::prm::PRMSystem< double >::getArray(), gum::prm::PRMSystem< double >::getArrayType(), gum::prm::GroundedInference< GUM_SCALAR >::getBNInference(), gum::MultiDimArray< GUM_SCALAR >::getByOffset(), gum::prm::PRMFormAttribute< GUM_SCALAR >::getCastDescendant(), gum::prm::PRMParameter< double >::getCastDescendant(), gum::prm::PRMScalarAttribute< GUM_SCALAR >::getCastDescendant(), gum::prm::PRMReferenceSlot< double >::getCastDescendant(), gum::prm::PRMSlotChain< double >::getCastDescendant(), gum::prm::PRMAggregate< double >::getCastDescendant(), gum::prm::PRMFactory< GUM_SCALAR >::getCurrent(), gum::IndexedTree< Key, Data >::getData(), gum::InfluenceDiagram< GUM_SCALAR >::getDecisionOrder(), gum::credal::VarMod2BNsMap< GUM_SCALAR >::getFullBNOptsFromKey(), gum::prm::PRMInstance< GUM_SCALAR >::getInstance(), gum::prm::PRMInstance< GUM_SCALAR >::getInstances(), gum::credal::LRSWrapper< GUM_SCALAR >::getVolume(), gum::prm::GroundedInference< GUM_SCALAR >::GroundedInference(), gum::prm::gspan::DFSTree< GUM_SCALAR >::growPattern(), gum::credal::LRSWrapper< GUM_SCALAR >::H2V(), gum::DAGCycleDetector::hasCycleFromModifications(), gum::HashTableConstIterator< Key, bool >::HashTableConstIterator(), gum::HashTableConstIteratorSafe< const gum::DiscreteVariable *, Idx >::HashTableConstIteratorSafe(), gum::ApproximationScheme::history(), gum::learning::genericBNLearner::history(), gum::JointTargetedInference< GUM_SCALAR >::I(), gum::IBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::IBayesNetGenerator(), gum::BayesNetFragment< GUM_SCALAR >::idFromName(), gum::learning::genericBNLearner::Database::idFromName(), gum::credal::CredalNet< GUM_SCALAR >::idmLearning(), gum::prm::PRMClass< double >::implements(), gum::prm::PRMFactory< GUM_SCALAR >::incArray(), gum::RangeVariable::index(), gum::List< const gum::Potential< GUM_SCALAR > * >::insert(), gum::credal::InferenceEngine< GUM_SCALAR >::insertEvidenceFile(), gum::credal::InferenceEngine< GUM_SCALAR >::insertModalsFile(), gum::IndexedTree< Key, Data >::insertNode(), gum::credal::InferenceEngine< GUM_SCALAR >::insertQueryFile(), gum::BayesNetFragment< GUM_SCALAR >::installCPT(), gum::BayesNetFragment< GUM_SCALAR >::installMarginal(), gum::BayesNetFragment< GUM_SCALAR >::installNode(), gum::prm::PRMClass< double >::isCastDescendant(), gum::learning::genericBNLearner::isEnabledEpsilon(), gum::learning::genericBNLearner::isEnabledMaxIter(), gum::learning::genericBNLearner::isEnabledMaxTime(), gum::learning::genericBNLearner::isEnabledMinEpsilonRate(), gum::JointTargetedInference< GUM_SCALAR >::isJointTarget(), gum::FormulaPart::isLeftAssociative(), gum::prm::gspan::DFSTree< GUM_SCALAR >::iso_graph(), gum::prm::gspan::DFSTree< GUM_SCALAR >::iso_map(), gum::prm::PRMInterface< double >::isSubTypeOf(), gum::prm::PRMClass< double >::isSubTypeOf(), gum::MarginalTargetedInference< GUM_SCALAR >::isTarget(), gum::prm::PRMInference< double >::joint(), gum::JointTargetedInference< GUM_SCALAR >::jointMutualInformation(), gum::JointTargetedInference< GUM_SCALAR >::jointPosterior(), gum::HashTable< Val, Size, IndexAllocator >::key(), gum::HashTableConstIteratorSafe< const gum::DiscreteVariable *, Idx >::key(), gum::HashTableConstIterator< Key, bool >::key(), gum::HashTable< Val, Size, IndexAllocator >::keyByVal(), gum::Potential< GUM_SCALAR >::KL(), gum::prm::gspan::Pattern::label(), gum::RangeVariable::label(), gum::prm::PRMAggregate< double >::label(), gum::prm::PRMType::label_map(), gum::credal::CredalNet< GUM_SCALAR >::lagrangeNormalization(), gum::prm::gspan::Pattern::lastAdded(), gum::learning::genericBNLearner::latentVariables(), gum::learning::genericBNLearner::learnMixedStructure(), gum::learning::GreedyHillClimbing::learnStructure(), gum::learning::LocalSearchWithTabuList::learnStructure(), gum::LinearApproximationPolicy< GUM_SCALAR >::LinearApproximationPolicy(), gum::ListConstIterator< Val >::ListConstIterator(), gum::ListConstIteratorSafe< Val >::ListConstIteratorSafe(), gum::learning::BNDatabaseGenerator< GUM_SCALAR >::log2likelihood(), gum::credal::lp::LpRow::LpRow(), gum::prm::PRMInference< double >::marginal(), gum::MarkovBlanket::MarkovBlanket(), gum::prm::gspan::DFSTree< GUM_SCALAR >::max_indep_set(), gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxInducedWidthMCBayesNetGenerator(), gum::learning::genericBNLearner::maxIter(), gum::Potential< GUM_SCALAR >::maxNonOne(), gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MaxParentsMCBayesNetGenerator(), gum::learning::genericBNLearner::maxTime(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::MCBayesNetGenerator(), gum::learning::genericBNLearner::minEpsilonRate(), gum::Potential< GUM_SCALAR >::minNonZero(), gum::MixedGraphListener::MixedGraphListener(), gum::MixedGraph::mixedOrientedPath(), gum::MixedGraph::mixedUnorientedPath(), gum::MultiDimNoisyAND< GUM_SCALAR >::MultiDimNoisyAND(), gum::learning::genericBNLearner::Database::nameFromId(), gum::ApproximationScheme::nbrIterations(), gum::learning::genericBNLearner::nbrIterations(), gum::credal::LRSWrapper< GUM_SCALAR >::nextHInput(), gum::prm::NameGenerator::nextName(), gum::OrderedEliminationSequenceStrategy::nextNodeToEliminate(), gum::DefaultEliminationSequenceStrategy::nextNodeToEliminate(), gum::DefaultPartialOrderedEliminationSequenceStrategy::nextNodeToEliminate(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::node(), gum::BayesNetFragment< GUM_SCALAR >::nodeId(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::nodeValue(), gum::Potential< GUM_SCALAR >::noising(), gum::Potential< GUM_SCALAR >::normalizeAsCPT(), gum::MultiDimDecorator< GUM_SCALAR >::notifyChange(), gum::NodeGraphPartIterator::operator*(), gum::RefPtr< Val >::operator*(), gum::ListConstIterator< Val >::operator*(), gum::HashTableConstIteratorSafe< const gum::DiscreteVariable *, Idx >::operator*(), gum::ListConstIteratorSafe< Val >::operator*(), gum::HashTableConstIterator< Key, bool >::operator*(), gum::credal::lp::LpExpr::operator+=(), gum::credal::lp::LpExpr::operator-=(), gum::RefPtr< Val >::operator->(), gum::ListConstIterator< Val >::operator->(), gum::ListConstIteratorSafe< Val >::operator->(), gum::learning::BNLearnerListener::operator=(), gum::prm::PRMFuncAttribute< GUM_SCALAR >::operator=(), gum::ApproximationSchemeListener::operator=(), gum::ProgressListener::operator=(), gum::learning::DAG2BNLearner< ALLOC >::operator=(), gum::DiGraphListener::operator=(), gum::UndiGraphListener::operator=(), gum::MultiDimBijArray< GUM_SCALAR >::operator=(), gum::prm::PRMFormAttribute< GUM_SCALAR >::operator=(), gum::prm::StructuredBayesBall< GUM_SCALAR >::operator=(), gum::prm::PRMParameter< double >::operator=(), gum::Instantiation::operator=(), gum::MixedGraphListener::operator=(), gum::prm::GroundedInference< GUM_SCALAR >::operator=(), gum::prm::PRMScalarAttribute< GUM_SCALAR >::operator=(), gum::prm::PRMReferenceSlot< double >::operator=(), gum::prm::gspan::InterfaceGraph< GUM_SCALAR >::operator=(), gum::prm::PRMSlotChain< double >::operator=(), gum::prm::PRMAggregate< double >::operator=(), gum::prm::PRMType::operator=(), gum::FMDPFactory< GUM_SCALAR >::operator=(), gum::prm::PRMClassElementContainer< double >::operator=(), gum::BayesNetFactory< GUM_SCALAR >::operator=(), gum::prm::PRMInstance< GUM_SCALAR >::operator=(), gum::BijectionImplementation< Idx, const std::string *, std::allocator< const std::string * >, std::is_scalar< Idx >::value &&std::is_scalar< const std::string * >::value >::operator=(), gum::SequenceImplementation< gum::prm::PRMClassElement< double > *, std::allocator< gum::prm::PRMClassElement< double > *>, std::is_scalar< gum::prm::PRMClassElement< double > *>::value >::operator=(), gum::PriorityQueueImplementation< NodeId, double, std::greater< double >, std::allocator< NodeId >, std::is_scalar< NodeId >::value >::operator=(), gum::PriorityQueueImplementation< NodeId, double, std::greater< double >, std::allocator< NodeId >, std::is_scalar< NodeId >::value >::operator[](), gum::Heap< Val, Cmp, Alloc >::operator[](), gum::MultiPriorityQueue< gum::LeafPair *, double, std::less< double > >::operator[](), gum::SplayTree< Element >::operator[](), gum::HashTableList< Val, Size, IndexAllocator >::operator[](), gum::List< const gum::Potential< GUM_SCALAR > * >::operator[](), gum::OrderedEliminationSequenceStrategy::OrderedEliminationSequenceStrategy(), gum::prm::PRMClass< double >::overload(), gum::prm::PRMInterface< double >::overload(), gum::prm::gspan::DFSTree< GUM_SCALAR >::parent(), gum::prm::gspan::DFSTree< GUM_SCALAR >::pattern(), gum::learning::genericBNLearner::periodSize(), gum::Heap< Val, Cmp, Alloc >::pop(), gum::PriorityQueueImplementation< NodeId, double, std::greater< double >, std::allocator< NodeId >, std::is_scalar< NodeId >::value >::pop(), gum::MultiPriorityQueue< gum::LeafPair *, double, std::less< double > >::pop(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::populate(), gum::MultiDimBijArray< GUM_SCALAR >::populate(), gum::MultiDimContainer< GUM_SCALAR >::populate(), gum::MultiDimDecorator< GUM_SCALAR >::populate(), gum::SequenceIteratorSafe< NodeId >::pos(), gum::MarginalTargetedInference< GUM_SCALAR >::posterior(), gum::Estimator< GUM_SCALAR >::posterior(), gum::FormulaPart::precedence(), gum::BayesNetInference< GUM_SCALAR >::prepareInference(), gum::PriorityQueueImplementation< NodeId, double, std::greater< double >, std::allocator< NodeId >, std::is_scalar< NodeId >::value >::priorityByPos(), gum::prm::PRMAggregate< double >::PRMAggregate(), gum::prm::PRMAttribute< double >::PRMAttribute(), gum::prm::PRMClassElementContainer< double >::PRMClassElementContainer(), gum::prm::PRMFormAttribute< GUM_SCALAR >::PRMFormAttribute(), gum::prm::PRMFuncAttribute< GUM_SCALAR >::PRMFuncAttribute(), gum::prm::PRMInstance< GUM_SCALAR >::PRMInstance(), gum::prm::PRMInterface< double >::PRMInterface(), gum::prm::PRMParameter< double >::PRMParameter(), gum::prm::PRMReferenceSlot< double >::PRMReferenceSlot(), gum::prm::PRMScalarAttribute< GUM_SCALAR >::PRMScalarAttribute(), gum::prm::PRMSlotChain< double >::PRMSlotChain(), gum::prm::PRMType::PRMType(), gum::ProgressListener::ProgressListener(), gum::DAGmodel::property(), gum::Potential< GUM_SCALAR >::putFirst(), gum::learning::readFile(), gum::prm::gspan::Pattern::remove(), gum::Instantiation::reorder(), gum::Potential< GUM_SCALAR >::reorganize(), gum::MultiDimInterface::replace(), gum::Formula::result(), gum::DAGCycleDetector::reverseArc(), gum::BayesNet< double >::reverseArc(), gum::FMDP< double >::reward(), gum::LinearApproximationPolicy< GUM_SCALAR >::safeFromExact(), gum::credal::CredalNet< GUM_SCALAR >::saveBNsMinMax(), gum::credal::InferenceEngine< GUM_SCALAR >::saveExpectations(), gum::credal::CNLoopyPropagation< GUM_SCALAR >::saveInference(), gum::credal::InferenceEngine< GUM_SCALAR >::saveMarginals(), gum::credal::InferenceEngine< GUM_SCALAR >::saveVertices(), gum::MultiDimReadOnly< GUM_SCALAR >::set(), gum::MultiDimBijArray< GUM_SCALAR >::set(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::set(), gum::prm::PRMFormAttribute< GUM_SCALAR >::setAsCastDescendant(), gum::prm::PRMScalarAttribute< GUM_SCALAR >::setAsCastDescendant(), gum::SequenceImplementation< gum::prm::PRMClassElement< double > *, std::allocator< gum::prm::PRMClassElement< double > *>, std::is_scalar< gum::prm::PRMClassElement< double > *>::value >::setAtPos(), gum::MultiDimArray< GUM_SCALAR >::setByOffset(), gum::prm::PRMFactory< GUM_SCALAR >::setCPFByFloatRule(), gum::prm::PRMFactory< GUM_SCALAR >::setCPFByRule(), gum::credal::CredalNet< GUM_SCALAR >::setCPT(), gum::credal::CredalNet< GUM_SCALAR >::setCPTs(), gum::setDynamicThreadsNumber(), gum::ApproximationScheme::setEpsilon(), gum::EliminationSequenceStrategy::setGraph(), gum::LinearApproximationPolicy< GUM_SCALAR >::setHighLimit(), gum::prm::PRMClassElementContainer< double >::setInputNode(), gum::LinearApproximationPolicy< GUM_SCALAR >::setLimits(), gum::LinearApproximationPolicy< GUM_SCALAR >::setLowLimit(), gum::IBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::setMaxArcs(), gum::ApproximationScheme::setMaxIter(), gum::MaxInducedWidthMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::setMaxlog10InducedWidth(), gum::IBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::setMaxModality(), gum::MaxParentsMCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::setMaxParents(), gum::ApproximationScheme::setMaxTime(), gum::ApproximationScheme::setMinEpsilonRate(), gum::IBayesNetGenerator< GUM_SCALAR, ICPTGenerator >::setNbrNodes(), gum::setNestedParallelism(), gum::setNumberOfThreads(), gum::prm::PRMClassElementContainer< double >::setOutputNode(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::setP(), gum::ApproximationScheme::setPeriodSize(), gum::PriorityQueueImplementation< NodeId, double, std::greater< double >, std::allocator< NodeId >, std::is_scalar< NodeId >::value >::setPriorityByPos(), gum::MultiPriorityQueue< gum::LeafPair *, double, std::less< double > >::setPriorityByPos(), gum::MCBayesNetGenerator< GUM_SCALAR, ICPTGenerator, ICPTDisturber >::setQ(), gum::prm::PRMFactory< GUM_SCALAR >::setRawCPFByColumns(), gum::prm::PRMFactory< GUM_SCALAR >::setRawCPFByFloatColumns(), gum::prm::PRMFactory< GUM_SCALAR >::setRawCPFByFloatLines(), gum::prm::PRMFactory< GUM_SCALAR >::setRawCPFByLines(), gum::prm::PRMFactory< GUM_SCALAR >::setReferenceSlot(), gum::MultiDimFunctionGraphManager< bool, ExactTerminalNodePolicy >::setSon(), gum::prm::PRMType::setSuper(), gum::credal::LRSWrapper< GUM_SCALAR >::setUpH(), gum::credal::LRSWrapper< GUM_SCALAR >::setUpV(), gum::Instantiation::setValsFrom(), gum::BayesNetFactory< GUM_SCALAR >::setVariable(), gum::BayesNetFactory< GUM_SCALAR >::setVariableCPT(), gum::BayesNetFactory< GUM_SCALAR >::setVariableCPTImplementation(), gum::BayesNetFactory< GUM_SCALAR >::setVariableValues(), gum::learning::BNDatabaseGenerator< GUM_SCALAR >::setVarOrder(), gum::SpanningForestPrim::SpanningForestPrim(), gum::SplayTree< Element >::split_by_val(), gum::prm::PRMFactory< GUM_SCALAR >::startAggregator(), gum::prm::PRMFactory< GUM_SCALAR >::startClass(), gum::prm::PRMFactory< GUM_SCALAR >::startDiscreteType(), gum::prm::PRMFactory< GUM_SCALAR >::startDiscretizedType(), gum::prm::PRMFactory< GUM_SCALAR >::startInterface(), gum::prm::PRMFactory< GUM_SCALAR >::startSystem(), gum::learning::genericBNLearner::stateApproximationScheme(), gum::FormulaPart::str(), gum::prm::PRMAggregate< double >::str2enum(), gum::prm::StructuredBayesBall< GUM_SCALAR >::StructuredBayesBall(), gum::prm::PRMInterface< double >::super(), gum::prm::PRMClass< double >::super(), gum::prm::PRMType::superType(), gum::prm::PRMFormAttribute< GUM_SCALAR >::swap(), gum::prm::PRMScalarAttribute< GUM_SCALAR >::swap(), gum::Instantiation::synchronizeWithMaster(), gum::learning::BNDatabaseGenerator< GUM_SCALAR >::toCSV(), gum::learning::BNDatabaseGenerator< GUM_SCALAR >::toDatabaseTable(), gum::Heap< Val, Cmp, Alloc >::top(), gum::PriorityQueueImplementation< NodeId, double, std::greater< double >, std::allocator< NodeId >, std::is_scalar< NodeId >::value >::top(), gum::MultiPriorityQueue< gum::LeafPair *, double, std::less< double > >::top(), gum::PriorityQueueImplementation< NodeId, double, std::greater< double >, std::allocator< NodeId >, std::is_scalar< NodeId >::value >::topPriority(), gum::MultiPriorityQueue< gum::LeafPair *, double, std::less< double > >::topPriority(), gum::learning::GraphChange::toString(), gum::FMDP< double >::transition(), gum::IncrementalTriangulation::triangulatedGraph(), gum::prm::PRMParameter< double >::type(), gum::prm::PRMReferenceSlot< double >::type(), gum::UndiGraphListener::UndiGraphListener(), gum::EdgeGraphPart::undirectedPath(), gum::learning::genericBNLearner::useAprioriBDeu(), gum::learning::genericBNLearner::useAprioriDirichlet(), gum::learning::genericBNLearner::useAprioriSmoothing(), gum::learning::genericBNLearner::useCrossValidationFold(), gum::learning::genericBNLearner::useMDL(), gum::learning::genericBNLearner::useNML(), gum::learning::genericBNLearner::useNoCorr(), gum::credal::LRSWrapper< GUM_SCALAR >::V2H(), gum::Instantiation::val(), gum::HashTableConstIteratorSafe< const gum::DiscreteVariable *, Idx >::val(), gum::HashTableConstIterator< Key, bool >::val(), gum::HashTableIterator< int, int >::val(), gum::FMDPFactory< GUM_SCALAR >::variable(), gum::BayesNetFactory< GUM_SCALAR >::variable(), gum::BayesNetFragment< GUM_SCALAR >::variable(), gum::MultiDimImplementation< std::string >::variable(), gum::Instantiation::variable(), gum::BayesNetFragment< GUM_SCALAR >::variableFromName(), gum::BayesNetFactory< GUM_SCALAR >::variableId(), gum::FMDPFactory< GUM_SCALAR >::variableName(), gum::BayesNetFactory< GUM_SCALAR >::variableName(), gum::prm::InstanceBayesNet< GUM_SCALAR >::variableNodeMap(), gum::prm::ClassBayesNet< GUM_SCALAR >::variableNodeMap(), gum::BayesNetFragment< GUM_SCALAR >::variableNodeMap(), gum::MultiDimFunctionGraph< bool, ExactTerminalNodePolicy >::varNodeListe(), and gum::learning::genericBNLearner::verbosity().

◆ GUM_ERROR_IN_EXPR

#define GUM_ERROR_IN_EXPR (   type,
  msg 
)    throw(type(msg))

Definition at line 39 of file exceptions.h.

◆ GUM_MAKE_ERROR

#define GUM_MAKE_ERROR (   TYPE,
  SUPERCLASS,
  MSG 
)
Value:
class TYPE : public SUPERCLASS { \
public: \
TYPE(std::string aMsg, std::string aType = MSG) : SUPERCLASS(aMsg, aType){}; \
TYPE(const TYPE& src) : SUPERCLASS(src){}; \
};

Definition at line 87 of file exceptions.h.

◆ GUM_SHOWERROR

◆ GUM_SYNTAX_ERROR

#define GUM_SYNTAX_ERROR (   msg,
  line,
  column 
)
Value:
{ \
std::ostringstream __error__str; \
__error__str << msg; \
throw(gum::SyntaxError(__error__str.str(), line, column)); \
}

Definition at line 94 of file exceptions.h.